]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/aboutdlg.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / msw / aboutdlg.cpp
index 123e9823e03f2edcd20306826d37d72243906285..85244776113f85432665f7c9ccea0a5c7be2a6d2 100644 (file)
@@ -50,19 +50,19 @@ void wxAboutBox(const wxAboutDialogInfo& info, wxWindow* parent)
         msg << name;
         if ( info.HasVersion() )
         {
-            msg << _T('\n');
-            msg << wxString::Format(_("Version %s"), info.GetVersion());
+            msg << wxT('\n');
+            msg << info.GetLongVersion();
         }
 
-        msg << _T("\n\n");
+        msg << wxT("\n\n");
 
         if ( info.HasCopyright() )
-            msg << info.GetCopyrightToDisplay() << _T('\n');
+            msg << info.GetCopyrightToDisplay() << wxT('\n');
 
         // 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
     {