mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-01 15:43:44 +02:00
CommandTargets.cpp has fewer dependencies...
... freeing two files from dependency cycles
This commit is contained in:
parent
87a9f34c22
commit
1c0453106d
@ -24,9 +24,10 @@ capture the more lengthy output from some commands.
|
||||
#include "../Audacity.h"
|
||||
#include "CommandTargets.h"
|
||||
|
||||
#include <wx/app.h>
|
||||
#include <wx/statusbr.h>
|
||||
#include <wx/string.h>
|
||||
#include "../ShuttleGui.h"
|
||||
#include "../Project.h"
|
||||
#include "../widgets/ErrorDialog.h"
|
||||
|
||||
void CommandMessageTarget::StartArray()
|
||||
@ -375,7 +376,8 @@ void LongMessageDialog::OnCancel(wxCommandEvent & WXUNUSED(evt)){
|
||||
void LongMessageDialog::AcceptText( const wxString & Text )
|
||||
{
|
||||
if( pDlg == NULL ){
|
||||
pDlg = new LongMessageDialog( GetActiveProject(), _( "Long Message" ) );
|
||||
pDlg = new LongMessageDialog(
|
||||
wxTheApp->GetTopWindow(), _( "Long Message" ) );
|
||||
pDlg->Init();
|
||||
pDlg->Show();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user