ENH: create new page on click of privacy policy

Change-Id: I20026514c1e880986f24716c9f473507f608cd67
This commit is contained in:
tao.jin 2023-02-16 17:07:40 +08:00 committed by Lane.Wei
parent 1b3ac0a0b6
commit e422797292
4 changed files with 38 additions and 32 deletions

View file

@ -31,9 +31,7 @@ public:
long style = wxPD_APP_MODAL| wxCAPTION
);
wxWebView* CreateTipView(wxWindow* parent);
void OnLoaded(wxWebViewEvent& event);
void OnTitleChanged(wxWebViewEvent& event);
void OnError(wxWebViewEvent& event);
void OnNavigating(wxWebViewEvent& event);
bool ShowReleaseNote(std::string content);
void RunScript(std::string script);
void set_text(std::string str) { m_mkdown_text = str; };
@ -50,6 +48,7 @@ public:
Button* m_button_ok;
Button* m_button_cancel;
std::string m_mkdown_text;
std::string m_host_url;
};
}} // namespace Slic3r::GUI