X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d4b632ba3c0e5e5c43412d2d7a2b485b8fcebf2..5b60dec5c1941957aee03c4fb179eaaf44207f77:/src/os2/gauge.cpp

diff --git a/src/os2/gauge.cpp b/src/os2/gauge.cpp
index 8bce479cec..620760fd5f 100644
--- a/src/os2/gauge.cpp
+++ b/src/os2/gauge.cpp
@@ -48,9 +48,7 @@
 /* public function prototypes */
 // BOOL _Optlink gaugeInit(HINSTANCE hInstance);
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-#endif
 
 bool wxGauge::Create(wxWindow *parent, wxWindowID id,
            int range,
@@ -58,11 +56,7 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
            const wxSize& size,
            long style,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-           const wxValidator* validator,
-#  else
            const wxValidator& validator,
-#  endif
 #endif
            const wxString& name)
 {