.\" This is a wxWidgets manpage page generated from the XML docs .TH wxLogWindow 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxLogWindow \- Log messages to a log frame .SH DESCRIPTION This class represents a background log window: to be precise, it collects all log messages in the log frame which it manages but also passes them on to the log target which was active at the moment of its creation. This allows, for example, to show all the log messages in a frame but still continue to process them normally by showing the standard log dialog. .SH "PARENTS" wxLogPassThrough .SH "INCLUDE FILES" wx/log.h .SH MEMBERS .SS wxLogWindow (wxFrame *parentconst wxChar *titlebool show = truebool passToOld = true) Creates the log frame window and starts collecting the messages in it. .SS void Show (bool show = true) Shows or hides the frame. .SS wxFrame * GetFrame () Returns the associated log frame window. This may be used to position or resize it but use wxLogWindow::Show to show or hide it. .SS virtual void OnFrameCreate (wxFrame *frame) Called immediately after the log frame creation allowing for any extra initializations. .SS virtual bool OnFrameClose (wxFrame *frame) Called if the user closes the window interactively, will not be called if it is destroyed for another reason (such as when program exits). Return true from here to allow the frame to close, false to prevent this from happening. .SS virtual void OnFrameDelete (wxFrame *frame) Called right before the log frame is going to be deleted: will always be called unlike OnFrameClose() . .SH "SEE ALSO" wxLogPassThrough wxLogTextCtrl .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.