Fixed: Change-Language menu item was a checkbox (plain menu item is enough here).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5371 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
avihal 2012-08-14 08:50:12 +00:00
parent 58ee82334d
commit c83b72339b
2 changed files with 1 additions and 3 deletions

View File

@ -323,7 +323,6 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
, m_SaveStatesSubmenu( *MakeStatesSubMenu( MenuId_State_Save01 ) ) , m_SaveStatesSubmenu( *MakeStatesSubMenu( MenuId_State_Save01 ) )
, m_MenuItem_Console( *new wxMenuItem( &m_menuMisc, MenuId_Console, _("Show Console"), wxEmptyString, wxITEM_CHECK ) ) , m_MenuItem_Console( *new wxMenuItem( &m_menuMisc, MenuId_Console, _("Show Console"), wxEmptyString, wxITEM_CHECK ) )
, m_MenuItem_ChangeLang( *new wxMenuItem( &m_menuMisc, MenuId_ChangeLang, L"Change Language", wxEmptyString, wxITEM_CHECK ) ) // Always in English
, m_MenuItem_Console_Stdio( *new wxMenuItem( &m_menuMisc, MenuId_Console_Stdio, _("Console to Stdio"), wxEmptyString, wxITEM_CHECK ) ) , m_MenuItem_Console_Stdio( *new wxMenuItem( &m_menuMisc, MenuId_Console_Stdio, _("Console to Stdio"), wxEmptyString, wxITEM_CHECK ) )
{ {
@ -506,7 +505,7 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
m_menuMisc.Append(MenuId_About, _("About...") ); m_menuMisc.Append(MenuId_About, _("About...") );
m_menuMisc.AppendSeparator(); m_menuMisc.AppendSeparator();
m_menuMisc.Append( &m_MenuItem_ChangeLang ); m_menuMisc.Append( MenuId_ChangeLang, L"Change Language" ); // Always in English
#ifdef PCSX2_DEVBUILD #ifdef PCSX2_DEVBUILD
//m_menuDebug.Append(MenuId_Debug_Open, _("Open Debug Window..."), wxEmptyString); //m_menuDebug.Append(MenuId_Debug_Open, _("Open Debug Window..."), wxEmptyString);

View File

@ -126,7 +126,6 @@ protected:
wxMenu& m_SaveStatesSubmenu; wxMenu& m_SaveStatesSubmenu;
wxMenuItem& m_MenuItem_Console; wxMenuItem& m_MenuItem_Console;
wxMenuItem& m_MenuItem_ChangeLang;
wxMenuItem& m_MenuItem_Console_Stdio; wxMenuItem& m_MenuItem_Console_Stdio;
PerPluginMenuInfo m_PluginMenuPacks[PluginId_Count]; PerPluginMenuInfo m_PluginMenuPacks[PluginId_Count];