]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/parser.y
Added OnEraseBackground to wxNotebook on wxMSW to avoid black background;
[wxWidgets.git] / src / common / parser.y
index 1fb7dceb10c9be92d2c030a48a26a33677afc47e..d154676d06b0fae45b669a7329daf5b496402a37 100644 (file)
@@ -1,5 +1,12 @@
  %{
 #include <string.h>
+#ifdef _MSC_VER
+#include <io.h>
+#endif
+#ifdef __GNUWIN32__
+#include <sys/unistd.h>
+#endif
+
 #include "wx/expr.h"
 
 #ifndef __EXTERN_C__
@@ -117,7 +124,11 @@ arg1       :       WORD
 
 %%
 
+#ifdef __WXGTK__
+#include "lexer.c"
+#else
 #include "../common/lex_yy.c"
+#endif
 
 /*
 void yyerror(s)