VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-16 14:14:36 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-16 14:15:55 (GMT)
commit27c2fc06c298237c691adc752ed6511b04a42eac (patch)
treed455ed7c82b71a35a12f7fb3fd6acce1e70d2687 /src/Main
parentdda7ea60004cfb701cff3fbac97798a672d77523 (diff)
downloadVeraCrypt-27c2fc06c298237c691adc752ed6511b04a42eac.zip
VeraCrypt-27c2fc06c298237c691adc752ed6511b04a42eac.tar.gz
Linux: Fix build error when linking with old wxWidgets version
Diffstat (limited to 'src/Main')
-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 d481daf..414ecca 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
{