Audacity  2.2.2
MultiDialog.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4  Audacity(R) is copyright (c) 1999-2010 Audacity Team.
5  License: GPL v2. See License.txt.
6 
7  MultiDialog.h
8 
9  Monty
10  Vaughan Johnson
11 
12 **********************************************************************/
13 
14 #ifndef __AUDACITY_MULTIDIALOG__
15 #define __AUDACITY_MULTIDIALOG__
16 
17 #include <wx/defs.h>
18 #include <wx/window.h>
19 
20 // Display a dialog with radio buttons.
21 // Return the zero-based index of the chosen button.
22 int ShowMultiDialog(const wxString &message,
23  const wxString &title,
24  const wxChar **buttons, const wxString &boxMsg = _("Please select an action"), bool log = true);
25 
26 #endif // __AUDACITY_MULTIDIALOG__
int ShowMultiDialog(const wxString &message, const wxString &title, const wxChar **buttons, const wxString &boxMsg=_("Please select an action"), bool log=true)
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom")).Raw()), OnMoveTrack)#define SET_TRACK_NAME_PLUGIN_SYMBOLclass SetTrackNameCommand:public AudacityCommand