GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-editor.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gui: replace MessageBox with Application.MessageBox (which i correctly works on osx)
[d2df-editor.git]
/
src
/
editor
/
f_addresource.pas
diff --git
a/src/editor/f_addresource.pas
b/src/editor/f_addresource.pas
index d67765e20d111ae91e253ee8350953e1a46ff8c4..f738384273e0e92aa8d74d2656175ef08389f274 100644
(file)
--- a/
src/editor/f_addresource.pas
+++ b/
src/editor/f_addresource.pas
@@
-87,7
+87,7
@@
procedure TAddResourceForm.bOKClick(Sender: TObject);
begin
if FResourceName = '' then
begin
-
MessageBox(0,
PChar(_lc[I_MSG_CHOOSE_RES]),
+
Application.MessageBox(
PChar(_lc[I_MSG_CHOOSE_RES]),
PChar(_lc[I_MSG_ERROR]), MB_OK + MB_ICONERROR);
Exit;
end;
DEADSOFTWARE 2012-2025