mirror of https://github.com/BOINC/boinc.git
MGR: Somehow we are receiving an WM_ACTIVATEAPP event before m_pFrame has been populated on Windows 8. If m_pFrame is NULL, ignore the event.
This commit is contained in:
parent
3c73f40809
commit
c8f165b7e1
|
@ -802,7 +802,7 @@ void CBOINCGUIApp::OnActivateApp(wxActivateEvent& event) {
|
||||||
if (m_pEventLog && !m_pEventLog->IsIconized()) {
|
if (m_pEventLog && !m_pEventLog->IsIconized()) {
|
||||||
m_pEventLog->Raise();
|
m_pEventLog->Raise();
|
||||||
}
|
}
|
||||||
m_pFrame->Raise();
|
if (m_pFrame) m_pFrame->Raise();
|
||||||
}
|
}
|
||||||
event.Skip();
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue