Fix wxGLCanvas painting glitch during resize with GTK3

Newly exposed window areas would sometimes not be painted after drag resize.
This commit is contained in:
Paul Cornett
2019-06-18 09:50:27 -07:00
parent c5d73f819a
commit 8a254bf598
2 changed files with 28 additions and 0 deletions

View File

@@ -112,6 +112,9 @@ public:
// implementation from now on
virtual void GTKHandleRealized() wxOVERRIDE;
#ifdef __WXGTK3__
wxSize m_size;
#endif
#if WXWIN_COMPATIBILITY_2_8
wxGLContext *m_sharedContext;
wxGLCanvas *m_sharedContextOf;