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

@@ -1865,12 +1865,13 @@ public:
@param colour
Background colour to use.
@param recursively
If @true, children are affected recursively, and any categories
are not.
@param flags
Default is wxPG_RECURSE which causes colour to be set recursively.
Omit this flag to only set colour for the property in question
and not any of its children.
*/
void SetBackgroundColour( const wxColour& colour,
bool recursively = false );
int flags = wxPG_RECURSE );
/**
Sets property's text colour.
@@ -1878,12 +1879,13 @@ public:
@param colour
Text colour to use.
@param recursively
If @true, children are affected recursively, and any categories
are not.
@param flags
Default is wxPG_RECURSE which causes colour to be set recursively.
Omit this flag to only set colour for the property in question
and not any of its children.
*/
void SetTextColour( const wxColour& colour,
bool recursively = false );
int flags = wxPG_RECURSE );
/** Set default value of a property. Synonymous to