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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user