X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77aee8713e9b9120d48b2488dce602d5aa73a2b5..8c3a71838a18a06bc0ec088746d5dabc0ae3f36b:/wxPython/src/_combobox.i diff --git a/wxPython/src/_combobox.i b/wxPython/src/_combobox.i index f5d68f6982..bfd6f5088c 100644 --- a/wxPython/src/_combobox.i +++ b/wxPython/src/_combobox.i @@ -81,7 +81,7 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyComboBoxNameStr), - "__init__(Window parent, int id, String value=EmptyString, + "__init__(Window parent, int id=-1, String value=EmptyString, Point pos=DefaultPosition, Size size=DefaultSize, List choices=EmptyList, long style=0, Validator validator=DefaultValidator, String name=ComboBoxNameStr) -> ComboBox", @@ -102,7 +102,7 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyChoiceNameStr), - "Create(Window parent, int id, String value=EmptyString, + "Create(Window parent, int id=-1, String value=EmptyString, Point pos=DefaultPosition, Size size=DefaultSize, List choices=EmptyList, long style=0, Validator validator=DefaultValidator, String name=ChoiceNameStr) -> bool", @@ -167,7 +167,7 @@ the combobox text field.", "", #else %pythoncode { def GetMark(self): - raise NotImplementedError + return (0,0) } #endif