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