Exposing Colour Flags, adding Synonym UseBackgroundColour for UseBgCol

No abbreviations in method name, include new methods in docs
This commit is contained in:
Stefan Csomor
2017-09-07 11:30:10 +02:00
parent 627870be90
commit 41d042516d
2 changed files with 30 additions and 0 deletions

View File

@@ -2216,6 +2216,12 @@ public:
*/
bool UseBgCol() const;
/**
Return @true if a background colour has been set for this window.
Same as @ref UseBgCol()
*/
bool UseBackgroundColour() const;
/**
Sets the font of the window but prevents it from being inherited by the
children of this window.
@@ -2232,6 +2238,18 @@ public:
*/
void SetOwnForegroundColour(const wxColour& colour);
/**
Return @true if a foreground colour has been set for this window.
*/
bool UseForegroundColour() const;
/**
Return @true if this window inherits the foreground colour from its parent.
@see SetOwnForegroundColour(), InheritAttributes()
*/
bool InheritsForegroundColour() const;
/**
@deprecated use wxDC::SetPalette instead.
*/