mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 02:58:05 +02:00
Cocoa: fix the length of BUTTON_CAPTION_ARRAY in CocoaConst
This commit is contained in:
parent
ec321189ad
commit
3bdd810b85
@ -164,7 +164,7 @@ end;
|
||||
function BUTTON_CAPTION_ARRAY: TNSStringArray;
|
||||
begin
|
||||
if length(_BUTTON_CAPTION_ARRAY)=0 then begin
|
||||
setlength( _BUTTON_CAPTION_ARRAY, idButtonNoToAll );
|
||||
setlength( _BUTTON_CAPTION_ARRAY, idButtonNoToAll+1 );
|
||||
_BUTTON_CAPTION_ARRAY[idButtonOk]:= LclTitleToNSString( rsMbOK );
|
||||
_BUTTON_CAPTION_ARRAY[idButtonCancel]:= LclTitleToNSString( rsMbCancel );
|
||||
_BUTTON_CAPTION_ARRAY[idButtonHelp]:= LclTitleToNSString( rsMbHelp );
|
||||
|
Loading…
Reference in New Issue
Block a user