// Purpose: interface of wxFontPickerCtrl
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
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
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.
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.
(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.