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
This commit is contained in:
Steve Lamerton
2011-05-05 20:51:49 +00:00
parent 9c805dec6c
commit 5771c1aa77
2 changed files with 5 additions and 1 deletions

View File

@@ -14,6 +14,10 @@
<wx-lib>web</wx-lib>
<wx-lib>stc</wx-lib>
<win32-res>../sample.rc</win32-res>
<if cond="OUT_OF_TREE_MAKEFILES=='0'">
<sys-lib>$(LIB_SCINTILLA)</sys-lib>
</if>
</exe>
</makefile>

View File

@@ -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
{