]> git.saurik.com Git - wxWidgets.git/commitdiff
Check wxUSE_DATAVIEWCTRL
authorRobin Dunn <robin@alldunn.com>
Tue, 8 Jan 2008 00:10:31 +0000 (00:10 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 8 Jan 2008 00:10:31 +0000 (00:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/databrow.cpp

index b8279e7d5330585bca18c1830f907a9be007f5f1..8bd705589d9f173fa878cd28c155a7292b56bd6f 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "wx/wxprec.h"
 
+#if wxUSE_DATAVIEWCTRL
 #ifndef wxUSE_GENERICDATAVIEWCTRL
 
 #ifndef WX_PRECOMP
@@ -1084,3 +1085,4 @@ DataBrowserTrackingResult wxMacDataViewDataBrowserListViewControl::DataBrowserTr
 } /* wxMacDataViewDataBrowserListViewControl::DataBrowserTrackingProc(DataBrowserItemID, DataBrowserPropertyID, Rect const*, Point, EventModifiers) */
 
 #endif // wxUSE_GENERICDATAVIEWCTRL
+#endif // wxUSE_DATAVIEWCTRL