]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/KeyEvents.py
fixed compile error
[wxWidgets.git] / wxPython / demo / KeyEvents.py
index 05b4a2c1a564c5bd29dbd2b4b87f351747e0f075..b1e87002263fb659f6d29a6358940c127814879d 100644 (file)
@@ -265,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.SetSizeHints((100, 65))
         self.keylog = KeyLog(self)
 
         btn = wx.Button(self, -1, "Clear Log")