X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9f7fea29e3f8bb61861f52984b7943512346ac..3798e298a412c4bc05b5aa83507b3c251dd36233:/wxPython/src/_event.i?ds=sidebyside diff --git a/wxPython/src/_event.i b/wxPython/src/_event.i index f7c2901c95..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 } } @@ -963,11 +964,7 @@ public: } for (int i=0; i