mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
RenderFrame: Set the background to black.
This commit is contained in:
parent
10e746ada5
commit
8571d7aceb
1 changed files with 1 additions and 0 deletions
|
@ -964,6 +964,7 @@ void CFrame::StartGame(const std::string& filename)
|
|||
else
|
||||
m_RenderFrame->SetWindowStyle(m_RenderFrame->GetWindowStyle() & ~wxSTAY_ON_TOP);
|
||||
|
||||
m_RenderFrame->SetBackgroundColour(*wxBLACK);
|
||||
m_RenderFrame->SetClientSize(size.GetWidth(), size.GetHeight());
|
||||
m_RenderFrame->Bind(wxEVT_CLOSE_WINDOW, &CFrame::OnRenderParentClose, this);
|
||||
m_RenderFrame->Bind(wxEVT_ACTIVATE, &CFrame::OnActive, this);
|
||||
|
|
Loading…
Add table
Reference in a new issue