]> git.saurik.com Git - wxWidgets.git/commitdiff
destroy the abort dialog when done with it
authorRobin Dunn <robin@alldunn.com>
Sun, 18 Jan 2009 21:33:21 +0000 (21:33 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 18 Jan 2009 21:33:21 +0000 (21:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/prntbase.cpp

index 27c8491cc36650b75bbff70fc93078704cac4036..3f767ded9658a4938a755ecdd5a00e204aeedae3 100644 (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;
 }