We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0827c08 commit 188e99eCopy full SHA for 188e99e
3 files changed
src/editing_area.cpp
@@ -42,6 +42,10 @@
42
#include <wx/statbmp.h>
43
#include <wx/stattext.h>
44
45
+#if !wxCHECK_VERSION(3,1,0)
46
+ #define CenterVertical() Center()
47
+#endif
48
+
49
#include <algorithm>
50
51
src/menus.cpp
@@ -25,7 +25,10 @@
25
26
#include "menus.h"
27
28
+#ifdef __WXOSX__
29
#include "macos_helpers.h"
30
31
32
#include "recent_files.h"
33
#include "str_helpers.h"
34
src/recent_files.cpp
@@ -609,7 +609,9 @@ void RecentFilesCtrl::RefreshContent()
609
#else
610
wxBitmap icon(m_data->icons_cache->get_large(f.GetExt()));
611
#endif
612
- wxVector<wxVariant> data{wxVariant(icon), text};
+ wxVector<wxVariant> data;
613
+ data.push_back(wxVariant(icon));
614
+ data.push_back(text);
615
AppendItem(data);
616
}
617
0 commit comments