Enabled wxNonOwnedWindow::SetShape and fixed wxPrintDialog, wxPageSetupDialog inheritage.
Removed error messages that appeared when failing to call wxApp::OnInit and wxApp:OnExit.