avoid implicitly converting a wxWindow* to wxGLCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,6 +46,7 @@ private:
|
|||||||
class WXDLLIMPEXP_GL wxGLCanvas : public wxGLCanvasBase
|
class WXDLLIMPEXP_GL wxGLCanvas : public wxGLCanvasBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
wxEXPLICIT // avoid implicitly converting a wxWindow* to wxGLCanvas
|
||||||
wxGLCanvas(wxWindow *parent,
|
wxGLCanvas(wxWindow *parent,
|
||||||
wxWindowID id = wxID_ANY,
|
wxWindowID id = wxID_ANY,
|
||||||
const int *attribList = NULL,
|
const int *attribList = NULL,
|
||||||
|
Reference in New Issue
Block a user