X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9548f38086ae0cabeb9960c01fb35bc156aeb899..750d64e653a18b75f1a2798133a377143a2ac59e:/src/html/htmlctrl/webkit/webkit.mm diff --git a/src/html/htmlctrl/webkit/webkit.mm b/src/html/htmlctrl/webkit/webkit.mm index 7aba62891f..0f0bbda20b 100755 --- a/src/html/htmlctrl/webkit/webkit.mm +++ b/src/html/htmlctrl/webkit/webkit.mm @@ -145,7 +145,7 @@ bool wxWebKitCtrl::Create(wxWindow *parent, SetInitialFrameRect(pos,sizeInstance); #else m_macIsUserPane = false; - m_peer = new wxMacControl(); + m_peer = new wxMacControl(this); wxControl::Create(parent, m_windowID, pos, size, style , validator , name); WebInitForCarbon(); HIWebViewCreate( m_peer->GetControlRefAddr() );