#include "wx/os2/private.h"
 #include "wx/generic/imaglist.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl)
 
 BEGIN_EVENT_TABLE(wxTabCtrl, wxControl)
 END_EVENT_TABLE()
-#endif
 
 wxTabCtrl::wxTabCtrl()
 {
 
     SetParent(parent);
 
-    DWORD msflags = 0;
-
     if (width <= 0)
         width = 100;
     if (height <= 0)
 
     m_windowId = (id < 0 ? NewControlId() : id);
 
-    long tabStyle = 0;
-
     // Create the toolbar control.
     HWND hWndTabCtrl = 0;
     // TODO: create tab control