From 1f526a8c797c2daca2c27d9323836e4472f96ce1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 31 Jan 2008 18:27:50 +0000 Subject: [PATCH] avoid implicitly converting a wxWindow* to wxGLCanvas git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/glcanvas.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index 203816b4ea..d37a569768 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -46,6 +46,7 @@ private: class WXDLLIMPEXP_GL wxGLCanvas : public wxGLCanvasBase { public: + wxEXPLICIT // avoid implicitly converting a wxWindow* to wxGLCanvas wxGLCanvas(wxWindow *parent, wxWindowID id = wxID_ANY, const int *attribList = NULL, -- 2.50.0