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:
fires.gc 2008-10-30 12:57:35 +00:00
commit d378b9d31f
6 changed files with 36 additions and 7 deletions

View file

@ -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;
}