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
This commit is contained in:
@@ -115,6 +115,10 @@ class WXDLLEXPORT wxGLCanvas: public wxWindow
|
|||||||
// You shouldn't call glViewport yourself either (use SetViewport if you must reset it.)
|
// You shouldn't call glViewport yourself either (use SetViewport if you must reset it.)
|
||||||
void OnSize(wxSizeEvent& event);
|
void OnSize(wxSizeEvent& event);
|
||||||
|
|
||||||
|
virtual void MacSuperChangedPosition() ;
|
||||||
|
virtual void MacTopLevelWindowChangedPosition() ;
|
||||||
|
void MacUpdateView() ;
|
||||||
|
|
||||||
inline wxGLContext* GetContext() const { return m_glContext; }
|
inline wxGLContext* GetContext() const { return m_glContext; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Reference in New Issue
Block a user