wxFontEnumerator::GetFacenames/Encodings() now return arrays and not pointers to them (patch 1483341)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-05-28 13:51:34 +00:00
parent 22757a804b
commit 6540132fa1
15 changed files with 252 additions and 61 deletions

View File

@@ -22,6 +22,8 @@ INCOMPATIBLE CHANGES SINCE 2.6.x
wxHtmlCell::GetMouseCursor(); old code overriding GetCursor() will
continue to work with WXWIN_COMPATIBILITY_2_6, but should be rewritten to
use GetMouseCursor().
- wxFontEnumerator::GetFacenames() and GetEncodings() now return arrays and
not pointers to arrays
Deprecated methods since 2.6.x and their replacements

View File

@@ -48,6 +48,8 @@ None
\helpref{wxFont}{wxfont},
\helpref{wxFontMapper}{wxfontmapper}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFontEnumerator::EnumerateFacenames}\label{wxfontenumeratorenumeratefacenames}
@@ -58,11 +60,12 @@ None
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 \arg{fixedWidthOnly} is true).
Calling this function with default arguments will result in enumerating all
fonts available on the system.
\membersection{wxFontEnumerator::EnumerateEncodings}\label{wxfontenumeratorenumerateencodings}
\func{virtual bool}{EnumerateEncodings}{\param{const wxString\& }{font = ""}}
@@ -74,21 +77,18 @@ least some font if {\it font} is not specified.
\membersection{wxFontEnumerator::GetEncodings}\label{wxfontenumeratorgetencodings}
\func{wxArrayString*}{GetEncodings}{\void}
\func{static wxArrayString}{GetEncodings}{\param{const wxString\&}{ facename = ""}}
Return array of strings containing all encodings found by
\helpref{EnumerateEncodings}{wxfontenumeratorenumerateencodings}. This is convenience function. It is
based on default implementation of \helpref{OnFontEncoding}{wxfontenumeratoronfontencoding} so don't expect
it to work if you overwrite that method.
\helpref{EnumerateEncodings}{wxfontenumeratorenumerateencodings}.
\membersection{wxFontEnumerator::GetFacenames}\label{wxfontenumeratorgetfacenames}
\func{wxArrayString*}{GetFacenames}{\void}
\func{static wxArrayString}{GetFacenames}{\param{wxFontEncoding }{encoding = wxFONTENCODING\_SYSTEM}, \param{bool }{fixedWidthOnly = false}}
Return array of strings containing all facenames found by
\helpref{EnumerateFacenames}{wxfontenumeratorenumeratefacenames}. This is convenience function. It is
based on default implementation of \helpref{OnFacename}{wxfontenumeratoronfacename} so don't expect
it to work if you overwrite that method.
\helpref{EnumerateFacenames}{wxfontenumeratorenumeratefacenames}.
\membersection{wxFontEnumerator::OnFacename}\label{wxfontenumeratoronfacename}
@@ -98,12 +98,10 @@ it to work if you overwrite that method.
Called by \helpref{EnumerateFacenames}{wxfontenumeratorenumeratefacenames} for
each match. Return true to continue enumeration or false to stop it.
\membersection{wxFontEnumerator::OnFontEncoding}\label{wxfontenumeratoronfontencoding}
\func{virtual bool}{OnFontEncoding}{
\param{const wxString\& }{font},
\param{const wxString\& }{encoding}
}
\func{virtual bool}{OnFontEncoding}{\param{const wxString\& }{font}, \param{const wxString\& }{encoding}}
Called by \helpref{EnumerateEncodings}{wxfontenumeratorenumerateencodings} for
each match. Return true to continue enumeration or false to stop it.