X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b412f9be504e07559a98ae234f30bb1bd0b2aa1f..21422dd796b2895e12fb2df4f3353d6cc9004d15:/samples/wxpoem/wxpoem.h diff --git a/samples/wxpoem/wxpoem.h b/samples/wxpoem/wxpoem.h index d61fba8b18..ea2e00e40f 100644 --- a/samples/wxpoem/wxpoem.h +++ b/samples/wxpoem/wxpoem.h @@ -29,7 +29,7 @@ class MyApp: public wxApp DECLARE_APP(MyApp) // Define a new canvas which can receive some events -class MyCanvas: public wxPanel +class MyCanvas: public wxWindow { public: MyCanvas(wxFrame *frame, wxWindowID id, const wxPoint& pos, const wxSize& size);