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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user