X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..9e477492e29e03c02827b1e42a16cb09a13f5149:/wxPython/src/_tipdlg.i diff --git a/wxPython/src/_tipdlg.i b/wxPython/src/_tipdlg.i index 2713eaf6e5..c7582c1e00 100644 --- a/wxPython/src/_tipdlg.i +++ b/wxPython/src/_tipdlg.i @@ -43,6 +43,9 @@ public: // modify the tip as soon as it is read. If return wxEmptyString, then // the tip is skipped, and the next one is read. virtual wxString PreprocessTip(const wxString& tip); + + %property(CurrentTip, GetCurrentTip, doc="See `GetCurrentTip`"); + %property(Tip, GetTip, doc="See `GetTip`"); }; @@ -66,7 +69,7 @@ IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip); // Now let SWIG know about it class wxPyTipProvider : public wxTipProvider { public: - %pythonAppend wxPyTipProvider "self._setCallbackInfo(self, PyTipProvider)" + %pythonAppend wxPyTipProvider setCallbackInfo(PyTipProvider) wxPyTipProvider(size_t currentTip); void _setCallbackInfo(PyObject* self, PyObject* _class);