]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed to work with the new wxMacControl system.
authorKevin Ollivier <kevino@theolliviers.com>
Fri, 18 Jun 2004 20:08:12 +0000 (20:08 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Fri, 18 Jun 2004 20:08:12 +0000 (20:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlctrl/webkit/webkit.mm

index bdffb87a69795e4dd0646ba84d9353e581fce9dc..884b0a0257d8cbdc9b466789082fe6f463dc8438 100755 (executable)
@@ -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 );