X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3051a44a73502c2b03d1618d0a8e94274ee67e16..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/fontpicker.h?ds=sidebyside diff --git a/interface/wx/fontpicker.h b/interface/wx/fontpicker.h index 48126f9856..1d3bd77e51 100644 --- a/interface/wx/fontpicker.h +++ b/interface/wx/fontpicker.h @@ -2,10 +2,19 @@ // Name: fontpicker.h // Purpose: interface of wxFontPickerCtrl // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// + +#define wxFNTP_FONTDESC_AS_LABEL 0x0008 +#define wxFNTP_USEFONT_FOR_LABEL 0x0010 +#define wxFONTBTN_DEFAULT_STYLE (wxFNTP_FONTDESC_AS_LABEL | wxFNTP_USEFONT_FOR_LABEL) +#define wxFNTP_USE_TEXTCTRL (wxPB_USE_TEXTCTRL) +#define wxFNTP_DEFAULT_STYLE (wxFNTP_FONTDESC_AS_LABEL|wxFNTP_USEFONT_FOR_LABEL) + +wxEventType wxEVT_FONTPICKER_CHANGED; + + /** @class wxFontPickerCtrl @@ -42,13 +51,15 @@ @library{wxcore} @category{pickers} - @appearance{fontpickerctrl.png} + @appearance{fontpickerctrl} @see wxFontDialog, wxFontPickerEvent */ class wxFontPickerCtrl : public wxPickerBase { public: + wxFontPickerCtrl(); + /** Initializes the object and calls Create() with all the parameters.