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

@@ -1127,6 +1127,10 @@ public:
{
return m_hasBgCol;
}
bool UseBackgroundColour() const
{
return UseBgCol();
}
virtual bool SetForegroundColour(const wxColour& colour);
void SetOwnForegroundColour(const wxColour& colour)
@@ -1135,6 +1139,14 @@ public:
m_inheritFgCol = false;
}
wxColour GetForegroundColour() const;
bool UseForegroundColour() const
{
return m_hasFgCol;
}
bool InheritsForgroundColour() const
{
return m_inheritFgCol;
}
// Set/get the background style.
virtual bool SetBackgroundStyle(wxBackgroundStyle style);