// initilization/cleanup
// ----------------------------------------------------------------------------
-bool wxAppConsole::Initialize(int& argc, wxChar **argv)
+bool wxAppConsole::Initialize(int& argcOrig, wxChar **argvOrig)
{
// remember the command line arguments
- this->argc = argc;
- this->argv = argv;
+ argc = argcOrig;
+ argv = argvOrig;
#ifndef __WXPALMOS__
if ( m_appName.empty() && argv )
{
wxString stackTrace;
-#if wxUSE_DBGHELP
- // check that we can get the stack trace before trying to do it
- if ( !wxDbgHelpDLL::Init() )
- return stackTrace;
-#endif
-
class StackDump : public wxStackWalker
{
public: