Changed 'bool recursively' to 'int flags' argument (with default value of wxPG_RECURSE) in wxPropertyGrid Set(Property)BackgroundColour() and Set(Property)TextColour() member functions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-10-15 16:39:19 +00:00
parent 50355f75e5
commit e607eac25c
6 changed files with 50 additions and 40 deletions

View File

@@ -652,22 +652,22 @@ bool wxPropertyGridInterface::SetPropertyMaxLength( wxPGPropArg id, int maxLen )
void
wxPropertyGridInterface::SetPropertyBackgroundColour( wxPGPropArg id,
const wxColour& colour,
bool recursively )
int flags )
{
wxPG_PROP_ARG_CALL_PROLOG()
p->SetBackgroundColour( colour, recursively );
RefreshProperty( p );
p->SetBackgroundColour(colour, flags);
RefreshProperty(p);
}
// -----------------------------------------------------------------------
void wxPropertyGridInterface::SetPropertyTextColour( wxPGPropArg id,
const wxColour& colour,
bool recursively )
int flags )
{
wxPG_PROP_ARG_CALL_PROLOG()
p->SetTextColour( colour, recursively );
RefreshProperty( p );
p->SetTextColour(colour, flags);
RefreshProperty(p);
}
// -----------------------------------------------------------------------