]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/scrolbar.cpp
Don't create a bitmap with dimensions <= 0...
[wxWidgets.git] / src / os2 / scrolbar.cpp
index bcf4a9e18763f32f0f2b4c6fa72a88cb1fb73027..e77bcbdb26b19e97df9d23d8f7db9f9b7dad6f79 100644 (file)
@@ -20,7 +20,6 @@
 #include "wx/scrolbar.h"
 #include "wx/os2/private.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
 
 BEGIN_EVENT_TABLE(wxScrollBar, wxControl)
@@ -29,7 +28,6 @@ BEGIN_EVENT_TABLE(wxScrollBar, wxControl)
 #endif
 END_EVENT_TABLE()
 
-#endif
 
 // Scrollbar
 bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,