]> git.saurik.com Git - wxWidgets.git/commitdiff
default to native font dialog for 10.2+
authorRyan Norton <wxprojects@comcast.net>
Sun, 26 Sep 2004 15:59:57 +0000 (15:59 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sun, 26 Sep 2004 15:59:57 +0000 (15:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/fontdlg.h

index e0eeec467c4cde27e69b91da55278254ff406403..50e63bdd9ea5caca5296ef44c9974e104d4305c8 100644 (file)
@@ -67,7 +67,8 @@ protected:
 
 #if defined(__WXUNIVERSAL__) || \
     defined(__WXMOTIF__)     || \
-    defined(__WXMAC__)       || \
+    defined(__WXMAC__) && !defined(__WXMAC_OSX__)    || \
+    defined(__WXMAC_OSX__) && ( MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_2 ) || \
     defined(__WXCOCOA__)     || \
     defined(__WXWINCE__)     || \
     defined(__WXGPE__)
@@ -80,6 +81,8 @@ protected:
     #include "wx/gtk/fontdlg.h"
 #elif defined(__WXPM__)
     #include "wx/os2/fontdlg.h"
+#elif defined(__WXMAC__)
+    #include "wx/mac/fontdlg.h"
 #endif
 
 // ----------------------------------------------------------------------------