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.
This commit is contained in:
@@ -538,6 +538,7 @@ public:
|
|||||||
return p->GetParentState()->DoSelectProperty(p, focus);
|
return p->GetParentState()->DoSelectProperty(p, focus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if wxUSE_HEADERCTRL
|
||||||
/**
|
/**
|
||||||
Sets a column title. Default title for column 0 is "Property",
|
Sets a column title. Default title for column 0 is "Property",
|
||||||
and "Value" for column 1.
|
and "Value" for column 1.
|
||||||
@@ -546,6 +547,7 @@ public:
|
|||||||
member function will make it visible.
|
member function will make it visible.
|
||||||
*/
|
*/
|
||||||
void SetColumnTitle( int idx, const wxString& title );
|
void SetColumnTitle( int idx, const wxString& title );
|
||||||
|
#endif // wxUSE_HEADERCTRL
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets number of columns on given page (default is current page).
|
Sets number of columns on given page (default is current page).
|
||||||
|
Reference in New Issue
Block a user