fix Sun CC warning about name clash between the method parameters and member variables argc/argv

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-06-22 14:52:37 +00:00
parent 80f8355d66
commit 3bc8edd575

View File

@@ -15,9 +15,11 @@
#include <signal.h>
#include <unistd.h>
bool wxAppConsole::Initialize(int& argc, wxChar** argv)
// use unusual names for arg[cv] to avoid clashes with wxApp members with the
// same names
bool wxAppConsole::Initialize(int& argc_, wxChar** argv_)
{
if ( !wxAppConsoleBase::Initialize(argc,argv) )
if ( !wxAppConsoleBase::Initialize(argc_, argv_) )
return false;
sigemptyset(&m_signalsCaught);