mirror of https://github.com/BOINC/boinc.git
MGR: Filter events during Please Wait dialog
svn path=/trunk/boinc/; revision=16198
This commit is contained in:
parent
39f17fc77c
commit
252347b952
|
@ -901,7 +901,7 @@ int CBOINCGUIApp::FilterEvent(wxEvent &event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
// Allow all events except Command and Timer events
|
// Allow all except Command, Timer and Mouse Moved events
|
||||||
if (event.IsCommandEvent()) {
|
if (event.IsCommandEvent()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -910,6 +910,10 @@ int CBOINCGUIApp::FilterEvent(wxEvent &event) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (theEventType == wxEVT_TASKBAR_MOVE) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
#else
|
#else
|
||||||
// Reject all events except:
|
// Reject all events except:
|
||||||
|
|
Loading…
Reference in New Issue