diff --git a/src/editing_area.cpp b/src/editing_area.cpp index 7ae813a593..2b17722843 100644 --- a/src/editing_area.cpp +++ b/src/editing_area.cpp @@ -42,6 +42,10 @@ #include #include +#if !wxCHECK_VERSION(3,1,0) + #define CenterVertical() Center() +#endif + #include diff --git a/src/menus.cpp b/src/menus.cpp index d031e4e2ee..f2cba8fa9d 100644 --- a/src/menus.cpp +++ b/src/menus.cpp @@ -25,7 +25,10 @@ #include "menus.h" +#ifdef __WXOSX__ #include "macos_helpers.h" +#endif + #include "recent_files.h" #include "str_helpers.h"