mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX: [STUDIO-1503] events bind after recreate webview
Change-Id: I90ab03a43c5bedb7a89ee50a2ead91ddf5bdf8c3
This commit is contained in:
parent
eca5897a25
commit
b60cabef28
2 changed files with 10 additions and 10 deletions
|
@ -236,9 +236,9 @@ void MarkdownTip::RunScript(std::string const& script)
|
|||
wxWebView* MarkdownTip::CreateTipView(wxWindow* parent)
|
||||
{
|
||||
wxWebView *tipView = WebView::CreateWebView(parent, "");
|
||||
tipView->Bind(wxEVT_WEBVIEW_LOADED, &MarkdownTip::OnLoaded, this);
|
||||
tipView->Bind(wxEVT_WEBVIEW_TITLE_CHANGED, &MarkdownTip::OnTitleChanged, this);
|
||||
tipView->Bind(wxEVT_WEBVIEW_ERROR, &MarkdownTip::OnError, this);
|
||||
Bind(wxEVT_WEBVIEW_LOADED, &MarkdownTip::OnLoaded, this);
|
||||
Bind(wxEVT_WEBVIEW_TITLE_CHANGED, &MarkdownTip::OnTitleChanged, this);
|
||||
Bind(wxEVT_WEBVIEW_ERROR, &MarkdownTip::OnError, this);
|
||||
return tipView;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue