Commit Graph

10 Commits

Author SHA1 Message Date
Robin Dunn
52facb4d7f Add a GetIM() method to Colour, Point, Size, Rect and other ‘value’ types.
GetIM() returns a replicant of the original object that is immutable, so it can be used as a dictionary key, or etc., but still gives access to the properties by name, which using the Get() method to get a tuple of the values does not do.
2017-04-14 19:19:26 -07:00
Metallicow
9568103974 Trim trailing space unittests directory 2016-12-05 16:19:11 -06:00
Robin Dunn
baa26c88d4 Add missing methods in wxGridCellAttr, update etg and tests too. 2016-09-02 21:01:40 -07:00
Robin Dunn
bb01dc0d7f Use absolute import of wtc in the unittest modules, instead of depending on them being run as __main__ and getting the folder on the sys.path by default. 2016-06-30 16:49:19 -07:00
Robin Dunn
4f38ee259d Remove imp_unittest 2016-05-07 19:16:28 -07:00
Robin Dunn
55c21ec895 Add test for wx.grid.Grid.SetCellHighlightPenWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-02 00:13:53 +00:00
Robin Dunn
ad00674de2 Fix virtual catcher for EndEdit.
Fix ownership transfer for wxGridCellAttr.SetEditor and SetRenderer.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 02:34:41 +00:00
Robin Dunn
d9f802f384 Fix EndEdit to use the newvalue/None as the return value instead of bool and a parameter pass-through.
Add first grid sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:59 +00:00
Robin Dunn
31a7a477b3 More tweaks and unittests for the wx.grid classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:48 +00:00
Robin Dunn
0784c3cc09 First pass at adding wxGrid and related classes. It all compiles, but there is still lots more to do.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:14 +00:00