X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc9204a4a057b41b30653bb28cb8692f18df7bf..c8431295224c1efb2f2cd22df468a9f1950a2e16:/wxPython/src/_event.i diff --git a/wxPython/src/_event.i b/wxPython/src/_event.i index 6e8de85b91..877fab6d12 100644 --- a/wxPython/src/_event.i +++ b/wxPython/src/_event.i @@ -450,7 +450,8 @@ public: // Get checkbox value bool IsChecked() const; - + %pythoncode { Checked = IsChecked } + // True if the listbox event was a selection. bool IsSelection() const; @@ -699,11 +700,11 @@ public: %extend { int GetUniChar() { - #if wxUSE_UNICODE + %#if wxUSE_UNICODE return self->m_uniChar; - #else + %#else return 0; - #endif + %#endif } } @@ -990,6 +991,8 @@ enum wxUpdateUIMode wxUPDATE_UI_PROCESS_SPECIFIED }; + + class wxUpdateUIEvent : public wxCommandEvent { public: @@ -1029,7 +1032,6 @@ public: static wxUpdateUIMode GetMode(); }; - //--------------------------------------------------------------------------- %newgroup; @@ -1183,6 +1185,7 @@ enum wxIdleMode wxIDLE_PROCESS_SPECIFIED }; + class wxIdleEvent : public wxEvent { public: