diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-12-16 15:14:36 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-12-16 15:15:55 +0100 |
commit | 27c2fc06c298237c691adc752ed6511b04a42eac (patch) | |
tree | d455ed7c82b71a35a12f7fb3fd6acce1e70d2687 | |
parent | dda7ea60004cfb701cff3fbac97798a672d77523 (diff) | |
download | VeraCrypt-27c2fc06c298237c691adc752ed6511b04a42eac.tar.gz VeraCrypt-27c2fc06c298237c691adc752ed6511b04a42eac.zip |
Linux: Fix build error when linking with old wxWidgets version
-rw-r--r-- | src/Main/Forms/MainFrame.h | 4 |
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 @@ | |||
15 | 15 | ||
16 | #include "Forms.h" | 16 | #include "Forms.h" |
17 | #include "ChangePasswordDialog.h" | 17 | #include "ChangePasswordDialog.h" |
18 | #ifdef TC_MACOSX | ||
18 | #include <wx/display.h> | 19 | #include <wx/display.h> |
20 | #endif | ||
19 | 21 | ||
20 | namespace VeraCrypt | 22 | namespace VeraCrypt |
21 | { | 23 | { |
@@ -165,7 +167,6 @@ namespace VeraCrypt | |||
165 | 167 | ||
166 | #ifdef TC_MACOSX | 168 | #ifdef TC_MACOSX |
167 | void OnMoveHandler(wxMoveEvent& event); | 169 | void OnMoveHandler(wxMoveEvent& event); |
168 | #endif | ||
169 | 170 | ||
170 | void EnsureVisible(bool bOnlyHeadingBar = false) | 171 | void EnsureVisible(bool bOnlyHeadingBar = false) |
171 | { | 172 | { |
@@ -191,6 +192,7 @@ namespace VeraCrypt | |||
191 | if (bMove) | 192 | if (bMove) |
192 | Move (p); | 193 | Move (p); |
193 | } | 194 | } |
195 | #endif | ||
194 | 196 | ||
195 | struct VolumeActivityMapEntry | 197 | struct VolumeActivityMapEntry |
196 | { | 198 | { |