mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
Don't call AudacityApp::OnMenuAbout directly from HelpMenus.cpp
This commit is contained in:
@@ -165,8 +165,9 @@ void OnAbout(const CommandContext &context)
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
// Modeless dialog, consistent with other Mac applications
|
||||
wxCommandEvent dummy;
|
||||
wxGetApp().OnMenuAbout(dummy);
|
||||
// Simulate the application Exit menu item
|
||||
wxCommandEvent evt{ wxEVT_MENU, wxID_ABOUT };
|
||||
wxTheApp->AddPendingEvent( evt );
|
||||
#else
|
||||
auto &project = context.project;
|
||||
|
||||
|
Reference in New Issue
Block a user