Remove infinitely recursive loop on Windows (in special cases)

This looks like it was always intended for macOS but was accidentally changed for Windows as well.
If this is a requirement on windows, I'm sure theres better ways to fix it....

Cherrypick from 98ece9d
This commit is contained in:
Mark Roszko 2020-11-02 13:45:14 +00:00
parent 3404f4e86b
commit 5a6f291c72
1 changed files with 1 additions and 1 deletions

View File

@ -795,7 +795,7 @@ bool TOOL_MANAGER::ProcessEvent( const TOOL_EVENT& aEvent )
if( f )
f->GetGalCanvas()->Refresh(); // fixme: ugly hack, provide a method in TOOL_DISPATCHER.
#if defined( __WXMAC__ ) || defined( __WINDOWS__ )
#if defined( __WXMAC__ )
wxTheApp->ProcessPendingEvents(); // required for updating brightening behind a popup menu
#endif
}