more work on fixing wxEntry() and ANSI/Unicode cmd line args mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,19 +73,11 @@ wxAppBase::wxAppBase()
|
||||
m_exitOnFrameDelete = Later;
|
||||
}
|
||||
|
||||
bool wxAppBase::Initialize(int argc, wxChar **argv)
|
||||
bool wxAppBase::Initialize(int& argc, wxChar **argv)
|
||||
{
|
||||
if ( !wxAppConsole::Initialize(argc, argv) )
|
||||
return false;
|
||||
|
||||
// for compatibility call the old initialization function too
|
||||
if ( !OnInitGui() )
|
||||
{
|
||||
wxAppConsole::CleanUp();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
#if wxUSE_THREADS
|
||||
wxPendingEventsLocker = new wxCriticalSection;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user