From 5decea57f48d838437e623624b15fe4ef3d35a31 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sun, 31 May 2015 18:05:53 +0200 Subject: [PATCH] Don't declare wxPropertyGridManager::SetColumnTitle if wxUSE_HEADERCTRL == 0. This method already has no definition in this case so there is no reason to declare it. --- include/wx/propgrid/manager.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/propgrid/manager.h b/include/wx/propgrid/manager.h index ffa8969111..94eaac2e1a 100644 --- a/include/wx/propgrid/manager.h +++ b/include/wx/propgrid/manager.h @@ -538,6 +538,7 @@ public: return p->GetParentState()->DoSelectProperty(p, focus); } +#if wxUSE_HEADERCTRL /** Sets a column title. Default title for column 0 is "Property", and "Value" for column 1. @@ -546,6 +547,7 @@ public: member function will make it visible. */ void SetColumnTitle( int idx, const wxString& title ); +#endif // wxUSE_HEADERCTRL /** Sets number of columns on given page (default is current page).