From 2ce90f267cabda876137626ea3f47bc947aa4a95 Mon Sep 17 00:00:00 2001 From: Steven Vascellaro Date: Thu, 9 Oct 2014 15:15:42 -0400 Subject: [PATCH] Moved "Connect Wiimote" options into submenu Moved "Connect Wiimote 1-4" and "Connect Wii Balance Board" into their own submenu. --- Source/Core/DolphinWX/FrameTools.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 659437530a..c169f3c572 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -249,11 +249,14 @@ wxMenuBar* CFrame::CreateMenu() toolsMenu->Append(IDM_FIFOPLAYER, _("Fifo Player")); toolsMenu->AppendSeparator(); - toolsMenu->AppendCheckItem(IDM_CONNECT_WIIMOTE1, GetMenuLabel(HK_WIIMOTE1_CONNECT)); - toolsMenu->AppendCheckItem(IDM_CONNECT_WIIMOTE2, GetMenuLabel(HK_WIIMOTE2_CONNECT)); - toolsMenu->AppendCheckItem(IDM_CONNECT_WIIMOTE3, GetMenuLabel(HK_WIIMOTE3_CONNECT)); - toolsMenu->AppendCheckItem(IDM_CONNECT_WIIMOTE4, GetMenuLabel(HK_WIIMOTE4_CONNECT)); - toolsMenu->AppendCheckItem(IDM_CONNECT_BALANCEBOARD, GetMenuLabel(HK_BALANCEBOARD_CONNECT)); + wxMenu* wiimoteMenu = new wxMenu; + toolsMenu->AppendSubMenu(wiimoteMenu, _("Connect Wiimotes")); + wiimoteMenu->AppendCheckItem(IDM_CONNECT_WIIMOTE1, GetMenuLabel(HK_WIIMOTE1_CONNECT)); + wiimoteMenu->AppendCheckItem(IDM_CONNECT_WIIMOTE2, GetMenuLabel(HK_WIIMOTE2_CONNECT)); + wiimoteMenu->AppendCheckItem(IDM_CONNECT_WIIMOTE3, GetMenuLabel(HK_WIIMOTE3_CONNECT)); + wiimoteMenu->AppendCheckItem(IDM_CONNECT_WIIMOTE4, GetMenuLabel(HK_WIIMOTE4_CONNECT)); + wiimoteMenu->AppendSeparator(); + wiimoteMenu->AppendCheckItem(IDM_CONNECT_BALANCEBOARD, GetMenuLabel(HK_BALANCEBOARD_CONNECT)); menubar->Append(toolsMenu, _("&Tools"));