title: wxWidgets and logging
body: <p>I cannot redirect log messages when building GUI applications in wxWidgets. I've tried the following snippet</p>
  
  <pre><code>delete wxLog::SetActiveTarget(new wxLogStderr()) ;
  </code></pre>
  
  <p>so that every call to wxLogXXX would cause a message to be print in the standard error output, not as a message dialog presented to the user. However, it had no effect, and logs continue to be present as dialog messages.</p>
  
  <p>Am I missing something?</p>
  
  <p>Regards.</p>