From: <gua...@us...> - 2013-12-11 10:09:52
|
Revision: 5547 http://sourceforge.net/p/moneymanagerex/code/5547 Author: guanlisheng Date: 2013-12-11 10:09:49 +0000 (Wed, 11 Dec 2013) Log Message: ----------- add memory file handler Modified Paths: -------------- trunk/src/mmreportspanel.cpp Modified: trunk/src/mmreportspanel.cpp =================================================================== --- trunk/src/mmreportspanel.cpp 2013-12-11 09:15:26 UTC (rev 5546) +++ trunk/src/mmreportspanel.cpp 2013-12-11 10:09:49 UTC (rev 5547) @@ -24,6 +24,7 @@ #include "model/Model_Account.h" #include "model/Model_Checking.h" #include <wx/webview.h> +#include <wx/webviewfshandler.h> BEGIN_EVENT_TABLE(mmReportsPanel, wxPanel) EVT_HTML_LINK_CLICKED(wxID_ANY, mmReportsPanel::OnLinkClicked) @@ -87,6 +88,7 @@ itemBoxSizerVHeader->Add(itemStaticText9, 0, wxALL, 1); htmlWindow_ = wxWebView::New(this, wxID_ANY); + htmlWindow_->RegisterHandler(wxSharedPtr<wxWebViewHandler>(new wxWebViewFSHandler("memory"))); /* htmlWindow_ = new wxWebView( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |