#include "wx/mac/private.h" // includes mac headers
#endif
+#if defined(__MWERKS__) && wxUSE_UNICODE
+ #include <wtime.h>
+#endif
+
+
// ----------------------------------------------------------------------------
// non member functions
// ----------------------------------------------------------------------------
#if defined(__WXMAC__) && !defined(__DARWIN__) && wxUSE_GUI
Str255 pstr ;
- strcpy( (char*) pstr , str.c_str() ) ;
- strcat( (char*) pstr , ";g" ) ;
- c2pstr( (char*) pstr ) ;
+ wxString output = str + wxT(";g") ;
+ wxMacStringToPascal( output.c_str() , pstr ) ;
Boolean running = false ;