X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9f7fea29e3f8bb61861f52984b7943512346ac..52f52ebc4e0be6a9899d328b08db9eb14629d219:/wxPython/src/_event.i?ds=sidebyside diff --git a/wxPython/src/_event.i b/wxPython/src/_event.i index f7c2901c95..115650bc6d 100644 --- a/wxPython/src/_event.i +++ b/wxPython/src/_event.i @@ -314,10 +314,6 @@ EVT_COMMAND_SCROLL_THUMBTRACK = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1) EVT_COMMAND_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE, 1) EVT_COMMAND_SCROLL_ENDSCROLL = wx.PyEventBinder( wxEVT_SCROLL_ENDSCROLL, 1) -EVT_SPIN_UP = wx.PyEventBinder( wxEVT_SCROLL_LINEUP, 1) -EVT_SPIN_DOWN = wx.PyEventBinder( wxEVT_SCROLL_LINEDOWN, 1) -EVT_SPIN = wx.PyEventBinder( wxEVT_SCROLL_THUMBTRACK, 1) - EVT_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_BUTTON_CLICKED, 1) EVT_CHECKBOX = wx.PyEventBinder( wxEVT_COMMAND_CHECKBOX_CLICKED, 1) EVT_CHOICE = wx.PyEventBinder( wxEVT_COMMAND_CHOICE_SELECTED, 1) @@ -450,7 +446,8 @@ public: // Get checkbox value bool IsChecked() const; - + %pythoncode { Checked = IsChecked } + // True if the listbox event was a selection. bool IsSelection() const; @@ -699,11 +696,11 @@ public: %extend { int GetUniChar() { - #if wxUSE_UNICODE + %#if wxUSE_UNICODE return self->m_uniChar; - #else + %#else return 0; - #endif + %#endif } } @@ -963,11 +960,7 @@ public: } for (int i=0; i