gtk2: add notes for future investigation regarding mouse events

git-svn-id: trunk@53866 -
This commit is contained in:
blikblum 2017-01-03 14:09:07 +00:00
parent b6cd220e6d
commit c4b93b0b50

View File

@ -2183,6 +2183,7 @@ end;
-------------------------------------------------------------------------------}
function ControlGetsMouseUpBefore({%H-}AControl: TControl): boolean;
begin
{$NOTE ControlGetsMouseUpBefore always return true. See if still necessary}
Result:=true;
end;
@ -2378,6 +2379,7 @@ begin
{$ENDIF}
// stop the signal, so that it is not sent to the parent widgets
{$NOTE See if is necessary to stop emission. Return true is enough to avoid propagation}
g_signal_stop_emission_by_name(PGTKObject(Widget),'button-release-event');
ResetDefaultIMContext;