"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/interface/inputdialog.cpp" between
FileZilla_3.48.0_src.tar.bz2 and FileZilla_3.48.1_src.tar.bz2

About: FileZilla is a fast and feature-rich cross-platform FTP, FTPS and SFTP client with an intuitive graphical user interface.

inputdialog.cpp  (FileZilla_3.48.0_src.tar.bz2):inputdialog.cpp  (FileZilla_3.48.1_src.tar.bz2)
skipping to change at line 31 skipping to change at line 31
if (max_len != -1) { if (max_len != -1) {
textCtrl_->SetMaxLength(max_len); textCtrl_->SetMaxLength(max_len);
} }
auto * buttons = lay.createButtonSizer(this, main, true); auto * buttons = lay.createButtonSizer(this, main, true);
auto ok = new wxButton(this, wxID_OK, _("&OK")); auto ok = new wxButton(this, wxID_OK, _("&OK"));
ok->SetDefault(); ok->SetDefault();
buttons->AddButton(ok); buttons->AddButton(ok);
auto cancel = new wxButton(this, wxID_CANCEL, _("&Cancel")); auto cancel = new wxButton(this, wxID_CANCEL, _("Cancel"));
buttons->AddButton(cancel); buttons->AddButton(cancel);
buttons->Realize(); buttons->Realize();
auto onButton = [this](wxEvent& evt) {EndModal(evt.GetId()); }; auto onButton = [this](wxEvent& evt) {EndModal(evt.GetId()); };
ok->Bind(wxEVT_BUTTON, onButton); ok->Bind(wxEVT_BUTTON, onButton);
cancel->Bind(wxEVT_BUTTON, onButton); cancel->Bind(wxEVT_BUTTON, onButton);
GetSizer()->Fit(this); GetSizer()->Fit(this);
WrapRecursive(this, 2.0); WrapRecursive(this, 2.0);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)