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:
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "wx/dataview.h"
|
||||
|
||||
#ifndef wxUSE_GENERICDATAVIEWCTRL
|
||||
#ifndef wxHAS_GENERIC_DATAVIEWCTRL
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/log.h"
|
||||
@@ -5313,6 +5313,6 @@ void wxDataViewCtrl::DoApplyWidgetStyle(GtkRcStyle *style)
|
||||
GTKApplyStyle(m_treeview, style);
|
||||
}
|
||||
|
||||
#endif // !wxUSE_GENERICDATAVIEWCTRL
|
||||
#endif // !wxHAS_GENERIC_DATAVIEWCTRL
|
||||
|
||||
#endif // wxUSE_DATAVIEWCTRL
|
||||
|
Reference in New Issue
Block a user