diff --git a/src/motif/app.cpp b/src/motif/app.cpp index e5381193b1..15e251c45c 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -141,7 +141,7 @@ wxApp::~wxApp() delete m_perDisplayData; - wxTheApp = NULL; + wxApp::SetInstance(NULL); } bool wxApp::Initialized()