Hi! Check the API for wxLogNull.
Here's the example I copied from the helpfile:
wxFile file;
{
wxLogNull logNo;
if ( !file.Open("bar") )
... process error ourselves ...
}
wxLogMessage("..."); upcaseupCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! |