Added wxTheApp = this; to wxApp::wxApp for wxPython

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1998-08-18 19:57:02 +00:00
parent 4540e33bb6
commit 0cf2cb360f
2 changed files with 74 additions and 72 deletions

View File

@@ -82,6 +82,7 @@ wxApp::wxApp()
m_idleTag = 0;
m_topWindow = NULL;
m_exitOnFrameDelete = TRUE;
wxTheApp = this;
}
wxApp::~wxApp(void)
@@ -402,7 +403,7 @@ int wxEntry( int argc, char *argv[] )
// main()
//-----------------------------------------------------------------------------
#if defined(AIX) || defined(AIX4) || defined(____HPUX__)
#if defined(AIX) || defined(AIX4) || defined(____HPUX__) || defined(NOMAIN)
// main in IMPLEMENT_WX_MAIN in IMPLEMENT_APP in app.h

View File

@@ -82,6 +82,7 @@ wxApp::wxApp()
m_idleTag = 0;
m_topWindow = NULL;
m_exitOnFrameDelete = TRUE;
wxTheApp = this;
}
wxApp::~wxApp(void)
@@ -402,7 +403,7 @@ int wxEntry( int argc, char *argv[] )
// main()
//-----------------------------------------------------------------------------
#if defined(AIX) || defined(AIX4) || defined(____HPUX__)
#if defined(AIX) || defined(AIX4) || defined(____HPUX__) || defined(NOMAIN)
// main in IMPLEMENT_WX_MAIN in IMPLEMENT_APP in app.h