mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-08 08:01:19 +02:00
Position Manage menu properly
This commit is contained in:
parent
bed441d651
commit
22cb98d411
@ -3249,8 +3249,9 @@ void EffectUIHost::OnMenu(wxCommandEvent & WXUNUSED(evt))
|
||||
|
||||
menu->Append(0, _("About"), sub);
|
||||
|
||||
wxRect r = FindWindow(kMenuID)->GetParent()->GetRect();
|
||||
PopupMenu(menu, wxPoint(r.GetLeft(), r.GetBottom()));
|
||||
wxWindow *btn = FindWindow(kMenuID);
|
||||
wxRect r = btn->GetRect();
|
||||
btn->PopupMenu(menu, r.GetLeft(), r.GetBottom());
|
||||
|
||||
delete menu;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user