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).