"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/interface/dialogex.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.

dialogex.cpp  (FileZilla_3.48.0_src.tar.bz2):dialogex.cpp  (FileZilla_3.48.1_src.tar.bz2)
skipping to change at line 339 skipping to change at line 339
return item; return item;
} }
std::tuple<wxStaticBox*, wxFlexGridSizer*> DialogLayout::createStatBox(wxSizer* parent, wxString const& title, int cols, int rows) const std::tuple<wxStaticBox*, wxFlexGridSizer*> DialogLayout::createStatBox(wxSizer* parent, wxString const& title, int cols, int rows) const
{ {
auto* boxSizer = new wxStaticBoxSizer(wxHORIZONTAL, parent->GetContaining Window(), title); auto* boxSizer = new wxStaticBoxSizer(wxHORIZONTAL, parent->GetContaining Window(), title);
auto* box = boxSizer->GetStaticBox(); auto* box = boxSizer->GetStaticBox();
parent->Add(boxSizer, 1, wxGROW); parent->Add(boxSizer, 1, wxGROW);
auto* flex = createFlex(cols, rows); auto* flex = createFlex(cols, rows);
boxSizer->Add(flex, 1, wxALL|wxGROW, border); #ifdef __WXMSW__
int style = wxGROW | wxLEFT | wxBOTTOM | wxRIGHT;
int const b = dlgUnits(2);
#else
int style = wxGROW | wxALL;
int const b = border;
#endif
boxSizer->Add(flex, 1, style, b);
return std::make_tuple(box, flex); return std::make_tuple(box, flex);
} }
std::wstring LabelEscape(std::wstring const& label) std::wstring LabelEscape(std::wstring const& label)
{ {
return fz::replaced_substrings(label, L"&", L"&&"); return fz::replaced_substrings(label, L"&", L"&&");
} }
#ifdef __WXMAC__ #ifdef __WXMAC__
 End of changes. 1 change blocks. 
1 lines changed or deleted 8 lines changed or added

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