]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/checklst.cpp
Replaced /'s with \'s as BCC requires \'s for path names
[wxWidgets.git] / src / os2 / checklst.cpp
index 654dc3a1fc5be1ec01c0b3e638f375644fc910d8..366f87d7f89d8bcbb6d320c2011ab80229eba532 100644 (file)
@@ -44,9 +44,7 @@
 // implementation
 // ============================================================================
 
-#if !USE_SHARED_LIBRARY
   IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
-#endif
 
 // ----------------------------------------------------------------------------
 // declaration and implementation of wxCheckListBoxItem class
@@ -259,7 +257,9 @@ wxCheckListBox::wxCheckListBox() : wxListBox()
 wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id,
                                const wxPoint& pos, const wxSize& size,
                                int nStrings, const wxString choices[],
+#if wxUSE_VALIDATORS
                                long style, const wxValidator& val,
+#endif
                                const wxString& name)
               : wxListBox()
 {
@@ -277,7 +277,7 @@ void wxCheckListBox::Delete(int N)
     // free memory
     delete m_aItems[N];
 
-    m_aItems.Remove(N);
+    m_aItems.RemoveAt(N);
 }
 
 void wxCheckListBox::InsertItems(int nItems, const wxString items[], int pos)