Fixed a character encoding problem of Application.MessageBox method in Unicode Delphi (#146)
This commit is contained in:
parent
f4a25206ce
commit
5814bd027d
@ -171,7 +171,11 @@ begin
|
||||
{$IFDEF PS_PANSICHAR}
|
||||
RegisterMethod('function MessageBox(Text,Caption: PAnsiChar; Flags: Word): Integer');
|
||||
{$ELSE}
|
||||
{$IFDEF UNICODE}
|
||||
RegisterMethod('function MessageBox(Text,Caption: string; Flags: Word): Integer');
|
||||
{$ELSE}
|
||||
RegisterMethod('function MessageBox(Text,Caption: PChar; Flags: Word): Integer');
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
RegisterMethod('procedure Minimize');
|
||||
RegisterMethod('procedure ProcessMessages');
|
||||
|
Loading…
Reference in New Issue
Block a user