X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a9a4f2295344414e2ee4e3ec27fa5292918dff27..60372b0d54379701d62edf5595a7dc25c48330e1:/src/osx/iphone/glcanvas.mm?ds=inline diff --git a/src/osx/iphone/glcanvas.mm b/src/osx/iphone/glcanvas.mm index c15beb18c3..bfe0ce8bc6 100644 --- a/src/osx/iphone/glcanvas.mm +++ b/src/osx/iphone/glcanvas.mm @@ -382,7 +382,7 @@ bool wxGLCanvas::Create(wxWindow *parent, return false; */ #if USE_SEPARATE_VIEW - m_macIsUserPane = false ; + DontCreatePeer(); #endif if ( !wxWindow::Create(parent, id, pos, size, style, name) )