]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/gauge.cpp
corrected content vs structure calculation
[wxWidgets.git] / src / motif / gauge.cpp
index 23931f09d9c97c8d031db7d3aa0f9f5ef00354f3..3cd261e8a17805aa4f65fff346c866b779825071 100644 (file)
@@ -9,12 +9,17 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "gauge.h"
 #endif
 
-#ifdef __VMS__
+#ifdef __VMS
 #include <wx/vms_x_fix.h>
+#undef XtDisplay
+#undef XtScreen
+#undef XtWindow
+#undef XtIsRealized
+#undef XtParent
 #endif
 
 # include "wx/gauge.h"