* prgodlgg.h: Update() use wxString instead of 'char *'
* wxThread: fixes (all should work fluently now) * wxSocket: it is at last usable on my computer GTK/GLIB problem : reenabling the idle event propagation causes very strange problem (Instruction pointer/memory) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user