From fce5f505f14e4d130c33761c7f92bfd447256eb0 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 4 Nov 2001 20:42:33 +0000 Subject: [PATCH] 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 --- include/wx/mac/glcanvas.h | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.50.0