X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/palmos/checklst.cpp?ds=sidebyside diff --git a/src/palmos/checklst.cpp b/src/palmos/checklst.cpp index fe75aeae4d..358a423dc6 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" @@ -283,4 +284,4 @@ int wxCheckListBox::DoHitTestItem(wxCoord x, wxCoord y) const return wxNOT_FOUND; } -#endif +#endif // wxUSE_CHECKLISTBOX && wxUSE_OWNER_DRAWN