]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/progdlgg.cpp
fixed typo : _ instead of wxT
[wxWidgets.git] / src / generic / progdlgg.cpp
index dd0765d2edd8e9433f6e015d8e0a23ec0732575e..b8a6a17e00a9048f93536e4462888775db4d9a5b 100644 (file)
@@ -129,7 +129,11 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
     {
         m_gauge = new wxGauge(this, -1, maximum,
                 wxDefaultPosition, wxDefaultSize,
-                wxGA_HORIZONTAL | wxRAISED_BORDER | (style & wxGA_SMOOTH));
+                wxGA_HORIZONTAL | wxRAISED_BORDER);
+// Sorry, but wxGA_SMOOTH happens to also mean wxDIALOG_MODAL and will
+// cause the dialog to be modal. Have an extra style argument to wxProgressDialog,
+// perhaps.
+//                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);