VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/MainFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main/Forms/MainFrame.h')
-rw-r--r--src/Main/Forms/MainFrame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/MainFrame.h b/src/Main/Forms/MainFrame.h
index 44329459..9089ce72 100644
--- a/src/Main/Forms/MainFrame.h
+++ b/src/Main/Forms/MainFrame.h
@@ -170,7 +170,7 @@ namespace VeraCrypt
void EnsureVisible(bool bOnlyHeadingBar = false)
{
- wxDisplay display;
+ wxDisplay display (this);
wxRect displayRect = display.GetClientArea();
bool bMove = false;