From 426917c9a638154b9f1fd48382a2eb307266b2cc Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Fri, 14 Mar 2008 19:40:28 +0000 Subject: [PATCH] The progress dialogues should be centered on parent (too), certainly not on the primary monitor. Originally committed to SVN as r2057. --- aegisub/dialog_progress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/dialog_progress.cpp b/aegisub/dialog_progress.cpp index 6986dc059..2b836e624 100644 --- a/aegisub/dialog_progress.cpp +++ b/aegisub/dialog_progress.cpp @@ -63,7 +63,7 @@ DialogProgress::DialogProgress(wxWindow *parent,wxString title,volatile bool *ca if (cancel) MainSizer->Add(cancelButton,0,wxALIGN_CENTER | wxLEFT | wxRIGHT | wxBOTTOM,5); MainSizer->SetSizeHints(this); SetSizer(MainSizer); - Center(); + CenterOnParent(); }