]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/bmpbuttn.cpp
Include missing.h to find O_* flags.
[wxWidgets.git] / src / motif / bmpbuttn.cpp
index 4d3c21fa93b410afa96aad8830d0fadf8845fe83..d684d7b77b08a22c3d4ebb8dc904d88cf703cf45 100644 (file)
@@ -9,10 +9,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "bmpbuttn.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #ifdef __VMS
 #define XtScreen XTSCREEN
 #endif