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:
@@ -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
|
||||
|
Reference in New Issue
Block a user