--- np2/macos9/dialog/d_about.cpp 2003/10/23 10:57:49 1.1 +++ np2/macos9/dialog/d_about.cpp 2003/10/23 19:31:58 1.2 @@ -1,25 +1,23 @@ #include "compiler.h" -#include "strres.h" #include "resource.h" #include "dialog.h" +#include "dialogs.h" #include "pccore.h" void AboutDialogProc(void) { DialogPtr hDlg; + Str255 verstr; int done; short item; - Str255 ver; - Str255 dummy; hDlg = GetNewDialog(IDD_ABOUT, NULL, (WindowPtr)-1); if (!hDlg) { return; } - mkstr255(ver, np2version); - mkstr255(dummy, str_null); - ParamText(ver, dummy, dummy, dummy); + mkstr255(verstr, np2version); + SetDialogItemText(GetDlgItem(hDlg, IDD_VERSION), verstr); SetDialogDefaultItem(hDlg, IDOK); done = 0;