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.
(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.
*/
- unsigned int GetMaxPointSize() const;
+ void SetMaxPointSize(unsigned int max);
/**
Sets the currently selected font.