I was trying to create a log window to write the status of my work as I go along so I can see where I am in the process.
If I don't touch anything, all works well, but in the background I want to bring up a DOS window (this is Windows btw),
to see the status of the db I am building in the background...when I do that the all the data in the log window disappears
and I don't see the status info in that window again until all work has completed and then it is all written at once.
Here is what I was doing...
Code: Select all
wxLogWindow *lw = new wxLogWindow(this, -1, true, false) lw -> SetVerbose(true); wxLog::SetActiveTarget(lw); wxLogMessage(wxT("Beginning Work")); ....(intensive work) wxLogMessage(wxT("Status Check Point 1")); ...(more intensive work) wxLogMessage(wxT("Status Check Point 2")); ...