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....
This commit is contained in:
Mark Roszko 2020-10-31 13:44:50 +00:00
parent 3dde4e5616
commit 98ece9df72
1 changed files with 1 additions and 1 deletions

View File

@ -950,7 +950,7 @@ bool TOOL_MANAGER::ProcessEvent( const TOOL_EVENT& aEvent )
if( GetToolHolder() )
GetToolHolder()->RefreshCanvas();
#if defined( __WXMAC__ ) || defined( __WINDOWS__ )
#if defined( __WXMAC__ )
wxTheApp->ProcessPendingEvents(); // required for updating brightening behind a popup menu
#endif
}