]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/bmpbuttn.cpp
fixed bug in mouse handling
[wxWidgets.git] / src / os2 / bmpbuttn.cpp
index 0035901c3b372d6cc9ea82830214d2277e629958..ae0b2843da50b8a1bd8940d80d74ec5e57be6c9e 100644 (file)
@@ -19,9 +19,7 @@
 #include "wx/os2/private.h"
 
 
 #include "wx/os2/private.h"
 
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
 IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
-#endif
 
 #define BUTTON_HEIGHT_FACTOR (EDIT_CONTROL_FACTOR * 1.1)
 
 
 #define BUTTON_HEIGHT_FACTOR (EDIT_CONTROL_FACTOR * 1.1)
 
@@ -29,11 +27,7 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bit
            const wxPoint& pos,
            const wxSize& size, long style,
 #if wxUSE_VALIDATORS
            const wxPoint& pos,
            const wxSize& size, long style,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-           const wxValidator* validator,
-#  else
            const wxValidator& validator,
            const wxValidator& validator,
-#  endif
 #endif
            const wxString& name)
 {
 #endif
            const wxString& name)
 {