]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/printwin.cpp
Add wxDataViewRendererBase::PrepareForItem() helper.
[wxWidgets.git] / src / msw / printwin.cpp
index 37e9018b5d4d786f16accd4b9f513902e42e8b93..5dba0607ba10a0b252b2f5b3e0d779643066a950 100644 (file)
@@ -243,8 +243,7 @@ bool wxWindowsPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt
     if (sm_abortWindow)
     {
         sm_abortWindow->Show(false);
-        delete sm_abortWindow;
-        sm_abortWindow = NULL;
+        wxDELETE(sm_abortWindow);
     }
 
     delete dc;