1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-20 23:51:18 +01:00

Remove use of GetActiveProject in MacroCommandsDialog...

... instead pass into it the project pointer already given to ctor of
MacrosWindow
This commit is contained in:
Paul Licameli
2019-05-21 21:04:18 -04:00
parent e2539be53b
commit f85f4db704
4 changed files with 9 additions and 4 deletions

View File

@@ -21,12 +21,13 @@ class wxTextCtrl;
class wxListCtrl;
class wxListEvent;
class wxButton;
class AudacityProject;
class ShuttleGui;
class MacroCommandDialog final : public wxDialogWrapper {
public:
// constructors and destructors
MacroCommandDialog(wxWindow *parent, wxWindowID id);
MacroCommandDialog(wxWindow *parent, wxWindowID id, AudacityProject &project);
void SetCommandAndParams(const CommandID &Command, const wxString &Params);
public:
CommandID mSelectedCommand;