From: Johan V. <jvr...@sq...> - 2005-07-13 13:56:38
|
Mattia Barbon <mat...@li...> writes: >> Wx::Log::SetTimestamp("foo> "); >> Wx::LogMessage("Hi: %s", "xxx"); # does not give error anymore :-) Indeed. Now we're descending into the minor nitpickings :-). There's always a ": " appended. Is this according to the specs? Also, the docs mention that passing a NULL argument will disable timestamping, but Wx::Log::SetTimestamp(undef); Wx::LogMessage("Hi: %s", "xxx"); Yields: Gtk-CRITICAL **: file gtktextbuffer.c: line 557 (gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len, NULL)' failed -- Johan |