X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d90895ac118ad4546eed7ee4c358a3fe644a1ad7..1480c61ae8f3a1e698deb3fde7c4b8055ac977b8:/src/os2/tabctrl.cpp

diff --git a/src/os2/tabctrl.cpp b/src/os2/tabctrl.cpp
index 677ee8a69c..1b664f8b16 100644
--- a/src/os2/tabctrl.cpp
+++ b/src/os2/tabctrl.cpp
@@ -25,14 +25,12 @@
 #include "wx/os2/tabctrl.h"
 #include "wx/app.h"
 #include "wx/os2/private.h"
-#include "wx/os2/imaglist.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()
 {
@@ -61,8 +59,6 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons
 
     SetParent(parent);
 
-    DWORD msflags = 0;
-
     if (width <= 0)
         width = 100;
     if (height <= 0)
@@ -74,8 +70,6 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons
 
     m_windowId = (id < 0 ? NewControlId() : id);
 
-    long tabStyle = 0;
-
     // Create the toolbar control.
     HWND hWndTabCtrl = 0;
     // TODO: create tab control