wxProgressDialog now accepts wxGA_SMOOTH style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-01-16 22:55:13 +00:00
parent b250d38459
commit d0cf484622
2 changed files with 3 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
{
m_gauge = new wxGauge(this, -1, maximum,
wxDefaultPosition, wxDefaultSize,
wxGA_HORIZONTAL | wxRAISED_BORDER);
wxGA_HORIZONTAL | wxRAISED_BORDER | (style & wxGA_SMOOTH));
c = new wxLayoutConstraints;
c->left.SameAs(this, wxLeft, 2*LAYOUT_X_MARGIN);
c->top.Below(m_msg, 2*LAYOUT_Y_MARGIN);