VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
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 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
{