git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17056
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
out.PrintfV(format, args);
va_end(args);
out.PrintfV(format, args);
va_end(args);
+ // the native MSW msg box understands the TABs, others don't
- out.Replace(wxT("\t"),wxT(" "));
+ out.Replace(wxT("\t"), wxT(" "));
+
+ wxString title;
+ if ( wxTheApp )
+ title.Printf(_("%s message"), wxTheApp->GetAppName().c_str());
+
+ ::wxMessageBox(out, title);
out.PrintfV(format, args);
va_end(args);
out.PrintfV(format, args);
va_end(args);
- out.Replace(wxT("\t"),wxT(" "));
+ out.Replace(wxT("\t"), wxT(" "));
::wxLogMessage(wxT("%s"), out.c_str());
}
::wxLogMessage(wxT("%s"), out.c_str());
}