From fdee5e7bc95ce19891ab2db4c8cf8550d9a8934b Mon Sep 17 00:00:00 2001 From: Artur Sochirca Date: Mon, 5 Nov 2018 18:44:59 +0100 Subject: [PATCH] Replace another occurrence of deprecated wxUSE_GENERICDATAVIEWCTRL Use wxHAS_GENERIC_DATAVIEWCTRL instead, to complete the changes of bc92ed9d854c504aa77c0dc2af194c45eab65f5e, see https://github.com/wxWidgets/wxWidgets/pull/827 Closes https://github.com/wxWidgets/wxWidgets/pull/1016 --- src/osx/cocoa/dataview.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osx/cocoa/dataview.mm b/src/osx/cocoa/dataview.mm index d7f6fc362b..09a532dbef 100644 --- a/src/osx/cocoa/dataview.mm +++ b/src/osx/cocoa/dataview.mm @@ -14,7 +14,7 @@ #include "wx/dataview.h" -#if !defined(wxUSE_GENERICDATAVIEWCTRL) +#if !defined(wxHAS_GENERIC_DATAVIEWCTRL) #ifndef WX_PRECOMP #include "wx/app.h" @@ -3556,6 +3556,6 @@ void wxDataViewColumn::SetNativeData(wxDataViewColumnNativeData* newNativeDataPt m_NativeDataPtr = newNativeDataPtr; } -#endif // !wxUSE_GENERICDATAVIEWCTRL +#endif // !defined(wxHAS_GENERIC_DATAVIEWCTRL) #endif // wxUSE_DATAVIEWCTRL