X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..2e5f9929e68e3878728c6a915268f4e8ed09383a:/src/palmos/checklst.cpp diff --git a/src/palmos/checklst.cpp b/src/palmos/checklst.cpp index fe75aeae4d..a7757f3630 100644 --- a/src/palmos/checklst.cpp +++ b/src/palmos/checklst.cpp @@ -21,10 +21,12 @@ #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif -#if wxUSE_OWNER_DRAWN +#if wxUSE_CHECKLISTBOX && wxUSE_OWNER_DRAWN + +#include "wx/checklst.h" #ifndef WX_PRECOMP #include "wx/object.h" @@ -41,7 +43,6 @@ #endif #include "wx/ownerdrw.h" -#include "wx/checklst.h" #include "wx/palmos/wrapwin.h" @@ -141,7 +142,7 @@ public: private: - DECLARE_NO_COPY_CLASS(wxCheckListBoxItem) + wxDECLARE_NO_COPY_CLASS(wxCheckListBoxItem); bool m_bChecked; wxCheckListBox *m_pParent; size_t m_nIndex; @@ -283,4 +284,4 @@ int wxCheckListBox::DoHitTestItem(wxCoord x, wxCoord y) const return wxNOT_FOUND; } -#endif +#endif // wxUSE_CHECKLISTBOX && wxUSE_OWNER_DRAWN