Change how/when the app object is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -115,6 +115,10 @@ def main(args):
|
||||
print __doc__
|
||||
return
|
||||
|
||||
# some bitmap related things need to have a wxApp initialized...
|
||||
if wx.wxGetApp() is None:
|
||||
app = wx.wxPySimpleApp()
|
||||
|
||||
append = 0
|
||||
compressed = 1
|
||||
maskClr = None
|
||||
|
Reference in New Issue
Block a user