X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02b800ce7c2bb1c1f08075f22be2e7412124b47f..f7a50432401c62a3300b0b9faa7e99d7ffe3d4e8:/wxPython/src/_combobox.i diff --git a/wxPython/src/_combobox.i b/wxPython/src/_combobox.i index d842914b93..d593ea6f12 100644 --- a/wxPython/src/_combobox.i +++ b/wxPython/src/_combobox.i @@ -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): + return (0,0) + } #endif + DocDeclStr( int , GetCurrentSelection() const, @@ -246,6 +252,13 @@ redone. Only available on Windows.", ""); static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + %property(CurrentSelection, GetCurrentSelection, doc="See `GetCurrentSelection`"); + %property(InsertionPoint, GetInsertionPoint, SetInsertionPoint, doc="See `GetInsertionPoint` and `SetInsertionPoint`"); + %property(LastPosition, GetLastPosition, doc="See `GetLastPosition`"); + %property(Mark, GetMark, SetMark, doc="See `GetMark` and `SetMark`"); + %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`"); + }; //---------------------------------------------------------------------------