VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--src/Main/Forms/MainFrame.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 724f64ab..9d22f88a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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;