diff --git a/src/mac/carbon/checklst.cpp b/src/mac/carbon/checklst.cpp index 2f43152c2a..2a9d09a8bf 100644 --- a/src/mac/carbon/checklst.cpp +++ b/src/mac/carbon/checklst.cpp @@ -19,6 +19,8 @@ #include "wx/checklst.h" +#if wxUSE_CHECKLISTBOX + // ============================================================================ // implementation // ============================================================================ @@ -71,4 +73,5 @@ void wxCheckListBox::Check(size_t uiIndex, bool bCheck) // TODO } +#endif // wxUSE_CHECKLISTBOX diff --git a/src/mac/checklst.cpp b/src/mac/checklst.cpp index 2f43152c2a..2a9d09a8bf 100644 --- a/src/mac/checklst.cpp +++ b/src/mac/checklst.cpp @@ -19,6 +19,8 @@ #include "wx/checklst.h" +#if wxUSE_CHECKLISTBOX + // ============================================================================ // implementation // ============================================================================ @@ -71,4 +73,5 @@ void wxCheckListBox::Check(size_t uiIndex, bool bCheck) // TODO } +#endif // wxUSE_CHECKLISTBOX