Replace wxUSE_GENERICDATAVIEWCTRL with wxHAS_GENERIC_DATAVIEWCTRL

The former symbol is inconsistent with all the other wxUSE_XXX ones and
hence confusing and kept only for compatibility reasons.

Closes https://github.com/wxWidgets/wxWidgets/pull/827
This commit is contained in:
Tim S
2018-06-03 17:18:59 -04:00
committed by Vadim Zeitlin
parent 950b1a9d51
commit bc92ed9d85
7 changed files with 14 additions and 14 deletions

View File

@@ -12,7 +12,7 @@
#include "wx/dataview.h"
#ifndef wxUSE_GENERICDATAVIEWCTRL
#ifndef wxHAS_GENERIC_DATAVIEWCTRL
wxDataViewColumn::wxDataViewColumn( const wxString &title, wxDataViewRenderer *renderer,
unsigned int model_column, int width,
@@ -316,6 +316,6 @@ void wxDataViewCtrl::DoSetCurrentItem(const wxDataViewItem& item)
{
}
#endif // !wxUSE_GENERICDATAVIEWCTRL
#endif // !wxHAS_GENERIC_DATAVIEWCTRL
#endif // wxUSE_DATAVIEWCTRL