From: Robin Dunn Date: Mon, 3 Sep 2007 03:07:29 +0000 (+0000) Subject: wrap the code in #if wxUSE_DATAVIEWCTRL X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a3fd36e7c3ec8f9ee727e203a68286f4b763593f wrap the code in #if wxUSE_DATAVIEWCTRL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/databrow.cpp b/src/mac/carbon/databrow.cpp index fa3d7556f0..e3e4610a48 100644 --- a/src/mac/carbon/databrow.cpp +++ b/src/mac/carbon/databrow.cpp @@ -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