Fixed argument handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f4647740bb
commit
4bbd809849
@ -447,8 +447,6 @@ bool wxApp::OnInitGui()
|
|||||||
|
|
||||||
wxApp::wxApp()
|
wxApp::wxApp()
|
||||||
{
|
{
|
||||||
argc = 0;
|
|
||||||
argv = NULL;
|
|
||||||
m_nPrintMode = wxPRINT_WINDOWS;
|
m_nPrintMode = wxPRINT_WINDOWS;
|
||||||
m_hMq = 0;
|
m_hMq = 0;
|
||||||
m_maxSocketHandles = 0;
|
m_maxSocketHandles = 0;
|
||||||
@ -458,23 +456,11 @@ wxApp::wxApp()
|
|||||||
|
|
||||||
wxApp::~wxApp()
|
wxApp::~wxApp()
|
||||||
{
|
{
|
||||||
//
|
|
||||||
// Delete command-line args
|
|
||||||
//
|
|
||||||
#if wxUSE_UNICODE
|
|
||||||
int i;
|
|
||||||
|
|
||||||
for (i = 0; i < argc; i++)
|
|
||||||
{
|
|
||||||
delete[] argv[i];
|
|
||||||
}
|
|
||||||
delete[] argv;
|
|
||||||
#endif
|
|
||||||
} // end of wxApp::~wxApp
|
} // end of wxApp::~wxApp
|
||||||
|
|
||||||
bool gbInOnIdle = false;
|
bool gbInOnIdle = false;
|
||||||
|
|
||||||
void wxApp::OnIdle( wxIdleEvent& rEvent )
|
void wxApp::OnIdle( wxIdleEvent& WXUNUSED(rEvent) )
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Avoid recursion (via ProcessEvent default case)
|
// Avoid recursion (via ProcessEvent default case)
|
||||||
|
Loading…
Reference in New Issue
Block a user