]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/gauge.cpp
corrected preproc condition
[wxWidgets.git] / src / motif / gauge.cpp
index 23931f09d9c97c8d031db7d3aa0f9f5ef00354f3..e1e3df36018c34667fe007fe041cf868942a1b2f 100644 (file)
@@ -9,12 +9,20 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "gauge.h"
 #endif
 
-#ifdef __VMS__
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __VMS
 #include <wx/vms_x_fix.h>
+#undef XtDisplay
+#undef XtScreen
+#undef XtWindow
+#undef XtIsRealized
+#undef XtParent
 #endif
 
 # include "wx/gauge.h"