X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c7d17924a3a1f710ce2728bb0e09bdb66387471..42d0aa30b801d8c2ea7cd16a2a191bec4fbfa876:/wxPython/demo/Main.py?ds=sidebyside diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 7dfe9cb2f7..e1a23d9fce 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -437,7 +437,7 @@ class wxPythonDemo(wx.Frame): if wx.Platform != '__WXMAC__': # setup a taskbar icon, and catch some events from it - dim = 16 # (may want to use 22 on wxGTK...) + dim = 16 # (may want to use 22 on wxGTK, but 16b looks okay too) icon = wx.IconFromBitmap( images.getMondrianImage().Scale(dim,dim).ConvertToBitmap() ) #icon = wx.Icon('bmp_source/mondrian.ico', wx.BITMAP_TYPE_ICO) @@ -918,6 +918,9 @@ class MyApp(wx.App): the main frame when it is time to do so. """ + # For debugging + #self.SetAssertMode(wx.PYAPP_ASSERT_DIALOG) + # Normally when using a SplashScreen you would create it, show # it and then continue on with the applicaiton's # initialization, finally creating and showing the main