X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..60e424abd6a8a65837cda8fa98eee592a5da2678:/wxPython/demo/FontDialog.py diff --git a/wxPython/demo/FontDialog.py b/wxPython/demo/FontDialog.py index 2135c491f1..879957544f 100644 --- a/wxPython/demo/FontDialog.py +++ b/wxPython/demo/FontDialog.py @@ -1,7 +1,3 @@ -# 11/18/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx @@ -16,8 +12,6 @@ class TestPanel(wx.Panel): self.Bind(wx.EVT_BUTTON, self.OnSelectFont, btn) self.sampleText = wx.TextCtrl(self, -1, "Sample Text") - #from wxPython.lib.stattext import wxGenStaticText - #self.sampleText = wxGenStaticText(self, -1, "Sample Text") self.curFont = self.sampleText.GetFont() self.curClr = wx.BLACK @@ -140,5 +134,5 @@ to APPLY that information once you get it. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])