X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/338dd992160bf20205743c092b353d96ef7604fb..6433f6d3165a3f8633f42c59694a9104a7b37a93:/src/motif/gauge.cpp

diff --git a/src/motif/gauge.cpp b/src/motif/gauge.cpp
index 58bb544b9d..104f66536c 100644
--- a/src/motif/gauge.cpp
+++ b/src/motif/gauge.cpp
@@ -13,7 +13,11 @@
 #pragma implementation "gauge.h"
 #endif
 
-#include "wx/gauge.h"
+#ifdef __VMS__
+#include <wx/vms_x_fix.h>
+#endif
+
+# include "wx/gauge.h"
 
 #ifdef __VMS__
 #pragma message disable nosimpint
@@ -24,9 +28,7 @@
 #endif
 #include "wx/motif/private.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-#endif
 
 // XmGauge copyright notice: