]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/log.h
improved conditional compilation test (added wxUSE_POSTSCRIPT)
[wxWidgets.git] / include / wx / log.h
index 7e88d578a0a49110c376d2633edf89155c467453..edbddebb630616f40b198fde3b15e3fd4f291bf4 100644 (file)
@@ -103,6 +103,12 @@ public:
     // ctor
     wxLog();
 
+    // Internal buffer.
+        // Allow replacement of the fixed size static buffer with
+        // a user allocated one.  Pass in NULL to restore the
+        // built in static buffer.
+    static wxChar *SetLogBuffer( wxChar *buf, size_t size = 0 );
+
     // these functions allow to completely disable all log messages
         // is logging disabled now?
     static bool IsEnabled() { return ms_doLog; }
@@ -579,3 +585,5 @@ DECLARE_LOG_FUNCTION2(SysError, long lErrCode);
 #endif  //debug/!debug
 
 #endif  // _WX_LOG_H_
+
+// vi:sts=4:sw=4:et