git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68634
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxControl::Create(parent, winID, pos, size, style, wxDefaultValidator, name);
#if wxOSX_USE_CARBON
wxControl::Create(parent, winID, pos, size, style, wxDefaultValidator, name);
#if wxOSX_USE_CARBON
m_webView = [[WebView alloc] initWithFrame:r
frameName:@"webkitFrame"
groupName:@"webkitGroup"];
m_webView = [[WebView alloc] initWithFrame:r
frameName:@"webkitFrame"
groupName:@"webkitGroup"];
- m_peer = new wxWidgetCocoaImpl( this, m_webView );
+ SetPeer(new wxWidgetCocoaImpl( this, m_webView ));
#endif
MacPostControlCreate(pos, size);
#endif
MacPostControlCreate(pos, size);