From 27c2fc06c298237c691adc752ed6511b04a42eac Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 16 Dec 2019 15:14:36 +0100 Subject: Linux: Fix build error when linking with old wxWidgets version --- src/Main/Forms/MainFrame.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Main/Forms/MainFrame.h b/src/Main/Forms/MainFrame.h index d481daf5..414ecca3 100644 --- a/src/Main/Forms/MainFrame.h +++ b/src/Main/Forms/MainFrame.h @@ -15,7 +15,9 @@ #include "Forms.h" #include "ChangePasswordDialog.h" +#ifdef TC_MACOSX #include +#endif namespace VeraCrypt { @@ -165,7 +167,6 @@ namespace VeraCrypt #ifdef TC_MACOSX void OnMoveHandler(wxMoveEvent& event); -#endif void EnsureVisible(bool bOnlyHeadingBar = false) { @@ -191,6 +192,7 @@ namespace VeraCrypt if (bMove) Move (p); } +#endif struct VolumeActivityMapEntry { -- cgit v1.2.3