X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67547666c93ec8b13239e0d371e8c5c3873a59b9..a2615ebc22a402b1badb46475f94ab6aa3a64018:/samples/html/printing/printing.cpp diff --git a/samples/html/printing/printing.cpp b/samples/html/printing/printing.cpp index 4ccb47d74a..fe6db85c75 100644 --- a/samples/html/printing/printing.cpp +++ b/samples/html/printing/printing.cpp @@ -44,9 +44,10 @@ class MyApp : public wxApp class MyFrame : public wxFrame { public: - // ctor(s) + // ctor and dtor MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size); + virtual ~MyFrame(); // event handlers (these functions should _not_ be virtual) void OnQuit(wxCommandEvent& event); @@ -185,12 +186,18 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) m_Prn -> SetHeader(m_Name + "(@PAGENUM@/@PAGESCNT@)