mirror of https://gitlab.com/basile.b/dexed.git
widgets, MW move, remove trick used to get public prop
This commit is contained in:
parent
67e2de71a7
commit
a899c73bc8
|
@ -1468,7 +1468,7 @@ object CEMainForm: TCEMainForm
|
|||
OnCloseQuery = FormCloseQuery
|
||||
OnDropFiles = FormDropFiles
|
||||
ShowHint = True
|
||||
LCLVersion = '1.6.2.0'
|
||||
LCLVersion = '1.6.4.0'
|
||||
object mainMenu: TMainMenu
|
||||
Images = imgList
|
||||
top = 1
|
||||
|
|
|
@ -22,11 +22,6 @@ type
|
|||
|
||||
TCEApplicationOptions = class;
|
||||
|
||||
TAnchorDockSplitterEx = class(TAnchorDockSplitter)
|
||||
public
|
||||
property OnMouseWheel;
|
||||
end;
|
||||
|
||||
TAsyncWait = (awNo, awYes, awCustom);
|
||||
|
||||
TRunnableToFolderCondition = (
|
||||
|
@ -1348,7 +1343,6 @@ begin
|
|||
accept := GetKeyShiftState = [ssCtrl];
|
||||
end;
|
||||
|
||||
//TODO-cdocking: remove the usage of TAnchorDockSplitterEx from Laz 1.8 RC1 (OnMouseWheel public)
|
||||
procedure TCEMainForm.DockSplitterMw(Sender: TObject; Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean);
|
||||
var
|
||||
offs: integer;
|
||||
|
@ -1384,10 +1378,10 @@ begin
|
|||
if site is TAnchorDockHostSite then
|
||||
begin
|
||||
if TAnchorDockHostSite(site).BoundSplitter.isNotNil then
|
||||
TAnchorDockSplitterEx(TAnchorDockHostSite(site).BoundSplitter).OnMouseWheel:=@DockSplitterMw;
|
||||
TSplitter(TAnchorDockHostSite(site).BoundSplitter).OnMouseWheel:=@DockSplitterMw;
|
||||
end
|
||||
else if site is TAnchorDockSplitter then
|
||||
TAnchorDockSplitterEx(TAnchorDockSplitter(site)).OnMouseWheel:=@DockSplitterMw;
|
||||
TSplitter(TAnchorDockSplitter(site)).OnMouseWheel:=@DockSplitterMw;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
|
Loading…
Reference in New Issue