]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/parser.y
implemented menu drawing in the GTK theme
[wxWidgets.git] / src / common / parser.y
index d81dd0ca969245cfcf5aee5a72b5ece33873be68..a5dcdf37a78a6d8db1859d1a83fae19465b62cc5 100644 (file)
@@ -124,13 +124,13 @@ arg1      :       WORD
  * for example, cross compilation. */
 #if (defined(__WXGTK__) || defined(__WXWINE__) || defined(__WXMOTIF__)) || defined(__WX_SETUP_H__) && !defined(NO_CONFIGURE)
 #include "lexer.c"
-#else
-#if (defined(__MWERKS__))
+#elif defined(__WXMAC__) && defined(__APPLE__)
+#include "lexer.c"
+#elif defined(__MWERKS__)
 #include "../common/cwlex_yy.c"
 #else
 #include "../common/lex_yy.c"
 #endif
-#endif
 
 /*
 void yyerror(s)