wxApp

Is the base class for your application. You usually want to override it, and override implementations for:

  • virtual bool OnInit()

  • virtual int OnExit()

There are also some other functions that can be overriden. Please see the wxWidgets documentation if you're interested.

The most important step in the initialization is to create a frame, make it visible, and make sure it is the top window.