mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 20:58:14 +02:00
fixed compilation with fpc 2.1.1
git-svn-id: trunk@7915 -
This commit is contained in:
parent
28e54af177
commit
53e55f23cf
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user