destroy the abort dialog when done with it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2009-01-18 21:33:21 +00:00
parent fc1e45d95b
commit 861eef72aa

View File

@@ -512,6 +512,7 @@ void wxPrintAbortDialog::OnCancel(wxCommandEvent& WXUNUSED(event))
wxPrinterBase::sm_abortIt = true;
wxPrinterBase::sm_abortWindow->Show(false);
wxPrinterBase::sm_abortWindow->Close(true);
wxPrinterBase::sm_abortWindow->Destroy();
wxPrinterBase::sm_abortWindow = (wxWindow *) NULL;
}