MGR: Fix asserts under Linux: wxBG_STYLE_COLOUR does nothing under wxWidgets 3.0, is no longer supported and triggers an assert under wxGTK 3.0.2.

This commit is contained in:
Charlie Fenton 2015-01-12 03:49:11 -08:00
parent df37758441
commit 6baa699ccd
1 changed files with 0 additions and 3 deletions

View File

@ -41,7 +41,6 @@ bool CTransparentStaticLine::Create(wxWindow* parent, wxWindowID id, const wxPoi
bool bRetVal = wxPanel::Create(parent, id, pos, size, style|wxTRANSPARENT_WINDOW, name);
SetBackgroundColour(parent->GetBackgroundColour());
SetBackgroundStyle(wxBG_STYLE_COLOUR);
SetForegroundColour(parent->GetForegroundColour());
SetLineColor(GetForegroundColour());
@ -79,7 +78,6 @@ bool CTransparentStaticText::Create(wxWindow* parent, wxWindowID id, const wxStr
bool bRetVal = wxStaticText::Create(parent, id, label, pos, size, style|wxTRANSPARENT_WINDOW, name);
SetBackgroundColour(parent->GetBackgroundColour());
// SetBackgroundStyle(wxBG_STYLE_COLOUR);
SetForegroundColour(parent->GetForegroundColour());
return bRetVal;
@ -153,7 +151,6 @@ bool CTransparentStaticTextAssociate::Create(wxWindow* parent, wxWindowID id, co
SetFont(GetFont());
SetBackgroundColour(parent->GetBackgroundColour());
SetBackgroundStyle(wxBG_STYLE_COLOUR);
SetForegroundColour(parent->GetForegroundColour());
return bRetVal;