- if ( buf )
- fprintf(stderr, "%s", (const char*) buf);
- else // print at least something
- fprintf(stderr, "%s", (const char*) str.ToAscii());
- }
+ ::MessageBox(NULL, str.t_str(), NULL, MB_ICONINFORMATION | MB_OK);
+#else // !__WINDOWS__
+ // TODO: use the native message box for the other ports too
+ wxMessageOutputStderr::Output(str);
+#endif // __WINDOWS__/!__WINDOWS__