VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-16 15:14:36 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-16 15:15:55 +0100
commit27c2fc06c298237c691adc752ed6511b04a42eac (patch)
treed455ed7c82b71a35a12f7fb3fd6acce1e70d2687 /src
parentdda7ea60004cfb701cff3fbac97798a672d77523 (diff)
downloadVeraCrypt-27c2fc06c298237c691adc752ed6511b04a42eac.tar.gz
VeraCrypt-27c2fc06c298237c691adc752ed6511b04a42eac.zip
Linux: Fix build error when linking with old wxWidgets version
Diffstat (limited to 'src')
-rw-r--r--src/Main/Forms/MainFrame.h4
1 files changed, 3 insertions, 1 deletions
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 <wx/display.h>
+#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
{