This event class is used for the events generated by wxFontPickerCtrl.
Derived from
wxCommandEvent
wxEvent
wxObject
Include files
<wx/fontpicker.h>
Event handling
To process input from a wxFontPickerCtrl, use one of these event handler macros to direct input to member function that take a wxFontPickerEvent argument:
EVT_FONTPICKER_CHANGED(id, func) | Generated whenever the selected font changes. |
Members
wxFontPickerEvent::wxFontPickerEvent
wxFontPickerEvent::GetFont
wxFontPickerEvent::SetFont
wxFontPickerEvent(wxObject * generator, int id, const wxFont& font)
The constructor is not normally used by the user code.
wxFont GetFont() const
Retrieve the font the user has just selected.
void SetFont(const wxFont & f)
Set the font associated with the event.