X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0eae5d09992c634488c5be14d5a378d6e1dedb71..30e24d9dd5a5abf1c9a375ea259eb239b122b7f7:/wxPython/src/_listbox.i?ds=sidebyside diff --git a/wxPython/src/_listbox.i b/wxPython/src/_listbox.i index 4a0be69b3e..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,6 +207,11 @@ public: #if defined(__WXMSW__) || defined(__WXGTK__) int GetItemHeight(); +#else + %pythoncode { + def GetItemHeight(self): + raise NotImplementedError + } #endif %property(ItemHeight, GetItemHeight, doc="See `GetItemHeight`");