mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 20:19:27 +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 else begin
|
||||
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
|
||||
// clicks on the notebook should be handled by the gtk (switching page)
|
||||
{DebugLn(['gtkMouseBtnPress notebook ',
|
||||
|
Loading…
Reference in New Issue
Block a user