From 5e78b8498b84bf413dfb3b9f09845e3c134b2116 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Thu, 6 Nov 2008 03:15:12 +0000 Subject: [PATCH] MGR: Filter wxEVT_TASKBAR_MOVE events only on Windows svn path=/trunk/boinc/; revision=16437 --- checkin_notes | 2 ++ clientgui/BOINCGUIApp.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/checkin_notes b/checkin_notes index 75488aea2a..6df543a64a 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9274,9 +9274,11 @@ Rom 5 Nov 2008 Charlie 4 Nov 2008 - Mac: Add new source files mac_address.cpp,.h to XCode project. - MGR: Fix compiler warnings on non-Windows builds. + - MGR: Filter wxEVT_TASKBAR_MOVE events only on Windows. clientgui/ BOINCBaseFrame.cpp + BOINCGUIApp.cpp BOINCTaskBar.cpp mac_build/ boinc.xcodeproj/ diff --git a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp index 3a9c9498fb..f0dafac6e4 100644 --- a/clientgui/BOINCGUIApp.cpp +++ b/clientgui/BOINCGUIApp.cpp @@ -1005,9 +1005,11 @@ int CBOINCGUIApp::FilterEvent(wxEvent &event) { return false; } +#ifdef __WXMSW__ if (theEventType == wxEVT_TASKBAR_MOVE) { return false; } +#endif return -1; #else