X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e59b88579c7a1e8b4da0827be75dc5d2a84ec73..86381d4297f0225448823369a0df73ba67664078:/interface/wx/fontpicker.h?ds=sidebyside diff --git a/interface/wx/fontpicker.h b/interface/wx/fontpicker.h index 4476d3ce98..0cbb18adeb 100644 --- a/interface/wx/fontpicker.h +++ b/interface/wx/fontpicker.h @@ -3,7 +3,7 @@ // Purpose: interface of wxFontPickerCtrl // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -33,7 +33,7 @@ Uses the currently selected font to draw the label of the button. @endStyleTable - @beginEventTable{wxFontPickerEvent} + @beginEventEmissionTable{wxFontPickerEvent} @event{EVT_FONTPICKER_CHANGED(id, func)} The user changed the font selected in the control either using the button or using text control (see wxFNTP_USE_TEXTCTRL; note that in this case the @@ -59,7 +59,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxFNTP_DEFAULT_STYLE, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "fontpickerctrl"); + const wxString& name = wxFontPickerCtrlNameStr); /** Creates this widget with given parameters. @@ -91,7 +91,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxFNTP_DEFAULT_STYLE, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "fontpickerctrl"); + const wxString& name = wxFontPickerCtrlNameStr); /** Returns the maximum point size value allowed for the user-chosen font. @@ -113,7 +113,7 @@ public: (see wxFNTP_USE_TEXTCTRL), it's a good idea to put a limit to the maximum font size when huge fonts do not make much sense. */ - void GetMaxPointSize(unsigned int max); + void SetMaxPointSize(unsigned int max); /** Sets the currently selected font.