Mercurial > ecos
diff host/tools/configtool/standalone/wxwin/mainwin.cpp @ 867:6c0eeb4145cb
* standalone/wxwin/symbols.h, standalone/wxwin/aboutdlg.cpp,
standalone/wxwin/configtool.cpp, standalone/wxwin/mainwin.cpp:
Use a character string to represent the configtool version number.
| author | jld |
|---|---|
| date | Tue, 25 Mar 2003 11:47:51 +0000 |
| parents | 706b0bdaf01c |
| children | 3021b4922c80 |
line wrap: on
line diff
--- a/host/tools/configtool/standalone/wxwin/mainwin.cpp +++ b/host/tools/configtool/standalone/wxwin/mainwin.cpp @@ -89,6 +89,7 @@ #include "folderdlg.h" #include "reposdlg.h" #include "docsystem.h" +#include "symbols.h" #ifdef __WXMSW__ #include "wx/msw/winundef.h" @@ -549,7 +550,9 @@ void ecMainFrame::OnAbout(wxCommandEvent { // ecAboutDialog dialog(this, ecID_ABOUT_DIALOG, _("About eCos Configuration Tool")); // dialog.ShowModal(); - wxMessageBox(_("eCos Configuration Tool 2.13.net\n\nCopyright (c) Red Hat, Inc. 1998-2002\nCopyright (c) John Dallaway 2003"), _("About eCos Configuration Tool"), wxICON_INFORMATION | wxOK); + wxString msg; + msg.Printf("eCos Configuration Tool %s (%s %s)\n\nCopyright (c) Red Hat, Inc. 1998-2002\nCopyright (c) John Dallaway 2003", ecCONFIGURATION_TOOL_VERSION, __DATE__, __TIME__); + wxMessageBox(msg, _("About eCos Configuration Tool"), wxICON_INFORMATION | wxOK); } void ecMainFrame::OnSize(wxSizeEvent& WXUNUSED(event))
