]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Layoutf.py
doc tweaks, typo fixed, etc.
[wxWidgets.git] / wxPython / demo / Layoutf.py
index bc25c3aeef09f154af67ea9508b1df7cd76c909e..fcf059819ba20a9a490defd37bdd73e93df9c40e 100644 (file)
@@ -18,7 +18,7 @@ class TestLayoutf(wx.Panel):
         wx.Panel.__init__(self, parent, -1)
 
         self.SetAutoLayout(True)
-        self.Bind(EVT_BUTTON, self.OnButton, id=ID_Button)
+        self.Bind(wx.EVT_BUTTON, self.OnButton, id=ID_Button)
 
         self.panelA = wx.Window(self, -1, style=wx.SIMPLE_BORDER)
         self.panelA.SetBackgroundColour(wx.BLUE)