From: Vadim Zeitlin Date: Tue, 13 Sep 2005 14:30:18 +0000 (+0000) Subject: fixed Sun CC warning about arg[cv] parameters hiding wxApp members X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8d79ccefda4259a5c973a86ef5c617580bba20dc fixed Sun CC warning about arg[cv] parameters hiding wxApp members git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 07732a2d9d..701f23a342 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -144,11 +144,11 @@ wxAppConsole::~wxAppConsole() // 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 )