]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Dialog.py
merge from 2.8 branch
[wxWidgets.git] / wxPython / demo / Dialog.py
index 7bb49f85bc8fc8d466c56f49fc2661d744509a49..4c75b19c5bc7d94680eac1d376cd6d3e1462a6b6 100644 (file)
@@ -110,8 +110,8 @@ class TestPanel(wx.Panel):
             useMetal = self.cb.IsChecked()
             
         dlg = TestDialog(self, -1, "Sample Dialog", size=(350, 200),
-                         #style=wxCAPTION | wxSYSTEM_MENU | wxTHICK_FRAME,
-                         style=wx.DEFAULT_DIALOG_STYLE,
+                         #style=wx.CAPTION | wx.SYSTEM_MENU | wx.THICK_FRAME,
+                         style=wx.DEFAULT_DIALOG_STYLE, # & ~wx.CLOSE_BOX,
                          useMetal=useMetal,
                          )
         dlg.CenterOnScreen()