fixing osx_cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -326,6 +326,7 @@ bool wxWebViewWebKit::Create(wxWindow *parent,
|
|||||||
{
|
{
|
||||||
m_busy = false;
|
m_busy = false;
|
||||||
|
|
||||||
|
DontCreatePeer();
|
||||||
wxControl::Create(parent, winID, pos, size, style, wxDefaultValidator, name);
|
wxControl::Create(parent, winID, pos, size, style, wxDefaultValidator, name);
|
||||||
|
|
||||||
#if wxOSX_USE_CARBON
|
#if wxOSX_USE_CARBON
|
||||||
@@ -348,7 +349,7 @@ bool wxWebViewWebKit::Create(wxWindow *parent,
|
|||||||
m_webView = [[WebView alloc] initWithFrame:r
|
m_webView = [[WebView alloc] initWithFrame:r
|
||||||
frameName:@"webkitFrame"
|
frameName:@"webkitFrame"
|
||||||
groupName:@"webkitGroup"];
|
groupName:@"webkitGroup"];
|
||||||
m_peer = new wxWidgetCocoaImpl( this, m_webView );
|
SetPeer(new wxWidgetCocoaImpl( this, m_webView ));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MacPostControlCreate(pos, size);
|
MacPostControlCreate(pos, size);
|
||||||
|
Reference in New Issue
Block a user