]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appbase.cpp
fixed obscure compilation problem at line 139
[wxWidgets.git] / src / common / appbase.cpp
index fe7471e1c7993d91938a105c2df9727b49ea2f82..663e7ea67063d7c5064f7bc9ffe2fa7003b7f974 100644 (file)
@@ -207,10 +207,6 @@ int wxAppConsole::OnExit()
     delete wxConfigBase::Set((wxConfigBase *) NULL);
 #endif // wxUSE_CONFIG
 
-    // use Set(NULL) and not Get() to avoid creating a message output object on
-    // demand when we just want to delete it
-    delete wxMessageOutput::Set(NULL);
-
     return 0;
 }
 
@@ -734,8 +730,7 @@ static wxString GetAssertStackTrace()
             }
             else
             {
-                m_stackTrace << wxString::Format(_T("0x%08p"),
-                                                 frame.GetAddress());
+                m_stackTrace << wxString::Format(_T("%p"), frame.GetAddress());
             }
 
             if ( frame.HasSourceLocation() )