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
This commit is contained in:
Kevin Ollivier
2004-06-18 20:08:12 +00:00
parent 1d0d154068
commit 8de5b24e54

View File

@@ -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 );