]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/popupwin.cpp
Fixed separator handling for menus.
[wxWidgets.git] / src / msw / popupwin.cpp
index b47741145cf4d9e3723b52bee1b20f7fd805afd5..fbe5ad21fbcc156a45dda4da88186c7227dc0bc6 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "popup.h"
 #endif
 
@@ -29,6 +29,7 @@
 #endif
 
 #ifndef WX_PRECOMP
+#include "wx/defs.h"
 #endif //WX_PRECOMP
 
 #if wxUSE_POPUPWIN