Overhaul wxWebHandler naming to try and make it consistent with the rest of wxWidgets. Split wxWebFileHandler into its own file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-07-30 14:22:15 +00:00
parent 153530afb5
commit 9e3d4a3210
10 changed files with 270 additions and 222 deletions

View File

@@ -26,6 +26,7 @@
#include <wx/notifmsg.h>
#include <wx/settings.h>
#include <wx/webview.h>
#include <wx/webviewfilehandler.h>
#include <wx/infobar.h>
#include <wx/filesys.h>
#include <wx/fs_arc.h>
@@ -191,7 +192,7 @@ WebFrame::WebFrame() : wxFrame(NULL, wxID_ANY, "wxWebView Sample")
topsizer->Add(m_browser, wxSizerFlags().Expand().Proportion(1));
//We register the test:// protocol for testing purposes
m_browser->RegisterProtocol(new wxWebFileProtocolHandler());
m_browser->RegisterHandler(new wxWebFileHandler());
SetSizer(topsizer);