X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..dae0faa6be08c5bb5635fd464b695ac8bb8f2b8d:/wxPython/demo/wxArtProvider.py diff --git a/wxPython/demo/wxArtProvider.py b/wxPython/demo/wxArtProvider.py index a71c1ad062..02b326680e 100644 --- a/wxPython/demo/wxArtProvider.py +++ b/wxPython/demo/wxArtProvider.py @@ -126,9 +126,9 @@ class TestPanel(wx.Panel): self.Bind(wx.EVT_COMBOBOX, self.OnSelectID, combo) combo.Select(0) - cb = wxCheckBox(self, -1, "Use custom provider") + cb = wx.CheckBox(self, -1, "Use custom provider") fgs.Add(cb, 0, wx.ALIGN_CENTRE|wx.ALL, 5) - self.Bind(EVT_CHECKBOX, self.OnUseCustom, cb) + self.Bind(wx.EVT_CHECKBOX, self.OnUseCustom, cb) fgs.Add((10, 10), 0, wx.ALIGN_CENTRE|wx.ALL, 5) fgs.Add((10, 10), 0, wx.ALIGN_CENTRE|wx.ALL, 5)