Fix wxPen and wxBrush style deprecation warnings in utils

Fix a warning about hidden local variable in the helpview util.
This commit is contained in:
Maarten Bent
2017-11-25 17:32:17 +01:00
parent 2156d29801
commit dc6858d905
3 changed files with 16 additions and 16 deletions

View File

@@ -396,7 +396,7 @@ void wxEmulatorContainer::OnEraseBackground(wxEraseEvent& event)
dc = new wxClientDC(this);
}
dc->SetBackground(wxBrush(wxGetApp().m_emulatorInfo.m_emulatorBackgroundColour, wxSOLID));
dc->SetBackground(wxBrush(wxGetApp().m_emulatorInfo.m_emulatorBackgroundColour));
dc->Clear();
if (!event.GetDC())