X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc9204a4a057b41b30653bb28cb8692f18df7bf..156194e1d525407e90c21552f8f7aa05756e0ddc:/wxPython/src/_event.i diff --git a/wxPython/src/_event.i b/wxPython/src/_event.i index 6e8de85b91..f75e41cd95 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 } }