diff --git a/wxPython/wxPython/lib/buttons.py b/wxPython/wxPython/lib/buttons.py index 3098dc6590..c0e6dfb8f0 100644 --- a/wxPython/wxPython/lib/buttons.py +++ b/wxPython/wxPython/lib/buttons.py @@ -79,7 +79,8 @@ class wxGenButton(wxPyControl): EVT_LEFT_DOWN(self, self.OnLeftDown) EVT_LEFT_UP(self, self.OnLeftUp) - EVT_LEFT_DCLICK(self, self.OnLeftDown) + if wxPlatform == '__WXMSW__': + EVT_LEFT_DCLICK(self, self.OnLeftDown) EVT_MOTION(self, self.OnMotion) EVT_SET_FOCUS(self, self.OnGainFocus) EVT_KILL_FOCUS(self, self.OnLoseFocus)