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
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F

View File

@ -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
{