X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..c4c3e30f2eb4b6771869d1661c32e0b732a6874a:/wxPython/demo/KeyEvents.py?ds=inline diff --git a/wxPython/demo/KeyEvents.py b/wxPython/demo/KeyEvents.py index c992865219..611c51f76e 100644 --- a/wxPython/demo/KeyEvents.py +++ b/wxPython/demo/KeyEvents.py @@ -1,15 +1,3 @@ -# 11/19/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# -# 11/29/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o lib.mixins.listctrl needs wx renamer applied. -# -# 12/21/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o wxListCtrlAutoWidthMixin -> ListCtrlAutoWidthMixin -# import wx import wx.lib.mixins.listctrl as listmix @@ -277,7 +265,7 @@ class TestPanel(wx.Panel): self.log = log wx.Panel.__init__(self, parent, -1, style=0) self.keysink = KeySink(self) - self.keysink.SetSize((100, 65)) + self.keysink.SetMinSize((100, 65)) self.keylog = KeyLog(self) btn = wx.Button(self, -1, "Clear Log") @@ -353,5 +341,5 @@ It is meant to be used as a compatibility test for cross platform work. 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:])