X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02b800ce7c2bb1c1f08075f22be2e7412124b47f..e17b6377be593ce71d722beb3cdcffb67baccf00:/wxPython/src/_combobox.i?ds=sidebyside diff --git a/wxPython/src/_combobox.i b/wxPython/src/_combobox.i index d842914b93..f5d68f6982 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): + raise NotImplementedError + } #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`"); + }; //---------------------------------------------------------------------------