X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4660d7e5d656bd63c6ba410e6bf36486e7a77d4e..99ab3e3f56ab43fe1127eb565cad1a619cad0499:/include/wx/mac/glcanvas.h?ds=sidebyside diff --git a/include/wx/mac/glcanvas.h b/include/wx/mac/glcanvas.h index c0b1f9e30a..a5465fcc5b 100644 --- a/include/wx/mac/glcanvas.h +++ b/include/wx/mac/glcanvas.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) # pragma interface "glcanvas.h" #endif @@ -114,6 +114,10 @@ class WXDLLEXPORT wxGLCanvas: public wxWindow // It sets the viewport correctly and update the context. // You shouldn't call glViewport yourself either (use SetViewport if you must reset it.) void OnSize(wxSizeEvent& event); + + virtual void MacSuperChangedPosition() ; + virtual void MacTopLevelWindowChangedPosition() ; + void MacUpdateView() ; inline wxGLContext* GetContext() const { return m_glContext; }