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 {