diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index c25634410e..5c9090116c 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -56,6 +56,7 @@ public: wxGLContext(wxGLCanvas *win, const wxGLContext* other=NULL /* for sharing display lists */ ); virtual ~wxGLContext(); + void SetCurrent(const wxGLCanvas& win) const; inline HGLRC GetGLRC() const { return m_glContext; } protected: