X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..11ef729d54ee338a1d569b5a238c2feb84d488ff:/docs/latex/wx/fontenum.tex?ds=inline diff --git a/docs/latex/wx/fontenum.tex b/docs/latex/wx/fontenum.tex index 8df3609217..b697b74ec9 100644 --- a/docs/latex/wx/fontenum.tex +++ b/docs/latex/wx/fontenum.tex @@ -19,10 +19,10 @@ the given \helpref{encoding}{wxfontencodingoverview}. To do this, you just have to call one of EnumerateXXX() functions - either \helpref{EnumerateFacenames}{wxfontenumeratorenumeratefacenames} or \helpref{EnumerateEncodings}{wxfontenumeratorenumerateencodings} and the -corresponding callback (\helpref{OnFacename}{wxFontEnumeratoronfacename} or +corresponding callback (\helpref{OnFacename}{wxfontenumeratoronfacename} or \helpref{OnFontEncoding}{wxfontenumeratoronfontencoding}) will be called repeatedly until either all fonts satisfying the specified criteria are -exhausted or the callback returns FALSE. +exhausted or the callback returns false. \wxheading{Virtual functions to override} @@ -54,11 +54,11 @@ None \func{virtual bool}{EnumerateFacenames}{ \param{wxFontEncoding }{encoding = wxFONTENCODING\_SYSTEM}, - \param{bool }{fixedWidthOnly = FALSE}} + \param{bool }{fixedWidthOnly = false}} Call \helpref{OnFacename}{wxfontenumeratoronfacename} for each font which supports given encoding (only if it is not wxFONTENCODING\_SYSTEM) and is of -fixed width (if {\it fixedWidthOnly} is TRUE). +fixed width (if {\it fixedWidthOnly} is true). Calling this function with default arguments will result in enumerating all fonts available on the system. @@ -96,7 +96,7 @@ it to work if you overwrite that method. \func{virtual bool}{OnFacename}{\param{const wxString\& }{font}} Called by \helpref{EnumerateFacenames}{wxfontenumeratorenumeratefacenames} for -each match. Return TRUE to continue enumeration or FALSE to stop it. +each match. Return true to continue enumeration or false to stop it. \membersection{wxFontEnumerator::OnFontEncoding}\label{wxfontenumeratoronfontencoding} @@ -106,5 +106,5 @@ each match. Return TRUE to continue enumeration or FALSE to stop it. } Called by \helpref{EnumerateEncodings}{wxfontenumeratorenumerateencodings} for -each match. Return TRUE to continue enumeration or FALSE to stop it. +each match. Return true to continue enumeration or false to stop it.