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:
committed by
Vadim Zeitlin
parent
9592823cde
commit
d255dc6706
@@ -41,7 +41,7 @@ public:
|
||||
m_controlName(controlName),
|
||||
m_control(NULL)
|
||||
{
|
||||
m_bg = GetBackgroundColour();
|
||||
m_bg = UseBgCol() ? GetBackgroundColour() : wxColour();
|
||||
SetBackgroundColour(wxColour(255, 0, 255));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user