title: Attaching the console with the GUI in wxWidgets
body: <p>I'm writing a wxWidgets GUI application, but it also uses some console objects.</p>
  
  <p>I need a way of displaying stdout and accessing stdin; the best way to do this, would be displaying the console as well as the GUI.  This can be done if a user runs the program from the command prompt/shell etc, but the command prompt does not automatically open to view stdout when the application is ran.</p>
  
  <p>I know this has to be possible, because when you run a console application, the console runs automatically.  I found one or two solutions that require the Windows API, but sadly my code needs to be cross platform (I'm developing this on Linux).</p>