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:
@@ -87,7 +87,9 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
|
|||||||
int maximum,
|
int maximum,
|
||||||
wxWindow *parent,
|
wxWindow *parent,
|
||||||
int style)
|
int style)
|
||||||
: wxDialog(parent, -1, title)
|
: wxDialog(parent, -1, title,
|
||||||
|
wxDefaultPosition, wxDefaultSize,
|
||||||
|
wxDEFAULT_DIALOG_STYLE | wxDIALOG_NO_PARENT)
|
||||||
{
|
{
|
||||||
m_windowStyle |= style;
|
m_windowStyle |= style;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user