X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eac90854bd92def117248aa59927289b7e1d5c6a..487f2d58e9d1c28cc54e9800affd91623adadac7:/include/wx/msw/glcanvas.h diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index a12a47b6c1..db3a6149df 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "glcanvas.h" #endif @@ -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();