]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontpicker.h
Add wxDataViewTextRendererAttr, blind noop under wxMac
[wxWidgets.git] / include / wx / fontpicker.h
index 2f12112fc3b9e85b3aafd96f72e6408a23043456..14da2fffc29f1321ea49655b0fdd2a04760d8eeb 100644 (file)
@@ -66,8 +66,11 @@ protected:
 // uses the currently selected font to draw the label of the button
 #define wxFNTP_USEFONT_FOR_LABEL      0x0010
 
-// since GTK > 2.4, there is GtkFontButton
-#if defined(__WXGTK24__) && !defined(__WXUNIVERSAL__)
+#define wxFONTBTN_DEFAULT_STYLE \
+    (wxFNTP_FONTDESC_AS_LABEL | wxFNTP_USEFONT_FOR_LABEL)
+
+// native version currently only exists in wxGTK2
+#if defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
     #include "wx/gtk/fontpicker.h"
     #define wxFontPickerWidget      wxFontButton
 #else