Explorar o código

Add comment about WMMouseWheel fix.

Martijn Laan hai 1 ano
pai
achega
6bc2e2b067
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Components/ScintEdit.pas

+ 1 - 1
Components/ScintEdit.pas

@@ -1945,7 +1945,7 @@ begin
     meaningful to the VCL -- but it doesn't restore the original value before
     meaningful to the VCL -- but it doesn't restore the original value before
     passing an unhandled WM_MOUSEWHEEL message up to DefWndProc. This causes
     passing an unhandled WM_MOUSEWHEEL message up to DefWndProc. This causes
     Scintilla to see Ctrl+wheel as Shift+wheel, breaking zoom. (Observed on
     Scintilla to see Ctrl+wheel as Shift+wheel, breaking zoom. (Observed on
-    Delphi 2009.) }
+    Delphi 2009 and still needed in Delphi 11.3.) }
   Message.Result := CallWindowProc(DefWndProc, Handle, Message.Msg,
   Message.Result := CallWindowProc(DefWndProc, Handle, Message.Msg,
     Message.WParam, Message.LParam);
     Message.WParam, Message.LParam);
 end;
 end;