]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxDialog.py
cleaned up the checkbox creation code (~70 lines of code became 3)
[wxWidgets.git] / wxPython / demo / wxDialog.py
index a46db261194f6d4aa0965523487657bfd2fbc4e9..8d614756e15a66835ddad75ffd546ec0cf74cc4e 100644 (file)
@@ -4,7 +4,7 @@ from wxPython.wx import *
 #---------------------------------------------------------------------------
 
 def runTest(frame, nb, log):
 #---------------------------------------------------------------------------
 
 def runTest(frame, nb, log):
-    win = wxDialog(frame, -1, "This is a wxDialog", size=wxSize(350, 200))
+    win = wxDialog(frame, -1, "This is a wxDialog", size=wxSize(350, 200), style=wxCAPTION)
 
     sizer = wxBoxSizer(wxVERTICAL)
 
 
     sizer = wxBoxSizer(wxVERTICAL)