Do not set wxUnknownControlContainer background to a fixed color
Don't explicitly set the background colour if it's not specified. Closes #17675.
This commit is contained in:
parent
9592823cde
commit
d255dc6706
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ public:
|
|||
m_controlName(controlName),
|
||||
m_control(NULL)
|
||||
{
|
||||
m_bg = GetBackgroundColour();
|
||||
m_bg = UseBgCol() ? GetBackgroundColour() : wxColour();
|
||||
SetBackgroundColour(wxColour(255, 0, 255));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue