]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxScrolledMessageDialog.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / demo / wxScrolledMessageDialog.py
index 210e0e16a9e96ca88bdf71b0ea8e26b1b5bbd8f7..a9715c6af2fe92e0af5794c54a9f05cf81286f86 100644 (file)
@@ -8,7 +8,6 @@ def runTest(frame, nb, log):
     f = open("Main.py", "r")
     msg = f.read()
     dlg = wxScrolledMessageDialog(frame, msg, "message test")
-    dlg.CenterOnScreen(wxBOTH)
     dlg.ShowModal()
 
 #---------------------------------------------------------------------------
@@ -18,8 +17,14 @@ def runTest(frame, nb, log):
 
 
 
+overview = """\
+"""
 
 
 
-overview = """\
-"""
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])