]> git.saurik.com Git - wxWidgets.git/commitdiff
properties fixes for Mac
authorRobin Dunn <robin@alldunn.com>
Sat, 2 Sep 2006 22:11:22 +0000 (22:11 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 2 Sep 2006 22:11:22 +0000 (22:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_combobox.i
wxPython/src/_listbox.i
wxPython/src/mac/_controls.py

index ad99e2eb263f664828b044f8984ad510b14db905..f5d68f6982f4bc92d40ecacf25989e6dae853616 100644 (file)
@@ -164,7 +164,13 @@ combobox text field.", "");
         "Gets the positions of the begining and ending of the selection mark in
 the combobox text field.", "",
         GetMark);
+#else
+    %pythoncode {
+        def GetMark(self):
+            raise NotImplementedError
+    }
 #endif
+    
 
     DocDeclStr(
         int , GetCurrentSelection() const,
index 4a0be69b3ea9763cf2e6a861f7e0d599504148c9..df526d3c42b8f83d02ccd2c3c471c01b9e29b62f 100644 (file)
@@ -205,6 +205,11 @@ public:
 
 #if defined(__WXMSW__) || defined(__WXGTK__)
     int GetItemHeight();
+#else
+    %pythoncode {
+        def GetItemHeight(self):
+            raise NotImplementedError
+    }
 #endif
 
     %property(ItemHeight, GetItemHeight, doc="See `GetItemHeight`");
index a90166bd4f24ebe9a5f2bd55b5bf0d26bfc964b9..0243c5a3021b7ec22400b63e23dd7488f7b18347 100644 (file)
@@ -677,6 +677,9 @@ class ComboBox(_core.Control,_core.ItemContainer):
         """
         return _controls_.ComboBox_SetMark(*args, **kwargs)
 
+    def GetMark(self):
+        raise NotImplementedError
+
     def GetCurrentSelection(*args, **kwargs):
         """
         GetCurrentSelection(self) -> int
@@ -1454,6 +1457,9 @@ class CheckListBox(ListBox):
         """Check(self, unsigned int index, int check=True)"""
         return _controls_.CheckListBox_Check(*args, **kwargs)
 
+    def GetItemHeight(self):
+        raise NotImplementedError
+
     ItemHeight = property(GetItemHeight,doc="See `GetItemHeight`") 
 _controls_.CheckListBox_swigregister(CheckListBox)