improved OSX compatibility and fixed possible crash in debug mode in Pcbnew

This commit is contained in:
charras
2009-07-20 05:18:47 +00:00
parent 527e7922ed
commit 1868bb8e3c
4 changed files with 49 additions and 21 deletions
+5
View File
@@ -68,6 +68,11 @@ WinEDA_BasicFrame::~WinEDA_BasicFrame()
if( wxGetApp().m_HtmlCtrl )
delete wxGetApp().m_HtmlCtrl;
wxGetApp().m_HtmlCtrl = NULL;
/* This needed for OSX: avoids furter OnDraw processing after this destructor
* and before the native window is destroyed
*/
this->Freeze( );
}