1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Linux: Fix build error when linking with old wxWidgets version

This commit is contained in:
Mounir IDRASSI
2019-12-16 15:14:36 +01:00
parent dda7ea6000
commit 27c2fc06c2

View File

@@ -15,7 +15,9 @@
#include "Forms.h" #include "Forms.h"
#include "ChangePasswordDialog.h" #include "ChangePasswordDialog.h"
#ifdef TC_MACOSX
#include <wx/display.h> #include <wx/display.h>
#endif
namespace VeraCrypt namespace VeraCrypt
{ {
@@ -165,7 +167,6 @@ namespace VeraCrypt
#ifdef TC_MACOSX #ifdef TC_MACOSX
void OnMoveHandler(wxMoveEvent& event); void OnMoveHandler(wxMoveEvent& event);
#endif
void EnsureVisible(bool bOnlyHeadingBar = false) void EnsureVisible(bool bOnlyHeadingBar = false)
{ {
@@ -191,6 +192,7 @@ namespace VeraCrypt
if (bMove) if (bMove)
Move (p); Move (p);
} }
#endif
struct VolumeActivityMapEntry struct VolumeActivityMapEntry
{ {