]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontdlg.h
compilation fix for builds when WXWIN_COMPATIBILITY_2 is not defined
[wxWidgets.git] / include / wx / fontdlg.h
index e30ce09aaf8221a96def6cde5a23468e7d35fe21..f4e88317c28a304bfe4ac81138f43ec98803411f 100644 (file)
@@ -1,13 +1,29 @@
-#ifndef __FONTDLGH_BASE__
-#define __FONTDLGH_BASE__
+#ifndef _WX_FONTDLG_H_BASE_
+#define _WX_FONTDLG_H_BASE_
 
 #if defined(__WXMSW__)
 #include "wx/msw/fontdlg.h"
 #elif defined(__WXMOTIF__)
 #include "wx/generic/fontdlgg.h"
+#   define wxFontDialog wxGenericFontDialog
+#   define sm_classwxFontDialog sm_classwxGenericFontDialog
 #elif defined(__WXGTK__)
+#include "wx/gtk/fontdlg.h"
+#elif defined(__WXQT__)
 #include "wx/generic/fontdlgg.h"
+#   define wxFontDialog wxGenericFontDialog
+#   define sm_classwxFontDialog sm_classwxGenericFontDialog
+#elif defined(__WXMAC__)
+#include "wx/generic/fontdlgg.h"
+#   define wxFontDialog wxGenericFontDialog
+#   define sm_classwxFontDialog sm_classwxGenericFontDialog
+#elif defined(__WXPM__)
+#include "wx/os2/fontdlg.h"
+#elif defined(__WXSTUBS__)
+#include "wx/generic/fontdlgg.h"
+#   define wxFontDialog wxGenericFontDialog
+#   define sm_classwxFontDialog sm_classwxGenericFontDialog
 #endif
 
 #endif
-    // __FONTDLGH_BASE__
+    // _WX_FONTDLG_H_BASE_