Modified demo app to use wx framework.

* Subclassed wxAppConsole and implemented OnRun().