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