]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/aboutdlg.cpp
Eliminated WX_PG_DECLARE/IMPLEMENT_DERIVED_PROPERTY_CLASS
[wxWidgets.git] / src / msw / aboutdlg.cpp
index 1d8823b816cf5db8db493d271b73b07d379598ec..ff27b3ad0034b71ba3fbc35abc765342ea029a02 100644 (file)
@@ -49,8 +49,12 @@ void wxAboutBox(const wxAboutDialogInfo& info)
         wxString msg;
         msg << name;
         if ( info.HasVersion() )
-            msg << _(" Version ") << info.GetVersion();
-        msg << _T('\n');
+        {
+            msg << _T('\n');
+            msg << wxString::Format(_("Version %s"), info.GetVersion());
+        }
+
+        msg << _T("\n\n");
 
         if ( info.HasCopyright() )
             msg << info.GetCopyright() << _T('\n');
@@ -58,7 +62,7 @@ void wxAboutBox(const wxAboutDialogInfo& info)
         // add everything remaining
         msg << info.GetDescriptionAndCredits();
 
-        wxMessageBox(msg, _("About ") + name);
+        wxMessageBox(msg, wxString::Format(_("About %s"), name));
     }
     else // simple "native" version is not enough
     {