]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/choice.cpp
fix for assert when setting tooltip for a readonly combo
[wxWidgets.git] / src / os2 / choice.cpp
index be96555450508cbe2838ccd1be60602f8432e0c0..84758c1bb8efe5a8f39ddeb4bf8edb2584edd5d4 100644 (file)
@@ -20,9 +20,7 @@
 
 #include "wx/os2/private.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
-#endif
 
 bool wxChoice::Create(wxWindow *parent,
                       wxWindowID id,
@@ -248,7 +246,7 @@ wxSize wxChoice::DoGetBestSize() const
     return wxSize(wChoice, hChoice);
 }
 
-MRESULT wxChoice::OS2WindowProc(HWND hwnd, WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
+MRESULT wxChoice::OS2WindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
 {
    // TODO:
    /*
@@ -266,7 +264,7 @@ MRESULT wxChoice::OS2WindowProc(HWND hwnd, WXUINT nMsg, WXWPARAM wParam, WXLPARA
             return 0;
     }
     */
-    return wxWindow::OS2WindowProc(hwnd, nMsg, wParam, lParam);
+    return wxWindow::OS2WindowProc(nMsg, wParam, lParam);
 }
 
 bool wxChoice::OS2Command(WXUINT param, WXWORD WXUNUSED(id))