]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontpicker.h
Avoid conflict between new transparency API and old background support.
[wxWidgets.git] / include / wx / fontpicker.h
index 1137228e00ed86a061701a64eac23aac71c58d05..b6f776e2e1bf734b15499a0fe4c4abe3d80d079f 100644 (file)
@@ -66,7 +66,8 @@ protected:
 // uses the currently selected font to draw the label of the button
 #define wxFNTP_USEFONT_FOR_LABEL      0x0010
 
 // uses the currently selected font to draw the label of the button
 #define wxFNTP_USEFONT_FOR_LABEL      0x0010
 
-#if defined(__WXGTK24__)        // since GTK > 2.4, there is GtkFontButton
+// since GTK > 2.4, there is GtkFontButton
+#if defined(__WXGTK24__) && !defined(__WXUNIVERSAL__)
     #include "wx/gtk/fontpicker.h"
     #define wxFontPickerWidget      wxFontButton
 #else
     #include "wx/gtk/fontpicker.h"
     #define wxFontPickerWidget      wxFontButton
 #else