X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..3684ade82ec6f5fb7ff72341e26060b6ea0793c8:/include/wx/msw/glcanvas.h diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index f709f3ef3c..db3a6149df 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -104,6 +104,10 @@ class WXDLLIMPEXP_GL wxGLCanvas: public wxWindow const wxPoint& pos, const wxSize& size, long style, const wxString& name); void SetCurrent(); + #ifdef __WXUNIVERSAL__ + virtual bool SetCurrent(bool doit = true){ return wxWindow::SetCurrent(doit); }; + #endif + void SetColour(const wxChar *colour); void SwapBuffers();