From: Steve Lamerton Date: Thu, 5 May 2011 20:51:49 +0000 (+0000) Subject: Minor fixes to allow web sample to compile X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5771c1aa77fc69bb8af9d9816bd82a3db8f3bebe Minor fixes to allow web sample to compile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/web/web.bkl b/samples/web/web.bkl index 02b5bce266..9c7fe77d9c 100644 --- a/samples/web/web.bkl +++ b/samples/web/web.bkl @@ -14,6 +14,10 @@ web stc ../sample.rc + + + $(LIB_SCINTILLA) + diff --git a/samples/web/web.cpp b/samples/web/web.cpp index b5ad05da5e..c22ebaa6e1 100644 --- a/samples/web/web.cpp +++ b/samples/web/web.cpp @@ -585,7 +585,7 @@ bool wxMiniApp::OnInit() wxCommandEventHandler(wxMiniApp::onSetZoom), NULL, this ); // ---- Create the web view - m_browser_ctrl = wxWebView::GetNew(mainpane, wxID_ANY); + m_browser_ctrl = wxWebView::New(mainpane, wxID_ANY); // ---- Create the notification panel {