]> git.saurik.com Git - wxWidgets.git/commitdiff
wrap the code in #if wxUSE_DATAVIEWCTRL
authorRobin Dunn <robin@alldunn.com>
Mon, 3 Sep 2007 03:07:29 +0000 (03:07 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 3 Sep 2007 03:07:29 +0000 (03:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/databrow.cpp

index fa3d7556f012c481ff7c04036be433cad5a90ed3..e3e4610a480a5b7cba811d84a81e50aa81ed59ad 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "wx/wxprec.h"
 
+#if wxUSE_DATAVIEWCTRL
+
 #include "wx/utils.h"
 
 #ifndef WX_PRECOMP
@@ -1020,5 +1022,5 @@ void wxMacDataViewDataBrowserListViewControl::DataBrowserItemNotificationProc(Da
 } /* wxMacDataViewDataBrowserListViewControl::DataBrowserItemNotificationProc(DataBrowserItemID, DataBrowserItemNotification, DataBrowserItemDataRef) */
 
 
-#endif
- // wxUSE_GENERICDATAVIEWCTRL
+#endif // wxUSE_DATAVIEWCTRL
+#endif // wxUSE_GENERICDATAVIEWCTRL