]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/fontpicker.h
Move code removing "-psn_xxx" command line arguments to common code.
[wxWidgets.git] / interface / wx / fontpicker.h
index 33497c5bf153efde04778e15c7369bcf1759d8fd..1d3bd77e5172f2d337adc1406c4340b64c251dd5 100644 (file)
@@ -2,10 +2,19 @@
 // Name:        fontpicker.h
 // Purpose:     interface of wxFontPickerCtrl
 // Author:      wxWidgets team
 // 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
 
 /**
     @class wxFontPickerCtrl
 
@@ -33,7 +42,7 @@
            Uses the currently selected font to draw the label of the button.
     @endStyleTable
 
            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
     @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
 
     @library{wxcore}
     @category{pickers}
 
     @library{wxcore}
     @category{pickers}
-    @appearance{fontpickerctrl.png}
+    @appearance{fontpickerctrl}
 
     @see wxFontDialog, wxFontPickerEvent
 */
 class wxFontPickerCtrl : public wxPickerBase
 {
 public:
 
     @see wxFontDialog, wxFontPickerEvent
 */
 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.