FIX: remove some warnings
jira: [none] Change-Id: I0e74b7316d0efe38c65e1f695b2a09eb09103552 (cherry picked from commit 766c6e004145325bcc7a6addfce27842ee9504de)
This commit is contained in:
@@ -71,14 +71,14 @@ namespace GUI {
|
||||
m_control_back->SetToolTip(_L("Click to return") + "(" + _L("Alt+") + _L("Left Arrow") + ")");
|
||||
m_control_forward->SetToolTip(_L("Click to continue") + "(" + _L("Alt+") + _L("Right Arrow") + ")");
|
||||
#endif
|
||||
|
||||
|
||||
m_control_refresh->SetToolTip(_L("Refresh"));
|
||||
/* auto m_textCtrl1 = new wxTextCtrl(m_web_control_panel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(600, 30), 0);
|
||||
auto m_button1 = new wxButton(m_web_control_panel, wxID_ANY, wxT("GO"), wxDefaultPosition, wxDefaultSize, 0);
|
||||
m_button1->Bind(wxEVT_BUTTON, [this,m_textCtrl1](auto& e) {
|
||||
go_to_url(m_textCtrl1->GetValue());
|
||||
});*/
|
||||
|
||||
|
||||
m_sizer_web_control->Add( m_control_back, 0, wxALIGN_CENTER | wxLEFT, FromDIP(26) );
|
||||
m_sizer_web_control->Add(m_control_forward, 0, wxALIGN_CENTER | wxLEFT, FromDIP(26));
|
||||
m_sizer_web_control->Add(m_control_refresh, 0, wxALIGN_CENTER | wxLEFT, FromDIP(26));
|
||||
@@ -125,11 +125,11 @@ namespace GUI {
|
||||
json j = json::parse(strInput.utf8_string());
|
||||
|
||||
wxString strCmd = j["command"];
|
||||
|
||||
|
||||
if(strCmd == "request_close_publish_window") {
|
||||
this->Hide();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
catch (std::exception&) {
|
||||
// wxMessageBox(e.what(), "json Exception", MB_OK);
|
||||
@@ -179,7 +179,7 @@ namespace GUI {
|
||||
WebView::LoadUrl(m_browser, url);
|
||||
}
|
||||
|
||||
void ModelMallDialog::show_control(bool show)
|
||||
void ModelMallDialog::show_control(bool show)
|
||||
{
|
||||
m_web_control_panel->Show(show);
|
||||
Layout();
|
||||
|
||||
Reference in New Issue
Block a user