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.