]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gauge.cpp
Fixed blatant non-initialisation bug
[wxWidgets.git] / src / os2 / gauge.cpp
index 8bce479cecd965c78e7f6da8f8f478dc6f7ce386..620760fd5f6d5c2ecf85cbaeaadb1d8ac0621daa 100644 (file)
@@ -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)
 {