X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcb6cbecc890c65e15ade46ca416b4c353bb7e8f..51c72a7b56ea50fb3c9b082da1bbaddf6a218073:/src/common/headercolcmn.cpp

diff --git a/src/common/headercolcmn.cpp b/src/common/headercolcmn.cpp
index 27e4843300..8537970fa5 100644
--- a/src/common/headercolcmn.cpp
+++ b/src/common/headercolcmn.cpp
@@ -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