]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed frame style
authorKarsten Ballüder <ballueder@usa.net>
Fri, 25 Jun 1999 18:11:19 +0000 (18:11 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Fri, 25 Jun 1999 18:11:19 +0000 (18:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/progdlgg.cpp

index 8bb26d9041ad5272e78fe8e32fd73b5c1707756c..deec0a9b05512a19c7044cf5769760f61c74677b 100644 (file)
@@ -62,7 +62,8 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
    m_parent = parent;
    m_maximum = maximum;
 
    m_parent = parent;
    m_maximum = maximum;
 
-   wxFrame::Create(m_parent, -1, title);
+   wxFrame::Create(m_parent, -1, title, wxDefaultPosition,
+                   wxDefaultSize, wxDEFAULT_DIALOG_STYLE);
    SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
 
    wxLayoutConstraints *c;
    SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
 
    wxLayoutConstraints *c;