From 86c7926e944c096aeae6b95e713c9693c176cc6e Mon Sep 17 00:00:00 2001 From: g_harland Date: Thu, 16 Aug 2007 08:43:36 +0000 Subject: [PATCH] Provided captions for the dialog boxes invoked by the "Help -> About" command --- share/infospgm.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/share/infospgm.cpp b/share/infospgm.cpp index 6be5e7e12c..171405e7dc 100644 --- a/share/infospgm.cpp +++ b/share/infospgm.cpp @@ -36,12 +36,14 @@ wxT("** EESCHEMA (sept 1994 .. 2007) **") #endif ); -/* Routines Locales */ +// Routines Locales /*******************************************/ void Print_Kicad_Infos(wxWindow * frame) /*******************************************/ { +wxString AboutCaption = wxT("About "); + wxString Msg = MsgInfos; Msg << wxT("\n\n") << _("Build Version:") << wxT("\n") ; @@ -62,13 +64,15 @@ wxString Msg = MsgInfos; Msg << wxT(" JP CHARRAS\n\n") << _("Based on wxWidgets "); Msg << wxMAJOR_VERSION << wxT(".") << wxMINOR_VERSION << wxT(".") << wxRELEASE_NUMBER; - if ( wxSUBRELEASE_NUMBER ) + if( wxSUBRELEASE_NUMBER ) Msg << wxT(".") << wxSUBRELEASE_NUMBER; Msg << _("\n\nGPL License"); Msg << _("\n\nWeb sites:\n"); Msg << wxT("http://iut-tice.ujf-grenoble.fr/kicad/\n"); Msg << wxT("http://www.gipsa-lab.inpg.fr/realise_au_lis/kicad/"); - wxMessageBox(Msg, wxEmptyString, wxICON_INFORMATION, frame); + AboutCaption << g_Main_Title << wxT(" ") << GetBuildVersion(); + + wxMessageBox(Msg, AboutCaption, wxICON_INFORMATION, frame); }