Progress
- First steps in wxPython
- Menus and toolbars
- Layout management
- wxPython events
- wxPython dialogs
- wxPython widgets
- Advanced widgets
- Drag and drop
- Graphics
- Custom widgets
- Skeletons
- The Tetris game
wx.ArtProvider.GetBitmap(wx.ART_GO_HOME)
=> Set the bitmap, the
previous defaults don't work anymore. More info here
Apparently this got superseded by wx.ListCtrl
which now has an
wx.EnableCheckBoxes
function. More info in the
docs. This
is also in the readme for advanced
widgets.
Functions that draw things are capitalized in wxPython
. This means
MyFrame(None).InitUI(...)
not MyFrame(None.initUI(...)
.
You probably forgot to set the parent to None
for the top level frame
wx._core.wxAssertionError: C++ assertion ""m_widget"" failed at ... in DoSetSize(): invalid frame
Did you make sure its AddGrowableRow
or AddGrowableCol
as you
required? These are easy to mix up.