]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/fontpicker.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / interface / wx / fontpicker.h
index 48126f98565888ba1ad833631ce4a282f9db8071..e354fc37427746c3b409459633d02585c84bc293 100644 (file)
@@ -3,9 +3,19 @@
 // Purpose:     interface of wxFontPickerCtrl
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // 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_COMMAND_FONTPICKER_CHANGED;
+
+
 /**
     @class wxFontPickerCtrl
 
 /**
     @class wxFontPickerCtrl
 
@@ -49,6 +59,8 @@
 class wxFontPickerCtrl : public wxPickerBase
 {
 public:
 class wxFontPickerCtrl : public wxPickerBase
 {
 public:
+    wxFontPickerCtrl();
+    
     /**
         Initializes the object and calls Create() with
         all the parameters.
     /**
         Initializes the object and calls Create() with
         all the parameters.