Skip to content

Commit

Permalink
Compilation fixes for Linux and old wx
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Jan 23, 2021
1 parent 266d1ec commit 076c2f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/editing_area.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
#include <wx/statbmp.h>
#include <wx/stattext.h>

#if !wxCHECK_VERSION(3,1,0)
#define CenterVertical() Center()
#endif

#include <algorithm>


Expand Down
3 changes: 3 additions & 0 deletions src/menus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@

#include "menus.h"

#ifdef __WXOSX__
#include "macos_helpers.h"
#endif

#include "recent_files.h"
#include "str_helpers.h"

Expand Down

0 comments on commit 076c2f8

Please sign in to comment.