]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msgout.h
compilation fix
[wxWidgets.git] / include / wx / msgout.h
index 9b9e020fe27947c17f9921e34c9618af60d156c9..f6422c6f38c6a0878d229c553c55421340acba6b 100755 (executable)
@@ -16,7 +16,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "msgout.h"
 #endif
 
@@ -74,6 +74,18 @@ public:
 
 #endif // wxUSE_GUI
 
+// ----------------------------------------------------------------------------
+// implementation using the native way of outputting debug messages
+// ----------------------------------------------------------------------------
+
+class WXDLLEXPORT wxMessageOutputDebug : public wxMessageOutput
+{
+public:
+    wxMessageOutputDebug() { }
+
+    virtual void Printf(const wxChar* format, ...) ATTRIBUTE_PRINTF_2;
+};
+
 // ----------------------------------------------------------------------------
 // implementation using wxLog (mainly for backwards compatibility)
 // ----------------------------------------------------------------------------