Replace another occurrence of deprecated wxUSE_GENERICDATAVIEWCTRL

Use wxHAS_GENERIC_DATAVIEWCTRL instead, to complete the changes of
bc92ed9d85, see
https://github.com/wxWidgets/wxWidgets/pull/827

Closes https://github.com/wxWidgets/wxWidgets/pull/1016
This commit is contained in:
Artur Sochirca
2018-11-05 18:44:59 +01:00
committed by Vadim Zeitlin
parent aaa13cf520
commit fdee5e7bc9

View File

@@ -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