Fix bone-headed mistake in selection highlighting patch.

(__UNIX__ *is* defined for Mac/OSX)
This commit is contained in:
Jeff Young 2018-02-12 00:59:45 +00:00 committed by Maciej Suminski
parent 62ef63501c
commit ed127e866a
1 changed files with 2 additions and 1 deletions

View File

@ -776,7 +776,8 @@ 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
}