#include "wx/ffile.h"
#include "wx/app.h"
#include "wx/intl.h"
+ #include "wx/apptrait.h"
#if wxUSE_GUI
#include "wx/msgdlg.h"
#endif // wxUSE_GUI
#include <stdarg.h>
#include <stdio.h>
+#ifdef __WXMSW__
+ #include "wx/msw/private.h"
+#endif
+
// ===========================================================================
// implementation
// ===========================================================================
{
if ( !ms_msgOut && wxTheApp )
{
- ms_msgOut = wxTheApp->CreateMessageOutput();
+ ms_msgOut = wxTheApp->GetTraits()->CreateMessageOutput();
}
return ms_msgOut;