]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxCalendar.py
Fixed "" default value
[wxWidgets.git] / wxPython / demo / wxCalendar.py
index 3b8499d7ce85f77227b6f58aa62c16ef72d23b9c..f2d5c7057a3e78198f1ac6e4080891d23e1babfd 100644 (file)
@@ -481,7 +481,7 @@ class PrintCalend:
 
                 year, month = self.IncMonth(year, month)
                 y = y + 3.5
-            x = x + 4.0     # next colum
+            x = x + 4.0     # next column
 
         DC.EndDrawing()
 
@@ -612,17 +612,6 @@ def MessageDlg(self, message, type = 'Message'):
 
 #---------------------------------------------------------------------------
 
-def main():
-    app = MyApp(0)
-    app.MainLoop()
-
-
-if __name__ == '__main__':
-    main()
-
-
-#---------------------------------------------------------------------------
-
 def runTest(frame, nb, log):
     win = TestPanel(nb, log, frame)
     return win
@@ -640,3 +629,12 @@ See example for various methods used to set display month, year, and highlighted
 by Lorne White
 
 """
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
+