mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 02:36:23 +02:00
fixed TComboBox.OnChange
git-svn-id: trunk@2249 -
This commit is contained in:
parent
17a19514d5
commit
84c890b989
@ -155,7 +155,7 @@ function LockOnChange(GtkObject: PGtkObject; LockOffset: integer): integer;
|
|||||||
begin
|
begin
|
||||||
Result:=Integer(gtk_object_get_data(GtkObject,'OnChangeLock'));
|
Result:=Integer(gtk_object_get_data(GtkObject,'OnChangeLock'));
|
||||||
if LockOffset<>0 then begin
|
if LockOffset<>0 then begin
|
||||||
inc(Result);
|
inc(Result,LockOffset);
|
||||||
gtk_object_set_data(GtkObject,'OnChangeLock',Pointer(Result));
|
gtk_object_set_data(GtkObject,'OnChangeLock',Pointer(Result));
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -3985,6 +3985,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.160 2003/03/02 23:08:31 mattias
|
||||||
|
fixed TComboBox.OnChange
|
||||||
|
|
||||||
Revision 1.159 2003/02/18 22:56:23 mattias
|
Revision 1.159 2003/02/18 22:56:23 mattias
|
||||||
fixed key grabbing
|
fixed key grabbing
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user