diff options
author | Dan Gudmundsson <[email protected]> | 2016-11-22 12:40:46 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-11-22 12:40:46 +0100 |
commit | 3c5f019a3a69d4d18c40dccaa91f522f85c9c92a (patch) | |
tree | 322e43426d4a6cd2a67b157c51d91f378814be51 /lib/wx/c_src | |
parent | 04729d8bc0347ef9f6e9d55fe2aac8fe0022e6a1 (diff) | |
download | otp-3c5f019a3a69d4d18c40dccaa91f522f85c9c92a.tar.gz otp-3c5f019a3a69d4d18c40dccaa91f522f85c9c92a.tar.bz2 otp-3c5f019a3a69d4d18c40dccaa91f522f85c9c92a.zip |
wx: Do not dispatch commands after frequent events
The user app may want to handle several mouse motion events before
drawing new data for example.
Diffstat (limited to 'lib/wx/c_src')
-rw-r--r-- | lib/wx/c_src/gen/wxe_events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/c_src/gen/wxe_events.cpp b/lib/wx/c_src/gen/wxe_events.cpp index b6d3c2db18..01787c8a64 100644 --- a/lib/wx/c_src/gen/wxe_events.cpp +++ b/lib/wx/c_src/gen/wxe_events.cpp @@ -910,7 +910,7 @@ case 238: {// wxDropFilesEvent } else { send_res = rt.send(); if(cb->skip) event->Skip(); - if(app->recurse_level < 1) { + if(app->recurse_level < 1 && Etype->cID != 168) { app->recurse_level++; app->dispatch_cmds(); app->recurse_level--; |