X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c9955d147ed92cdd79d795ed94d6e03fca06a52..084db46c8b4f3f8d5e6a5f55e09e04f5a680c8a5:/contrib/src/ogl/canvas.cpp diff --git a/contrib/src/ogl/canvas.cpp b/contrib/src/ogl/canvas.cpp index 30640a68bd..77fa05b67e 100644 --- a/contrib/src/ogl/canvas.cpp +++ b/contrib/src/ogl/canvas.cpp @@ -24,7 +24,9 @@ #include #endif +#if wxUSE_DEPRECATED #include +#endif #ifdef new #undef new @@ -62,7 +64,7 @@ BEGIN_EVENT_TABLE(wxShapeCanvas, wxScrolledWindow) EVT_MOUSE_EVENTS(wxShapeCanvas::OnMouseEvent) END_EVENT_TABLE() -wxChar* wxShapeCanvasNameStr = wxT("shapeCanvas"); +const wxChar* wxShapeCanvasNameStr = wxT("shapeCanvas"); // Object canvas wxShapeCanvas::wxShapeCanvas(wxWindow *parent, wxWindowID id,