X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..11a9b49de9f487938312e63645c371d01fff25d0:/wxPython/src/_tipdlg.i?ds=sidebyside diff --git a/wxPython/src/_tipdlg.i b/wxPython/src/_tipdlg.i index cd839ccca8..37ac6959b2 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`"); }; @@ -82,7 +85,7 @@ public: // // The function returns True if this checkbox is checked, False otherwise. MustHaveApp(wxShowTip); -bool wxShowTip(wxWindow *parent, wxTipProvider *tipProvider, bool showAtStartup = True); +bool wxShowTip(wxWindow *parent, wxTipProvider *tipProvider, bool showAtStartup = true); // a function which returns an implementation of wxTipProvider using the // specified text file as the source of tips (each line is a tip).