]> git.saurik.com Git - wxWidgets.git/commitdiff
added internal callback when toplevel windows move for opengl canvas
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 4 Nov 2001 20:42:33 +0000 (20:42 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 4 Nov 2001 20:42:33 +0000 (20:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/glcanvas.h

index c0b1f9e30a2b1e820b20a7a7664d55bb5facb0e2..5231ed7196d5af60cc37462d0122b523e287003b 100644 (file)
@@ -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; }