]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
Now shows author correctly under MacOS X
[wxWidgets.git] / wxPython / demo / Main.py
index 4cc8d92819671b7bd8da522ab6480b72be2128aa..e5b804fc3d9492607686ed1b6cc70e46ba308b68 100644 (file)
@@ -15,6 +15,8 @@ import sys, os, time, string
 from   wxPython.wx import *
 from   wxPython.html import wxHtmlWindow
 
+from wxPython.stc import *
+
 import images
 
 #---------------------------------------------------------------------------
@@ -628,7 +630,7 @@ def main():
         os.chdir(demoPath)
     except:
         pass
-    app = MyApp(0)
+    app = MyApp(wxPlatform == "__WXMAC__")
     app.MainLoop()