mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
added status of the wiimote to the statusbar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1014 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
34d408b860
commit
d378b9d31f
6 changed files with 36 additions and 7 deletions
|
@ -146,7 +146,9 @@ CFrame::CFrame(wxFrame* parent,
|
|||
SetIcon(IconTemp);
|
||||
|
||||
// Give it a status line
|
||||
m_pStatusBar = CreateStatusBar();
|
||||
m_pStatusBar = CreateStatusBar(2);
|
||||
int StylesField[] = {wxSB_FLAT, wxSB_FLAT};
|
||||
m_pStatusBar->SetStatusStyles(2, StylesField);
|
||||
CreateMenu();
|
||||
|
||||
// This panel is the parent for rendering and it holds the gamelistctrl
|
||||
|
@ -541,7 +543,7 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
|
|||
case IDM_UPDATESTATUSBAR:
|
||||
if (m_pStatusBar != NULL)
|
||||
{
|
||||
m_pStatusBar->SetStatusText(event.GetString());
|
||||
m_pStatusBar->SetStatusText(event.GetString(), event.GetInt());
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue