]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/checklst.cpp
fix for assert when setting tooltip for a readonly combo
[wxWidgets.git] / src / os2 / checklst.cpp
index e53cf202841a4c493f8de6870c3462bb20bd8466..cb94c109e256fab7032e4f8f5f73c1d0aa620863 100644 (file)
@@ -44,9 +44,7 @@
 // implementation
 // ============================================================================
 
-#if !USE_SHARED_LIBRARY
   IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
-#endif
 
 // ----------------------------------------------------------------------------
 // declaration and implementation of wxCheckListBoxItem class
@@ -260,11 +258,7 @@ wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id,
                                const wxPoint& pos, const wxSize& size,
                                int nStrings, const wxString choices[],
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-                               long style, const wxValidator* val,
-#  else
                                long style, const wxValidator& val,
-#  endif
 #endif
                                const wxString& name)
               : wxListBox()