Well, I answered my own question. There might be more than one way to
do it, but I found using the global function Wx::Log::SetActiveTarget
(new Wx::LogTextCtrl ($my_textctrl)) to work for redirecting all error
messages, as well as just instantiating a Wx::LogNull object in the
same scope as the LoadFile to mask the ones I cared about.
Joshua
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|