needed to compile with clang
old
|
new
|
|
14 | 14 | #include <wx/string.h> |
15 | 15 | //*) |
16 | 16 | |
| 17 | #include <algorithm> |
17 | 18 | #include <sdk.h> |
18 | 19 | #include <manager.h> |
19 | 20 | #include <configmanager.h> |
… |
… |
END_EVENT_TABLE() |
90 | 91 | |
91 | 92 | LibrariesDlg::LibrariesDlg(wxWindow* parent, TypedResults& knownLibraries) |
92 | 93 | : m_KnownLibraries(knownLibraries) |
93 | | , m_WorkingCopy(knownLibraries) |
94 | 94 | , m_SelectedConfig(0) |
95 | 95 | , m_WhileUpdating(false) |
96 | 96 | { |
… |
… |
LibrariesDlg::LibrariesDlg(wxWindow* parent, TypedResults& knownLibraries) |
124 | 124 | wxBoxSizer* BoxSizer3; |
125 | 125 | wxStdDialogButtonSizer* StdDialogButtonSizer1; |
126 | 126 | |
| 127 | std::copy(m_KnownLibraries, m_KnownLibraries+sizeof(m_WorkingCopy)/sizeof(m_WorkingCopy[0]), m_WorkingCopy); |
| 128 | |
127 | 129 | Create(parent, wxID_ANY, _("Registered libraries"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER, _T("wxID_ANY")); |
128 | 130 | BoxSizer1 = new wxBoxSizer(wxVERTICAL); |
129 | 131 | BoxSizer16 = new wxBoxSizer(wxHORIZONTAL); |