// headers
// ---------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "msgout.h"
#endif
#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
#endif
#include "wx/msgout.h"
+#include "wx/apptrait.h"
#include "wx/log.h"
#include <stdarg.h>
#ifdef __WXMSW__
#include "wx/msw/private.h"
#endif
+#ifdef __WXMAC__
+ #include "wx/mac/private.h"
+#endif
// ===========================================================================
// implementation
if ( wxIsDebuggerRunning() )
{
Str255 pstr;
- wxString output = str + wxT(";g") ;
+ wxString output = out + wxT(";g") ;
wxMacStringToPascal(output.c_str(), pstr);
#ifdef __powerc