// Author: Karsten Ballueder
// Modified by:
// Created: 09.05.1999
-// RCS-ID: $Id$
// Copyright: (c) Karsten Ballueder
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
Create( title, message, maximum, parent, style );
}
+void wxGenericProgressDialog::SetTopParent(wxWindow* parent)
+{
+ m_parentTop = GetParentForModalDialog(parent, GetWindowStyle());
+}
+
bool wxGenericProgressDialog::Create( const wxString& title,
const wxString& message,
int maximum,
wxWindow *parent,
int style )
{
+ SetTopParent(parent);
+
m_parentTop = wxGetTopLevelParent(parent);
m_pdStyle = style;