mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Fix a wx error popup when trying to launch a game.
The error was caused by trying to set the text for a status bar field whose index was equal to the actual number of fields. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5449 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -391,7 +391,7 @@ CFrame::CFrame(wxFrame* parent,
|
|||||||
SetIcon(IconTemp);
|
SetIcon(IconTemp);
|
||||||
|
|
||||||
// Give it a status bar
|
// Give it a status bar
|
||||||
m_pStatusBar = CreateStatusBar(1, wxST_SIZEGRIP, ID_STATUSBAR);
|
m_pStatusBar = CreateStatusBar(2, wxST_SIZEGRIP, ID_STATUSBAR);
|
||||||
if (!SConfig::GetInstance().m_InterfaceStatusbar)
|
if (!SConfig::GetInstance().m_InterfaceStatusbar)
|
||||||
m_pStatusBar->Hide();
|
m_pStatusBar->Hide();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user