fixed sending TButtonControl.OnClick on every change

git-svn-id: trunk@2106 -
This commit is contained in:
mattias 2002-08-17 23:40:57 +00:00
parent 45a54d0346
commit 947e4d8c21

View File

@ -5704,8 +5704,10 @@ begin
csCheckbox,
csToggleBox:
begin
LockOnChange(PGtkObject(Handle),1);
gtk_toggle_button_set_active(PGtkToggleButton(handle),
(TCheckBoxState(data^) = cbChecked))
(TCheckBoxState(data^) = cbChecked));
LockOnChange(PGtkObject(Handle),-1);
end;
csCalendar :
@ -7067,6 +7069,9 @@ end;
{ =============================================================================
$Log$
Revision 1.341 2003/03/25 16:29:53 mattias
fixed sending TButtonControl.OnClick on every change
Revision 1.340 2003/03/25 13:00:39 mattias
implemented TMemo.SelLength, improved OI hints