mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 10:33:36 +02:00
gtk1+2: fixed stopping mouse down signal at design time
git-svn-id: trunk@15998 -
This commit is contained in:
parent
e323565073
commit
b7bba11457
@ -1522,7 +1522,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end else begin
|
end else begin
|
||||||
if (event^.Button=1)
|
if (event^.Button=1)
|
||||||
or ((TControl(Data) is TCustomNoteBook) or (TControl(Data) is TCustomTabControl))
|
and ((TControl(Data) is TCustomNoteBook) or (TControl(Data) is TCustomTabControl))
|
||||||
then begin
|
then begin
|
||||||
// clicks on the notebook should be handled by the gtk (switching page)
|
// clicks on the notebook should be handled by the gtk (switching page)
|
||||||
{DebugLn(['gtkMouseBtnPress notebook ',
|
{DebugLn(['gtkMouseBtnPress notebook ',
|
||||||
|
Loading…
Reference in New Issue
Block a user