X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffb4a474d3b1b1adce9d461b3ef0babd11b1028d..30e24d9dd5a5abf1c9a375ea259eb239b122b7f7:/wxPython/src/_listbox.i diff --git a/wxPython/src/_listbox.i b/wxPython/src/_listbox.i index 5f9005b7e9..22960358a4 100644 --- a/wxPython/src/_listbox.i +++ b/wxPython/src/_listbox.i @@ -165,6 +165,8 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + %property(Selections, GetSelections, doc="See `GetSelections`"); }; @@ -205,7 +207,14 @@ public: #if defined(__WXMSW__) || defined(__WXGTK__) int GetItemHeight(); +#else + %pythoncode { + def GetItemHeight(self): + raise NotImplementedError + } #endif + + %property(ItemHeight, GetItemHeight, doc="See `GetItemHeight`"); }; //---------------------------------------------------------------------------