fix handling of native toolkit command line options broken by wxCmdLineArgsArray change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-10 19:40:21 +00:00
parent f59be7c6bc
commit 4f6b94a33a
3 changed files with 8 additions and 5 deletions

View File

@@ -167,16 +167,12 @@ wxAppConsoleBase::~wxAppConsoleBase()
// initilization/cleanup
// ----------------------------------------------------------------------------
bool wxAppConsoleBase::Initialize(int& argcOrig, wxChar **argvOrig)
bool wxAppConsoleBase::Initialize(int& WXUNUSED(argc), wxChar **WXUNUSED(argv))
{
#if wxUSE_INTL
GetTraits()->SetLocale();
#endif // wxUSE_INTL
// remember the command line arguments
argc = argcOrig;
argv = argvOrig;
#if wxUSE_THREADS
wxPendingEventsLocker = new wxCriticalSection;
#endif