X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..ca6c45b23dd2a583dabbf8567f23657d310eb0b0:/wxPython/demo/Layoutf.py diff --git a/wxPython/demo/Layoutf.py b/wxPython/demo/Layoutf.py index bc25c3aeef..fcf059819b 100644 --- a/wxPython/demo/Layoutf.py +++ b/wxPython/demo/Layoutf.py @@ -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)