]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/msgout.cpp
compilation fix (not all paths returned a value)
[wxWidgets.git] / src / common / msgout.cpp
index dbe3786d91e55c97432147da81730f56b8ac9ba9..e6a079969e17786e54a2f96e19ca64e85389f0fb 100755 (executable)
@@ -32,6 +32,7 @@
     #include "wx/string.h"
     #include "wx/ffile.h"
     #include "wx/app.h"
+    #include "wx/intl.h"
     #if wxUSE_GUI
         #include "wx/msgdlg.h"
     #endif // wxUSE_GUI
@@ -104,7 +105,7 @@ void wxMessageOutputMessageBox::Printf(const wxChar* format, ...)
 
     wxString title;
     if ( wxTheApp )
-        title.Printf(_T("%s message"), wxTheApp->GetAppName().c_str());
+        title.Printf(_("%s message"), wxTheApp->GetAppName().c_str());
 
     ::wxMessageBox(out, title);
 }