Attempt to avoid crash on exit on Solaris 10

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-10-07 21:08:00 +00:00
parent 3006edc092
commit df7e062c8c

View File

@@ -122,7 +122,11 @@ void wxApp::CleanUp()
it != end; ++it )
{
delete it->second->m_visualInfo;
// On Solaris 10 calling XtDestroyWidget on the top level widget
// dumps core if the locale is set to something other than "C"
#ifndef __SUN__
XtDestroyWidget( it->second->m_topLevelWidget );
#endif
delete it->second;
}