mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-28 14:18:41 +02:00
Bug1409: Mac: Restore focus to Contrast after dismissing help window
This commit is contained in:
parent
839bb0a6db
commit
7808064ae1
@ -179,8 +179,10 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
|
||||
pFrame->SetName(Title);
|
||||
if (bModal)
|
||||
pWnd->ShowModal();
|
||||
else
|
||||
else {
|
||||
pWnd->Show(true);
|
||||
pFrame->Show(true);
|
||||
}
|
||||
|
||||
html->SetRelatedStatusBar( 0 );
|
||||
html->SetFocus();
|
||||
|
@ -57,7 +57,9 @@ void BrowserDialog::OnBackward(wxCommandEvent & WXUNUSED(event))
|
||||
void BrowserDialog::OnClose(wxCommandEvent & WXUNUSED(event))
|
||||
{
|
||||
EndModal(wxID_CANCEL);
|
||||
#ifndef __WXMAC__
|
||||
GetParent()->Destroy();
|
||||
#endif
|
||||
}
|
||||
|
||||
void BrowserDialog::OnKeyDown(wxKeyEvent & event)
|
||||
|
Loading…
x
Reference in New Issue
Block a user