+#ifdef __VISUALC__
+ #pragma warning (default:4275)
+#endif
+
+// ----------------------------------------------------------------------------
+// implementation showing the message to the user in "best" possible way: uses
+// native message box if available (currently only under Windows) and stderr
+// otherwise; unlike wxMessageOutputMessageBox this class is always safe to use
+// ----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_BASE wxMessageOutputBest : public wxMessageOutput
+{
+public:
+ wxMessageOutputBest() { }
+
+protected:
+ virtual void DoPrintf(const wxChar* format, ...) ATTRIBUTE_PRINTF_2;
+};
+