lcl: fix typo

git-svn-id: trunk@52651 -
This commit is contained in:
ondrej 2016-07-09 06:15:13 +00:00
parent 2e0d1a0645
commit 4d405f5f01
2 changed files with 4 additions and 4 deletions

View File

@ -713,7 +713,7 @@ type
TNoteBookStringsTabControl = class(TPageControl) // TCustomTabControl, TODO TCustomTabControl, and fix all widgetsets TNoteBookStringsTabControl = class(TPageControl) // TCustomTabControl, TODO TCustomTabControl, and fix all widgetsets
protected protected
FHandelCreated: TNotifyEvent; FHandleCreated: TNotifyEvent;
procedure CreateHandle; override; procedure CreateHandle; override;
class procedure WSRegisterClass; override; class procedure WSRegisterClass; override;
end; end;

View File

@ -144,8 +144,8 @@ end;
procedure TNoteBookStringsTabControl.CreateHandle; procedure TNoteBookStringsTabControl.CreateHandle;
begin begin
inherited CreateHandle; inherited CreateHandle;
if FHandelCreated <> nil then if FHandleCreated <> nil then
FHandelCreated(self); FHandleCreated(self);
end; end;
class procedure TNoteBookStringsTabControl.WSRegisterClass; class procedure TNoteBookStringsTabControl.WSRegisterClass;
@ -291,7 +291,7 @@ begin
FNoteBook.OnGetImageIndex := @NBGetImageIndex; FNoteBook.OnGetImageIndex := @NBGetImageIndex;
FNoteBook.OnChanging := @NBChanging; FNoteBook.OnChanging := @NBChanging;
FNoteBook.OnChange := @NBPageChanged; FNoteBook.OnChange := @NBPageChanged;
TNoteBookStringsTabControl(FNoteBook).FHandelCreated := @NBHandleCreated; TNoteBookStringsTabControl(FNoteBook).FHandleCreated := @NBHandleCreated;
TabControlBoundsChange; TabControlBoundsChange;
end; end;