mirror of https://github.com/BOINC/boinc.git
MGR: On Mac, ensure any modal dialog remains in front when Manager is activated
svn path=/trunk/boinc/; revision=25240
This commit is contained in:
parent
4e1ff26060
commit
9da40e98b3
|
@ -1600,3 +1600,11 @@ Charlie 10 Feb 2012
|
||||||
|
|
||||||
client/
|
client/
|
||||||
coproc_detect.cpp
|
coproc_detect.cpp
|
||||||
|
|
||||||
|
Charlie 11 Feb 2012
|
||||||
|
- MGR: Fix a bug which pushed modal dialogs (Attach Wizard) to rear when
|
||||||
|
Manager process was brought to front from behind (Mac only.) This
|
||||||
|
bug was probably introduced in Z-order tweak of 23 Jan 2012.
|
||||||
|
|
||||||
|
clientgui/
|
||||||
|
BOINCGUIApp.cpp
|
||||||
|
|
|
@ -794,6 +794,13 @@ void CBOINCGUIApp::OnActivateApp(wxActivateEvent& event) {
|
||||||
m_pEventLog->Raise();
|
m_pEventLog->Raise();
|
||||||
}
|
}
|
||||||
m_pFrame->Raise();
|
m_pFrame->Raise();
|
||||||
|
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
// Make sure any modal dialog (such as Attach Wizard) ends up in front.
|
||||||
|
if (IsModalDialogDisplayed()) {
|
||||||
|
wxDynamicCast(wxWindow::FindWindowById(ID_ANYDIALOG), wxDialog)->Raise();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
event.Skip();
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue