From: Stefan Csomor Date: Sun, 4 Nov 2001 20:42:33 +0000 (+0000) Subject: added internal callback when toplevel windows move for opengl canvas X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fce5f505f14e4d130c33761c7f92bfd447256eb0 added internal callback when toplevel windows move for opengl canvas git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/glcanvas.h b/include/wx/mac/glcanvas.h index c0b1f9e30a..5231ed7196 100644 --- a/include/wx/mac/glcanvas.h +++ b/include/wx/mac/glcanvas.h @@ -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; }