]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/MultipleChoiceDialog.py
Changed CanApplyParentThemeBackground to ApplyParentThemeBackground
[wxWidgets.git] / wxPython / demo / MultipleChoiceDialog.py
index e354d280707a01cbc8be3788ec2c134f94a16d9e..831a054d1995ed205141d931de7cfd7eff4eccd4 100644 (file)
@@ -1,15 +1,3 @@
-# 11/20/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-# 
-# 11/30/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o wx renamer not applied to lib.
-# 
-# 12/18/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o wxMultipleChoiceDialog -> MultipleChoiceDialog
-# 
 
 import  wx
 import  wx.lib.dialogs
@@ -40,7 +28,7 @@ This is a Python implementation of a dialog that is not yet implemented in wxWin
 proper, so don't let the wxWindows documentation mislead you.
 
 <p><code><b>MultipleChoiceDialog</b>(self, parent, msg, title, lst, 
-pos = wx.wxDefaultPosition, size = (200,200), style = wx.wxDEFAULT_DIALOG_STYLE)
+pos = wx.wxDefaultPosition, size = (200,200), style = wx.DEFAULT_DIALOG_STYLE)
 </code>
 
 <dl>
@@ -89,4 +77,4 @@ methods applicable to that class.
 if __name__ == '__main__':
     import sys,os
     import run
-    run.main(['', os.path.basename(sys.argv[0])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])