X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ded2661ab0b63742ea3bc612164e5a8120a649ec:/demos/poem/wxpoem.h?ds=inline diff --git a/demos/poem/wxpoem.h b/demos/poem/wxpoem.h index 6f84d621fe..605ed69fa5 100644 --- a/demos/poem/wxpoem.h +++ b/demos/poem/wxpoem.h @@ -29,7 +29,7 @@ class MyCanvas: public wxWindow { public: MyCanvas(wxFrame *frame); - ~MyCanvas(); + virtual ~MyCanvas(); void OnPaint(wxPaintEvent& event); void OnMouseEvent(wxMouseEvent& event); @@ -47,7 +47,7 @@ class MainWindow: public wxFrame public: MyCanvas *canvas; MainWindow(wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style); - ~MainWindow(); + virtual ~MainWindow(); void OnCloseWindow(wxCloseEvent& event); void OnChar(wxKeyEvent& event);