]> git.saurik.com Git - wxWidgets.git/commitdiff
Add compilation guards.
authorRobert Roebling <robert@roebling.de>
Sat, 25 Feb 2006 12:07:19 +0000 (12:07 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 25 Feb 2006 12:07:19 +0000 (12:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datavcmn.cpp

index 7dfb742a165e82adb2482f04ba787d77220a49a6..a323d1c87303e3a741f86e86aac6ec7fe3b44ce0 100644 (file)
     #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