X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffb4a474d3b1b1adce9d461b3ef0babd11b1028d..6a6c9417a880900ac40ce031d2aa4a19658171e9:/wxPython/src/_listbox.i?ds=sidebyside 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`"); }; //---------------------------------------------------------------------------