]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checklst.cpp
Update to docs incl. wxString first stab; added a couple of palette-related events...
[wxWidgets.git] / src / msw / checklst.cpp
index 719c81643c66ee2976b357eda7db9e44805105b4..e388e1fb2d51e5c7270b0238caedfd5ee0da8573 100644 (file)
@@ -24,6 +24,8 @@
 #pragma hdrstop
 #endif
 
+#if USE_OWNER_DRAWN
+
 #include <windows.h>
 
 #include "wx/ownerdrw.h"
@@ -217,10 +219,10 @@ wxCheckListBox::wxCheckListBox() : wxListBox()
 }
 
 // ctor which creates the associated control
-wxCheckListBox::wxCheckListBox(wxWindow *parent, const wxWindowID id,
+wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id,
                                const wxPoint& pos, const wxSize& size,
-                               const int nStrings, const wxString choices[],
-                               const long style, const wxValidator& val,
+                               int nStrings, const wxString choices[],
+                               long style, const wxValidator& val,
                                const wxString& name) // , const wxFont& font)
                 // don't use ctor with arguments! we must call Create()
                 // ourselves from here.
@@ -304,3 +306,6 @@ void wxCheckListBox::OnLeftClick(wxMouseEvent& event)
     event.Skip();
   }
 }
+
+#endif
+