We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 216b92c + 2de875f commit 9fe099fCopy full SHA for 9fe099f
Source/GUI/WxWidgets/GUI_Main_HTML.cpp
@@ -48,11 +48,8 @@ GUI_Main_HTML::~GUI_Main_HTML()
48
//---------------------------------------------------------------------------
49
void GUI_Main_HTML::GUI_Refresh()
50
{
51
- std::string Temp(wxConvUTF8.cWX2MB(C->Inform_Get().c_str()));
52
- wxFileSystem::AddHandler(new wxMemoryFSHandler);
53
- wxMemoryFSHandler::AddFile(__T("index.html"), Temp.c_str(), Temp.size());
54
- LoadPage(__T("memory:index.html"));
55
- wxMemoryFSHandler::RemoveFile(__T("index.html"));
+ wxString Temp=C->Inform_Get();
+ SetPage(Temp);
56
}
57
58
void GUI_Main_HTML::GUI_Resize()
0 commit comments