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:
parent
3404f4e86b
commit
5a6f291c72
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue