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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user