+// ----------------------------------------------------------------------------
+// initilization/cleanup
+// ----------------------------------------------------------------------------
+
+bool wxAppConsole::Initialize(int& argc, wxChar **argv)
+{
+#if wxUSE_LOG
+ // If some code logged something before wxApp instance was created,
+ // wxLogStderr was set as the target. Undo it here by destroying the
+ // current target. It will be re-created next time logging is needed, but
+ // this time wxAppTraits will be used:
+ delete wxLog::SetActiveTarget(NULL);
+#endif // wxUSE_LOG
+
+ // remember the command line arguments
+ this->argc = argc;
+ this->argv = argv;
+
+ if ( m_appName.empty() && argv )
+ {
+ // the application name is, by default, the name of its executable file
+ wxFileName::SplitPath(argv[0], NULL, &m_appName, NULL);
+ }
+
+ return true;
+}
+
+void wxAppConsole::CleanUp()
+{
+}
+