X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61c5a8acbe5d198708507dfc2789b8985d0c55c4..49bffb1482cd2a6a30b38280f6c9bffc72dbfe42:/wxPython/src/_event.i diff --git a/wxPython/src/_event.i b/wxPython/src/_event.i index f75e41cd95..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) @@ -991,6 +987,8 @@ enum wxUpdateUIMode wxUPDATE_UI_PROCESS_SPECIFIED }; + + class wxUpdateUIEvent : public wxCommandEvent { public: @@ -1030,7 +1028,6 @@ public: static wxUpdateUIMode GetMode(); }; - //--------------------------------------------------------------------------- %newgroup; @@ -1184,6 +1181,7 @@ enum wxIdleMode wxIDLE_PROCESS_SPECIFIED }; + class wxIdleEvent : public wxEvent { public: @@ -1213,7 +1211,7 @@ public: class wxPyEvent : public wxEvent { public: - %addtofunc wxPyEvent "self.SetSelf(self)" + %pythonAppend wxPyEvent "self.SetSelf(self)" wxPyEvent(int winid=0, wxEventType commandType = wxEVT_NULL ); ~wxPyEvent(); @@ -1225,7 +1223,7 @@ public: class wxPyCommandEvent : public wxCommandEvent { public: - %addtofunc wxPyCommandEvent "self.SetSelf(self)" + %pythonAppend wxPyCommandEvent "self.SetSelf(self)" wxPyCommandEvent(wxEventType commandType = wxEVT_NULL, int id=0); ~wxPyCommandEvent();