diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | src/Main/Forms/MainFrame.h | 2 |
2 files changed, 1 insertions, 4 deletions
@@ -11,9 +11,6 @@ *.txt.h *.h.gch src/Main/veracrypt -*.oo -*.o.32 -*.o.64 # wxWidgets Linux build artifacts src/wxrelease 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; |