]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/aboutdlg.cpp
Use wxCOMPtr throughout the wxWebViewIE Find code.
[wxWidgets.git] / src / msw / aboutdlg.cpp
index 526552fd89077f87f468205b96826c6319c57452..85244776113f85432665f7c9ccea0a5c7be2a6d2 100644 (file)
@@ -51,7 +51,7 @@ void wxAboutBox(const wxAboutDialogInfo& info, wxWindow* parent)
         if ( info.HasVersion() )
         {
             msg << wxT('\n');
-            msg << wxString::Format(_("Version %s"), info.GetVersion());
+            msg << info.GetLongVersion();
         }
 
         msg << wxT("\n\n");
@@ -62,7 +62,7 @@ void wxAboutBox(const wxAboutDialogInfo& info, wxWindow* parent)
         // add everything remaining
         msg << info.GetDescriptionAndCredits();
 
-        wxMessageBox(msg, wxString::Format(_("About %s"), name, wxOK | wxCENTRE, parent));
+        wxMessageBox(msg, wxString::Format(_("About %s"), name), wxOK | wxCENTRE, parent);
     }
     else // simple "native" version is not enough
     {