From fbcbfad62bb22b42871052b08d474209511878ce Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 29 Sep 2009 22:45:23 +0200 Subject: Fix panel column resizing on certain platforms Return value has not been set in the callback function, making it random by compiler decision. This is hard to find as it affected only 32-bit x86 platform. Fixes bug #2868686 --- libgtk_kylix/GTKControls.pas | 1 + 1 file changed, 1 insertion(+) (limited to 'libgtk_kylix/GTKControls.pas') diff --git a/libgtk_kylix/GTKControls.pas b/libgtk_kylix/GTKControls.pas index 46b03a2..158e55b 100644 --- a/libgtk_kylix/GTKControls.pas +++ b/libgtk_kylix/GTKControls.pas @@ -714,6 +714,7 @@ var Shift: TShiftState; Accept: boolean; begin Accept := True; + Result := False; if event^.is_hint <> 0 then Exit; Shift := []; if event^.state and GDK_SHIFT_MASK = GDK_SHIFT_MASK then Include(Shift, ssShift); -- cgit v1.2.3