]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontdlg.h
code using ms_PaintDC changed a little (a couple of asserts added, the behaviour
[wxWidgets.git] / include / wx / fontdlg.h
index ca180e0bfe9d1d4096a04e00ff35495dddd7dd7d..5aeb8cf6c965c409d05dee822412723952995d50 100644 (file)
@@ -1,12 +1,20 @@
 #ifndef __FONTDLGH_BASE__
 #define __FONTDLGH_BASE__
 
-#if defined(__WINDOWS__)
+#if defined(__WXMSW__)
 #include "wx/msw/fontdlg.h"
-#elif defined(__MOTIF__)
+#elif defined(__WXMOTIF__)
 #include "wx/generic/fontdlgg.h"
-#elif defined(__GTK__)
+#   define wxFontDialog wxGenericFontDialog
+#   define classwxFontDialog classwxGenericFontDialog
+#elif defined(__WXGTK__)
 #include "wx/generic/fontdlgg.h"
+#   define wxFontDialog wxGenericFontDialog
+#   define classwxFontDialog classwxGenericFontDialog
+#elif defined(__WXQT__)
+#include "wx/generic/fontdlgg.h"
+#   define wxFontDialog wxGenericFontDialog
+#   define classwxFontDialog classwxGenericFontDialog
 #endif
 
 #endif