]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/checklst.cpp
Forgot header with OSX prefix
[wxWidgets.git] / src / palmos / checklst.cpp
index fe75aeae4d7e7b3e0f7f7c7698b22d5df83a234b..358a423dc641fe32401797607e97b6eeae9f5d31 100644 (file)
 #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