gtk1+2: fixed stopping mouse down signal at design time

git-svn-id: trunk@15998 -
This commit is contained in:
mattias 2008-08-08 13:56:23 +00:00
parent e323565073
commit b7bba11457

View File

@ -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 ',