The progress dialogues should be centered on parent (too), certainly not on the primary monitor.

Originally committed to SVN as r2057.
This commit is contained in:
Niels Martin Hansen 2008-03-14 19:40:28 +00:00
parent 50ba0270a1
commit 426917c9a6

View file

@ -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();
}