X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/328f5751e8a06727b137189fe04891a9f43bfc8b..5d4cca7f4bcbead614819eaa8d79e0edee24b70c:/interface/fontdlg.h diff --git a/interface/fontdlg.h b/interface/fontdlg.h index 5b8dcedfd4..4a5ea24021 100644 --- a/interface/fontdlg.h +++ b/interface/fontdlg.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: fontdlg.h -// Purpose: documentation for wxFontDialog class +// Purpose: interface of wxFontDialog // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -15,8 +15,7 @@ @library{wxcore} @category{cmndlg} - @seealso - Overview, wxFontData, wxGetFontFromUser + @see Overview(), wxFontData, wxGetFontFromUser() */ class wxFontDialog : public wxDialog { @@ -64,23 +63,31 @@ public: }; + // ============================================================================ // Global functions/macros // ============================================================================ +/** @ingroup group_funcmacro_dialog */ +//@{ + /** Shows the font selection dialog and returns the font selected by user or - invalid font (use @ref wxFont::isok wxFont:IsOk to test whether a font - is valid) if the dialog was cancelled. + invalid font (use wxFont::IsOk() to test whether a font is valid) if the + dialog was cancelled. @param parent - The parent window for the font selection dialog + The parent window for the font selection dialog. @param fontInit If given, this will be the font initially selected in the dialog. @param caption If given, this will be used for the dialog caption. + + @header{wx/fontdlg.h} */ wxFont wxGetFontFromUser(wxWindow* parent, const wxFont& fontInit, const wxString& caption = wxEmptyString); +//@} +