don't use implicit parent for the progress dialogs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-11-30 22:55:16 +00:00
parent 27752aab2a
commit d323d966dd

View File

@ -87,7 +87,9 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
int maximum,
wxWindow *parent,
int style)
: wxDialog(parent, -1, title)
: wxDialog(parent, -1, title,
wxDefaultPosition, wxDefaultSize,
wxDEFAULT_DIALOG_STYLE | wxDIALOG_NO_PARENT)
{
m_windowStyle |= style;