From 7b0c9c1c0e7180caf6f981848af9e18738d26044 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 12 Feb 2018 00:59:45 +0000 Subject: [PATCH 6/6] Fix bone-headed mistake in selection highlighting patch. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.14.3 (Apple Git-98)" This is a multi-part message in MIME format. --------------2.14.3 (Apple Git-98) Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit (__UNIX__ *is* defined for Mac/OSX) --- common/tool/tool_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --------------2.14.3 (Apple Git-98) Content-Type: text/x-patch; name="0006-Fix-bone-headed-mistake-in-selection-highlighting-pa.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0006-Fix-bone-headed-mistake-in-selection-highlighting-pa.patch" diff --git a/common/tool/tool_manager.cpp b/common/tool/tool_manager.cpp index 2fa13e2ea..0a03c6e84 100644 --- a/common/tool/tool_manager.cpp +++ b/common/tool/tool_manager.cpp @@ -776,7 +776,7 @@ bool TOOL_MANAGER::ProcessEvent( const TOOL_EVENT& aEvent ) if( f ) f->GetGalCanvas()->Refresh(); // fixme: ugly hack, provide a method in TOOL_DISPATCHER. -#ifndef __UNIX__ +#if defined( __WXMAC__ ) || defined( __WINDOWS__ ) wxTheApp->ProcessPendingEvents(); // required for updating brightening behind a popup menu #endif } --------------2.14.3 (Apple Git-98)--