From fccec60fec9336e38be9f8054f1462a85fc56ec8 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 27 Mar 2012 23:14:42 +0000 Subject: [PATCH] Center the load/unload dialog over the main window Originally committed to SVN as r6620. --- aegisub/src/frame_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/frame_main.cpp b/aegisub/src/frame_main.cpp index d7642794e..2178467e4 100644 --- a/aegisub/src/frame_main.cpp +++ b/aegisub/src/frame_main.cpp @@ -659,7 +659,7 @@ void FrameMain::OnSubtitlesOpen() { } if (autoLoadMode == 2) { - if (wxMessageBox(_("Do you want to load/unload the associated files?"), _("(Un)Load files?"), wxYES_NO) != wxYES) { + if (wxMessageBox(_("Do you want to load/unload the associated files?"), _("(Un)Load files?"), wxYES_NO | wxCENTRE, this) != wxYES) { SetDisplayMode(1, 1); return; }