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:
Rom Walton 2013-01-21 15:54:45 -05:00 committed by Oliver Bock
parent 3c73f40809
commit c8f165b7e1
1 changed files with 1 additions and 1 deletions

View File

@ -802,7 +802,7 @@ void CBOINCGUIApp::OnActivateApp(wxActivateEvent& event) {
if (m_pEventLog && !m_pEventLog->IsIconized()) {
m_pEventLog->Raise();
}
m_pFrame->Raise();
if (m_pFrame) m_pFrame->Raise();
}
event.Skip();
}