Commit Graph

10 Commits

Author SHA1 Message Date
Mesalu
3bf04aa771 Add iterability to sizer classes and corresponding unittest 2018-02-08 21:25:49 -08:00
Metallicow
9568103974 Trim trailing space unittests directory 2016-12-05 16:19:11 -06: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
4b2fc7f330 Add __nonzero__ for wx.Sizer. Closes #15470
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@77978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-08 04:33:51 +00:00
Robin Dunn
09be7d166b Add test for wx.FlexGridSizer.GetColWidths and GetRowHeights
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-10 05:39:42 +00:00
Robin Dunn
ccaf7dccd6 Test for missing SetOrientation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:24 +00:00
Robin Dunn
eb0cbeeeff Ensure that items returned by GetChildren are the right type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:15 +00:00
Robin Dunn
d0d0f7b8e5 Allow spacers to be set as a wx.Size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-11 04:25:25 +00:00
Robin Dunn
987e39ae45 Lots of updates for Sizers:
* Add wxStaticBoxSizer
* Add the AddMany and other convenience methods from Classic
* properly handle the userData args for the sizer methods too
* some refactoring
* Add unittests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-31 23:53:58 +00:00