Only catch double click on wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2002-06-07 05:39:15 +00:00
parent 4562f6852f
commit 1b7a14e44d

View File

@ -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)