From 8045736e4d85cfa0fc9115787ab34cfc8332a8bb Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 25 Feb 2006 12:07:19 +0000 Subject: [PATCH] Add compilation guards. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/datavcmn.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/datavcmn.cpp b/src/common/datavcmn.cpp index 7dfb742a16..a323d1c873 100644 --- a/src/common/datavcmn.cpp +++ b/src/common/datavcmn.cpp @@ -15,6 +15,10 @@ #pragma hdrstop #endif +#include "wx/defs.h" + +#if wxUSE_DATAVIEWCTRL + #include "wx/object.h" #include "wx/dataview.h" #include "wx/log.h" @@ -226,3 +230,4 @@ wxDataViewColumn* wxDataViewCtrlBase::GetColumn( size_t pos ) return (wxDataViewColumn*) m_cols[ pos ]; } +#endif -- 2.47.2