X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..b881fc787d2823bdd8a415080b82feee90804a17:/wxPython/demo/Layoutf.py?ds=inline 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)