I'd like to know if anybody knows some good example code on how to work with wxLog, esp. with wxLogBuffer.
My goal is to write log entries to some string buffer that i can access later on. In fact i would like to view/copy this buffer in a text control when i open the gui again. But when I call getBuffer() it is almost empty.
Thank you.
wxLog examples
Re: wxLog examples
What exactly is the issue, can you not do something like the code linked below, except to store the log entries e.g. in a std::vector<wxString> instead of writing to a file?
viewtopic.php?t=42551#p172677
viewtopic.php?t=42551#p172677