From 60983f6bf73e825947c4ef31f6f1433e7eb4480f Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sun, 2 Aug 2015 13:25:37 -0400 Subject: [PATCH] Revert "Cascade the four move commands of the track control menu..." This reverts commit 413edf2820a861737efc920df97d8d9d82e4987e. --- src/TrackPanel.cpp | 35 +++++------------------------------ 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index d80751440..8fe7ab573 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -156,9 +156,6 @@ is time to refresh some aspect of the screen. *//*****************************************************************/ -// This conditional compilation switch does not need to be seen -// in any other file, so I define it here, not in Experimental.h -- PRL -#define EXPERIMENTAL_CASCADE_TCP_MENU #include "Audacity.h" #include "Experimental.h" @@ -787,34 +784,12 @@ void TrackPanel::BuildCommonDropMenuItems(wxMenu * menu) { menu->Append(OnSetNameID, _("&Name...")); menu->AppendSeparator(); - - wxMenu *theMenu; -#ifdef EXPERIMENTAL_CASCADE_TCP_MENU - wxMenu *const moveMenu = new wxMenu(); - menu->Append(0, _("&Move"), moveMenu); - theMenu = moveMenu; - wxString names[] = { - _("&Up"), - _("&Down"), - _("To &Top"), - _("To &Bottom"), - }; -#else - theMenu = menu; - wxString names[] = { - _("Move Track &Up"), - _("Move Track &Down"), - _("Move Track to &Top"), - _("Move Track to &Bottom"), - }; -#endif - - theMenu->Append(OnMoveUpID, names[0]); - theMenu->Append(OnMoveDownID, names[1]); - theMenu->Append(OnMoveTopID, names[2]); - theMenu->Append(OnMoveBottomID, names[3]); - + menu->Append(OnMoveUpID, _("Move Track &Up")); + menu->Append(OnMoveDownID, _("Move Track &Down")); + menu->Append(OnMoveTopID, _("Move Track to &Top")); + menu->Append(OnMoveBottomID, _("Move Track to &Bottom")); menu->AppendSeparator(); + } // static