]> git.saurik.com Git - wxWidgets.git/commitdiff
fix dialogs sample after change to generic on OSX
authorRyan Norton <wxprojects@comcast.net>
Fri, 1 Oct 2004 01:57:31 +0000 (01:57 +0000)
committerRyan Norton <wxprojects@comcast.net>
Fri, 1 Oct 2004 01:57:31 +0000 (01:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.h

index 6b0bcf8ce76434b441809195798b8891e9002317..6f225aa991de915ea2be76ccbf77c03a17623448 100644 (file)
@@ -46,7 +46,7 @@ of MSW, MAC and OS2
     #define USE_WXMAC 0
 #endif
 
     #define USE_WXMAC 0
 #endif
 
-#if defined(__WXMAC_OSX__) && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2)
+#if defined(__WXMAC_OSX__) && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2) && USE_NATIVE_FONT_DIALOG_FOR_MACOSX
     #define USE_WXMACFONTDLG 1
 #else
     #define USE_WXMACFONTDLG 0
     #define USE_WXMACFONTDLG 1
 #else
     #define USE_WXMACFONTDLG 0