From: Kevin Ollivier Date: Fri, 18 Jun 2004 20:08:12 +0000 (+0000) Subject: Fixed to work with the new wxMacControl system. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8de5b24e54bd7fec2a9e2011b2402b3f33117bd7 Fixed to work with the new wxMacControl system. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/htmlctrl/webkit/webkit.mm b/src/html/htmlctrl/webkit/webkit.mm index bdffb87a69..884b0a0257 100755 --- a/src/html/htmlctrl/webkit/webkit.mm +++ b/src/html/htmlctrl/webkit/webkit.mm @@ -145,6 +145,7 @@ bool wxWebKitCtrl::Create(wxWindow *parent, SetInitialFrameRect(pos,sizeInstance); #else m_macIsUserPane = false; + m_peer = new wxMacControl(); wxControl::Create(parent, m_windowID, pos, size, style , validator , name); WebInitForCarbon(); HIWebViewCreate( (HIViewRef*) *m_peer );