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:
parent
3dde4e5616
commit
98ece9df72
|
@ -950,7 +950,7 @@ bool TOOL_MANAGER::ProcessEvent( const TOOL_EVENT& aEvent )
|
||||||
if( GetToolHolder() )
|
if( GetToolHolder() )
|
||||||
GetToolHolder()->RefreshCanvas();
|
GetToolHolder()->RefreshCanvas();
|
||||||
|
|
||||||
#if defined( __WXMAC__ ) || defined( __WINDOWS__ )
|
#if defined( __WXMAC__ )
|
||||||
wxTheApp->ProcessPendingEvents(); // required for updating brightening behind a popup menu
|
wxTheApp->ProcessPendingEvents(); // required for updating brightening behind a popup menu
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue