]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/printing/printing.cpp
Fix non-PCH builds (closes #12217)
[wxWidgets.git] / samples / html / printing / printing.cpp
index db862e7b4552225309ed89c6f8385942e4a16f60..c6390fc4130732939df9a3f351036dd5ff69fcaa 100644 (file)
@@ -223,8 +223,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
 // frame destructor
 MyFrame::~MyFrame()
 {
-    delete m_Prn;
-    m_Prn = (wxHtmlEasyPrinting *) NULL;
+    wxDELETE(m_Prn);
 }