X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce1522a1f20cbbf6be1dda237304e364d98f7902..28e88942bc2c9db6ae9a8ef59545d446eefea5fb:/wxPython/demo/Dialog.py diff --git a/wxPython/demo/Dialog.py b/wxPython/demo/Dialog.py index 7bb49f85bc..4c75b19c5b 100644 --- a/wxPython/demo/Dialog.py +++ b/wxPython/demo/Dialog.py @@ -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()