FIX:updateversiondialog be compatible with full text and web display

Change-Id: I8b8b7fc1acd090c85bda286f09effe3dad1c3a4a
This commit is contained in:
tao wang 2022-10-12 12:28:50 +08:00 committed by Lane.Wei
parent 0f1a001fd6
commit b0de324ea8
3 changed files with 84 additions and 44 deletions

View file

@ -2118,8 +2118,9 @@ bool GUI_App::on_init_inner()
if (!skip_this_version
|| evt.GetInt() != 0) {
UpdateVersionDialog dialog(this->mainframe);
//dialog.update_version_info(extmsg, version_info.version_str);
dialog.update_version_info(version_info.description);
wxString extmsg = wxString::FromUTF8(version_info.description);
dialog.update_version_info(extmsg, version_info.version_str);
//dialog.update_version_info(version_info.description);
if (evt.GetInt() != 0) {
dialog.m_remind_choice->Hide();
}