VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main/Forms')
-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 9089ce72..44329459 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 (this);
+ wxDisplay display;
wxRect displayRect = display.GetClientArea();
bool bMove = false;