X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..52f52ebc4e0be6a9899d328b08db9eb14629d219:/wxPython/demo/Dialog.py diff --git a/wxPython/demo/Dialog.py b/wxPython/demo/Dialog.py index 263c2cfb50..3c4fb71721 100644 --- a/wxPython/demo/Dialog.py +++ b/wxPython/demo/Dialog.py @@ -1,7 +1,3 @@ -# 11/15/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx @@ -19,7 +15,7 @@ class TestDialog(wx.Dialog): style=wx.DEFAULT_DIALOG_STYLE ): - # Instead of calling wxDialog.__init__ we precreate the dialog + # Instead of calling wx.Dialog.__init__ we precreate the dialog # so we can set an extra style that must be set before # creation, and then we create the GUI dialog using the Create # method. @@ -36,7 +32,7 @@ class TestDialog(wx.Dialog): # contents sizer = wx.BoxSizer(wx.VERTICAL) - label = wx.StaticText(self, -1, "This is a wxDialog") + label = wx.StaticText(self, -1, "This is a wx.Dialog") label.SetHelpText("This is the help text for the label") sizer.Add(label, 0, wx.ALIGN_CENTRE|wx.ALL, 5)