return wxDialog::Show(show);
}
+int wxProgressDialog::GetValue() const
+{
+ if (m_gauge)
+ return m_gauge->GetValue();
+ return wxNOT_FOUND;
+}
+
+int wxProgressDialog::GetRange() const
+{
+ if (m_gauge)
+ return m_gauge->GetRange();
+ return wxNOT_FOUND;
+}
+
+wxString wxProgressDialog::GetMessage() const
+{
+ return m_msg->GetLabel();
+}
+
// ----------------------------------------------------------------------------
// event handlers
// ----------------------------------------------------------------------------
{
m_msg->SetLabel(newmsg);
+ Fit(); // adapt to the new label size
+
wxYieldIfNeeded() ;
}
}