Add example of using mouse forwarding.

This commit is contained in:
Andreas Flöjt 2017-08-16 01:04:15 +02:00
parent 814702f5b8
commit d4bbd7c7ab
2 changed files with 22 additions and 1 deletions

View file

@ -224,7 +224,7 @@ void NativeWindowViews::SetForwardMouseMessages(bool forward) {
if (forward && !forwarding_mouse_messages_) {
forwarding_mouse_messages_ = true;
forwarding_windows_.insert(this);
// Subclassing is used to fix some issues when forwarding mouse messages;
// see comments in |SubclassProc|.
SetWindowSubclass(