Fixing wxGLCanvas under 10.14, preparing for layer based drawing

see https://github.com/wxWidgets/wxWidgets/pull/846 , thanks to dkulp
This commit is contained in:
Stefan Csomor
2018-06-30 16:57:57 +02:00
parent 24dbe9775c
commit 2ab430965c
6 changed files with 364 additions and 72 deletions

View File

@@ -158,7 +158,6 @@ public:
// implementation-only from now on
protected:
#if wxOSX_USE_IPHONE
bool DoCreate(wxWindow *parent,
wxWindowID id,
const wxPoint& pos,
@@ -166,7 +165,6 @@ protected:
long style,
const wxString& name);
#endif
WXGLPixelFormat m_glFormat;
wxGLAttributes m_GLAttrs;