Remember to destroy the 3d dialog

If we don't call Destroy() on close event callback i'm not
able to quit fully from wx frontend if i've previously
launched the 3d viewer.
This commit is contained in:
riccardom 2010-04-05 14:40:08 +00:00
parent 168c08ae11
commit ba023fa075
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ void wxdlg3dViewer::OnCloseWindow( wxCloseEvent& event )
{ {
event.Skip(); event.Skip();
Destroy();
} }