X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e78c4d503ecd57835502fb1bbd13a71cb99019d0..758bce950ba9236d0a9edc4c880c3ec73b5173f3:/src/os2/statbox.cpp

diff --git a/src/os2/statbox.cpp b/src/os2/statbox.cpp
index 1911f67045..85270d2462 100644
--- a/src/os2/statbox.cpp
+++ b/src/os2/statbox.cpp
@@ -22,14 +22,12 @@
 
 #include "wx/statbox.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
 
 BEGIN_EVENT_TABLE(wxStaticBox, wxControl)
     EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground)
 END_EVENT_TABLE()
 
-#endif
 
 /*
  * Group box
@@ -176,7 +174,7 @@ void wxStaticBox::OnEraseBackground(wxEraseEvent& event)
 */
 }
 
-MRESULT wxStaticBox::OS2WindowProc(HWND hwnd, WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
+MRESULT wxStaticBox::OS2WindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
 {
     // TODO:
 /*
@@ -194,7 +192,7 @@ MRESULT wxStaticBox::OS2WindowProc(HWND hwnd, WXUINT nMsg, WXWPARAM wParam, WXLP
     }
 */
 
-    return wxControl::OS2WindowProc(hwnd, nMsg, wParam, lParam);
+    return wxControl::OS2WindowProc(nMsg, wParam, lParam);
 }