]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/progdlgg.cpp
Listctrl should now send char and key_down events.
[wxWidgets.git] / src / generic / progdlgg.cpp
index c156b612b034e9bd72e1635ce201745d7d9d44a7..c43494211f21aa720e6fbdf57c3da22f24e553ba 100644 (file)
@@ -117,12 +117,12 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
 
 
 bool
-wxProgressDialog::Update(int value, const char *newmsg)
+wxProgressDialog::Update(int value, const wxString& newmsg)
 {
    wxASSERT(value == -1 || m_gauge);
    if(m_gauge)
       m_gauge->SetValue(value);
-   if(newmsg)
+   if(!newmsg.IsNull())
       m_msg->SetLabel(newmsg);
    wxYield();
    return m_state != Canceled;