]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/fontdlgg.cpp
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / src / generic / fontdlgg.cpp
index a7c96f96672a7095513628e31b7afae0b823bc43..91ad7da07bd6cb110540dfa953e4a69b0e313aeb 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_FONTDLG && (!defined(__WXGTK__) || defined(__WXUNIVERSAL__))
+
 #ifndef WX_PRECOMP
 #include <stdio.h>
 #include "wx/utils.h"
@@ -447,4 +449,6 @@ int wxFontWeightStringToInt(wxChar *weight)
     return wxNORMAL;
 }
 
+#endif
+    // wxUSE_FONTDLG