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:
Troels Knakkergaard
2016-04-25 12:08:28 +02:00
committed by Vadim Zeitlin
parent 9592823cde
commit d255dc6706

View File

@@ -41,7 +41,7 @@ public:
m_controlName(controlName),
m_control(NULL)
{
m_bg = GetBackgroundColour();
m_bg = UseBgCol() ? GetBackgroundColour() : wxColour();
SetBackgroundColour(wxColour(255, 0, 255));
}