X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8606ee50771053a38554c7d38b765a8142a1a96c..5a376169b1b6d476a2a149ddf68c0ecd9f8b6913:/src/osx/iphone/glcanvas.mm?ds=sidebyside diff --git a/src/osx/iphone/glcanvas.mm b/src/osx/iphone/glcanvas.mm index 432cde233b..bfe0ce8bc6 100644 --- a/src/osx/iphone/glcanvas.mm +++ b/src/osx/iphone/glcanvas.mm @@ -4,7 +4,7 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id: glcanvas.cpp 54129 2008-06-11 19:30:52Z SC $ +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -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) )