X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f70ec5b8f7bad48482a411256ed88ac461a8e18d..8145496b9bd1cbccf7411c5e76f72a9dfc7ebf1b:/wxPython/demo/Dialog.py diff --git a/wxPython/demo/Dialog.py b/wxPython/demo/Dialog.py index 2ef15a0f49..4c75b19c5b 100644 --- a/wxPython/demo/Dialog.py +++ b/wxPython/demo/Dialog.py @@ -5,7 +5,7 @@ import wx # Create and set a help provider. Normally you would do this in # the app's OnInit as it must be done before any SetHelpText calls. provider = wx.SimpleHelpProvider() -wx.HelpProvider_Set(provider) +wx.HelpProvider.Set(provider) #--------------------------------------------------------------------------- @@ -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()