X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1888b05b0bf8b5b20099b87756bd5883d94c5d0..5fe256deb746d1a5b9151867ac48c3ad393c1a97:/src/msw/checklst.cpp diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index 719c81643c..e388e1fb2d 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -24,6 +24,8 @@ #pragma hdrstop #endif +#if USE_OWNER_DRAWN + #include #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 +