X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22d6efa851642c6a69174278fc50f712f41e2271..8a7f3379ba1f91b3374448626d8469f1439f9d20:/docs/latex/wx/ttips.tex diff --git a/docs/latex/wx/ttips.tex b/docs/latex/wx/ttips.tex index bfee67383d..e63e6e5303 100644 --- a/docs/latex/wx/ttips.tex +++ b/docs/latex/wx/ttips.tex @@ -1,4 +1,4 @@ -\section{Startup tips overview}\label{tipsoverview} +\section{wxTipProvider overview}\label{tipsoverview} Many "modern" Windows programs have a feature (some would say annoyance) of presenting the user tips at program startup. While this is probably useless to @@ -6,7 +6,7 @@ the advanced users of the program, the experience shows that the tips may be quite helpful for the novices and so more and more programs now do this. For a wxWindows programmer, implementing this feature is extremely easy. To -show a tip, it's enough to just call \helpref{wxShowTip}{wxshowtip} function +show a tip, it is enough to just call \helpref{wxShowTip}{wxshowtip} function like this: \begin{verbatim} @@ -19,7 +19,7 @@ like this: \end{verbatim} Of course, you need to get the text of the tips from somewhere - in the example -above, the text is supposed to be in the file tips.txt from where it's read by +above, the text is supposed to be in the file tips.txt from where it is read by the {\it tip provider}. The tip provider is just an object of a class deriving from \helpref{wxTipProvider}{wxtipprovider}. It has to implement one pure virtual function of the base class: \helpref{GetTip}{wxtipprovidergettip}.