log fixes (to wx_str())

This commit is contained in:
Nekotekina 2014-02-13 20:59:13 +04:00
parent a6faf04db4
commit 5a240c32a9
41 changed files with 215 additions and 183 deletions

View file

@ -776,7 +776,7 @@ void MainFrame::UpdateUI(wxCommandEvent& event)
//send_exit.Enable(false);
bool enable_commands = !is_stopped && Emu.GetCallbackManager().m_exit_callback.m_callbacks.GetCount();
send_open_menu.SetItemLabel(wxString::Format("Send %s system menu cmd", m_sys_menu_opened ? "close" : "open"));
send_open_menu.SetItemLabel(wxString::Format("Send %s system menu cmd", wxString(m_sys_menu_opened ? "close" : "open").wx_str()));
send_open_menu.Enable(enable_commands);
send_exit.Enable(enable_commands);