cocoa: blocking up/down events for scrollbox

git-svn-id: trunk@58557 -
This commit is contained in:
dmitry 2018-07-18 04:11:31 +00:00
parent 9bf25876ee
commit 179a41e343

View File

@ -379,6 +379,7 @@ begin
scrollcon.isCustomRange := true;
lcl := TLCLCommonCallback.Create(docview, AWinControl);
lcl.BlockCocoaUpDown := true;
docview.callback := lcl;
docview.setAutoresizingMask(NSViewWidthSizable or NSViewHeightSizable);
scrollcon.callback := lcl;