]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_listbox.i
Adding overview docs and a couple tweaks to the demo.
[wxWidgets.git] / wxPython / src / _listbox.i
index 5f9005b7e9293c6c5e9a8629dd8bd3242a37a0e4..22960358a414391897da15b7b96abe01681b036c 100644 (file)
@@ -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`");
 };
 
 //---------------------------------------------------------------------------