X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cc4bfafe5a31cb96f35b3ec9b19fa2b0b3a4eef..ea58aac5808a7617dd68c94b651ad70e038a324f:/interface/fontpicker.h diff --git a/interface/fontpicker.h b/interface/fontpicker.h index 3f278aad57..170f42c558 100644 --- a/interface/fontpicker.h +++ b/interface/fontpicker.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: fontpicker.h -// Purpose: documentation for wxFontPickerCtrl class +// Purpose: interface of wxFontPickerCtrl // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -40,8 +40,7 @@ @category{miscpickers} @appearance{fontpickerctrl.png} - @seealso - wxFontDialog, wxFontPickerEvent + @see wxFontDialog, wxFontPickerEvent */ class wxFontPickerCtrl : public wxPickerBase { @@ -76,7 +75,7 @@ public: Validator which can be used for additional date checks. @param name Control name. - + @returns @true if the control was successfully created or @false if creation failed. */ @@ -91,13 +90,13 @@ public: /** Returns the maximum point size value allowed for the user-chosen font. */ - unsigned int GetMaxPointSize(); + unsigned int GetMaxPointSize() const; /** Returns the currently selected font. Note that this function is completely different from wxWindow::GetFont. */ - wxFont GetSelectedFont(); + wxFont GetSelectedFont() const; /** Sets the maximum point size value allowed for the user-chosen font. @@ -119,6 +118,7 @@ public: }; + /** @class wxFontPickerEvent @wxheader{fontpicker.h} @@ -129,8 +129,7 @@ public: @library{wxcore} @category{FIXME} - @seealso - wxFontPickerCtrl + @see wxFontPickerCtrl */ class wxFontPickerEvent : public wxCommandEvent { @@ -144,10 +143,11 @@ public: /** Retrieve the font the user has just selected. */ - wxFont GetFont(); + wxFont GetFont() const; /** Set the font associated with the event. */ void SetFont(const wxFont& f); }; +