]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/headercolcmn.cpp
Remove apparently erroneous -1 from DrawBitmap() in wxMSW wxGC code.
[wxWidgets.git] / src / common / headercolcmn.cpp
index 27e4843300d8c87a32c5f9708cf7c8920aeb2b4c..8537970fa54fa0d600777272bf8bd9f2dcf58b64 100644 (file)
@@ -23,8 +23,7 @@
     #pragma hdrstop
 #endif
 
-#ifndef WX_PRECOMP
-#endif // WX_PRECOMP
+#if wxUSE_HEADERCTRL
 
 #include "wx/headercol.h"
 
@@ -91,4 +90,5 @@ void wxSettableHeaderColumn::ToggleFlag(int flag)
     SetFlags(flags);
 }
 
+#endif // wxUSE_HEADERCTRL