fixed compilation with fpc 2.1.1

git-svn-id: trunk@7915 -
This commit is contained in:
vincents 2005-10-05 09:03:57 +00:00
parent 28e54af177
commit 53e55f23cf

View File

@ -268,7 +268,7 @@ begin
if StatusBar.Panels.Count=0 then begin
// SETPARTS 0,0 does not work :S
Windows.SendMessage(StatusBar.Handle, SB_SIMPLE, 1, 0);
Windows.SendMessage(StatusBar.Handle, SB_SETTEXT, 255, WPARAM(''));
Windows.SendMessage(StatusBar.Handle, SB_SETTEXT, 255, WPARAM(PChar('')));
exit;
end;
Getmem(Rights, StatusBar.Panels.Count * sizeof(integer));