]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix the condition to always #define wxMOTIF_NEW_FONT_HANDLING
authorMattia Barbon <mbarbon@cpan.org>
Thu, 18 Aug 2005 00:41:18 +0000 (00:41 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 18 Aug 2005 00:41:18 +0000 (00:41 +0000)
(currently always defined to 0 for safety).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/motif/font.h

index ad1850711b7327d4b21372f9fe4ee7b396cf26d5..d49232e51d87f77329f5bd3f46050771bf810899 100644 (file)
 #pragma interface "font.h"
 #endif
 
 #pragma interface "font.h"
 #endif
 
-#if __WXMOTIF20__ && !__WXLESSTIF__ && !defined(wxMOTIF_NEW_FONT_HANDLING)
-#define wxMOTIF_NEW_FONT_HANDLING 0 // safe default
+#if __WXMOTIF20__ && !__WXLESSTIF__
+    #define wxMOTIF_NEW_FONT_HANDLING 0 // safe default, change to 1 to enable
+#else
+    #define wxMOTIF_NEW_FONT_HANDLING 0
 #endif
 
 class wxXFont;
 #endif
 
 class wxXFont;