We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4a054 commit 2e9914eCopy full SHA for 2e9914e
Source/vcl/WrapVclDialogs.pas
@@ -53,13 +53,13 @@ implementation
53
{ Global Functions }
54
function ShowMessage_Wrapper(pself, args: PPyObject): PPyObject; cdecl;
55
var
56
- LMsg: string;
+ LMsg: PAnsiChar;
57
begin
58
with GetPythonEngine do
59
60
if PyArg_ParseTuple(args, 's:ShowMessage', @LMsg) <> 0 then
61
62
- ShowMessage(LMsg);
+ ShowMessage(string(LMsg));
63
Result := GetPythonEngine.ReturnNone;
64
end else
65
Result := nil;
0 commit comments