]> git.saurik.com Git - wxWidgets.git/commitdiff
fix error (more arguments for wxString::Format than specifiers) occurring because...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 26 Jun 2010 11:44:05 +0000 (11:44 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 26 Jun 2010 11:44:05 +0000 (11:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/aboutdlg.cpp

index 1259a214e75581293385d97fafc7b0e53dcaf1c6..85244776113f85432665f7c9ccea0a5c7be2a6d2 100644 (file)
@@ -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
     {