mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-23 16:08:07 +02:00
Don't call AudacityApp::OnMenuAbout directly from HelpMenus.cpp
This commit is contained in:
parent
6cde697a8e
commit
e4a8d6c3fc
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user