properties fixes for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,8 +164,14 @@ combobox text field.", "");
|
|||||||
"Gets the positions of the begining and ending of the selection mark in
|
"Gets the positions of the begining and ending of the selection mark in
|
||||||
the combobox text field.", "",
|
the combobox text field.", "",
|
||||||
GetMark);
|
GetMark);
|
||||||
|
#else
|
||||||
|
%pythoncode {
|
||||||
|
def GetMark(self):
|
||||||
|
raise NotImplementedError
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
int , GetCurrentSelection() const,
|
int , GetCurrentSelection() const,
|
||||||
"Unlike `GetSelection` which only returns the accepted selection value,
|
"Unlike `GetSelection` which only returns the accepted selection value,
|
||||||
|
@@ -205,6 +205,11 @@ public:
|
|||||||
|
|
||||||
#if defined(__WXMSW__) || defined(__WXGTK__)
|
#if defined(__WXMSW__) || defined(__WXGTK__)
|
||||||
int GetItemHeight();
|
int GetItemHeight();
|
||||||
|
#else
|
||||||
|
%pythoncode {
|
||||||
|
def GetItemHeight(self):
|
||||||
|
raise NotImplementedError
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
%property(ItemHeight, GetItemHeight, doc="See `GetItemHeight`");
|
%property(ItemHeight, GetItemHeight, doc="See `GetItemHeight`");
|
||||||
|
@@ -677,6 +677,9 @@ class ComboBox(_core.Control,_core.ItemContainer):
|
|||||||
"""
|
"""
|
||||||
return _controls_.ComboBox_SetMark(*args, **kwargs)
|
return _controls_.ComboBox_SetMark(*args, **kwargs)
|
||||||
|
|
||||||
|
def GetMark(self):
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
def GetCurrentSelection(*args, **kwargs):
|
def GetCurrentSelection(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
GetCurrentSelection(self) -> int
|
GetCurrentSelection(self) -> int
|
||||||
@@ -1454,6 +1457,9 @@ class CheckListBox(ListBox):
|
|||||||
"""Check(self, unsigned int index, int check=True)"""
|
"""Check(self, unsigned int index, int check=True)"""
|
||||||
return _controls_.CheckListBox_Check(*args, **kwargs)
|
return _controls_.CheckListBox_Check(*args, **kwargs)
|
||||||
|
|
||||||
|
def GetItemHeight(self):
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
ItemHeight = property(GetItemHeight,doc="See `GetItemHeight`")
|
ItemHeight = property(GetItemHeight,doc="See `GetItemHeight`")
|
||||||
_controls_.CheckListBox_swigregister(CheckListBox)
|
_controls_.CheckListBox_swigregister(CheckListBox)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user