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:
parent
168c08ae11
commit
ba023fa075
|
@ -275,6 +275,7 @@ void wxdlg3dViewer::OnCloseWindow( wxCloseEvent& event )
|
|||
{
|
||||
|
||||
event.Skip();
|
||||
Destroy();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue