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:
@@ -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())
|
||||
|
Reference in New Issue
Block a user