mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
More Menus Items, Better prompting Dialogs.
This commit is contained in:
committed by
Paul Licameli
parent
1c988b4e3a
commit
e29699086e
@@ -131,7 +131,7 @@ bool AudacityCommand::ShowInterface(wxWindow *parent, bool WXUNUSED(forceModal))
|
||||
wxDialog *AudacityCommand::CreateUI(wxWindow *parent, AudacityCommand * WXUNUSED(client))
|
||||
{
|
||||
Destroy_ptr<AudacityCommandDialog> dlg { safenew AudacityCommandDialog{
|
||||
parent, "Generic Dialog", this}};
|
||||
parent, GetTranslatedName(), this}};
|
||||
|
||||
if (dlg->Init())
|
||||
{
|
||||
|
@@ -378,7 +378,7 @@ bool GetInfoCommand::SendBoxesAsJson(const CommandContext &context)
|
||||
context.Status("Boxes");
|
||||
wxWindow * pWin = context.GetProject();
|
||||
|
||||
context.Status( "AudacityBoxes[" );
|
||||
context.Status( "[" );
|
||||
wxRect R = pWin->GetScreenRect();
|
||||
|
||||
//R.SetPosition( wxPoint(0,0) );
|
||||
@@ -388,7 +388,7 @@ bool GetInfoCommand::SendBoxesAsJson(const CommandContext &context)
|
||||
0, R.GetLeft(), R.GetTop(), R.GetRight(), R.GetBottom(), "Audacity Window" ));
|
||||
ExploreAdornments( context, pWin->GetPosition()+wxSize( 6,-1), pWin, pWin->GetId(), 1 );
|
||||
ExploreWindows( context, pWin->GetPosition()+wxSize( 6,-1), pWin, pWin->GetId(), 1 );
|
||||
context.Status( "];" );
|
||||
context.Status( "]" );
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user