new wxProgressDialog(_T("Adding file(s)"),
_T(""),
1000,
- this,
+// this,
+ NULL,
wxPD_ELAPSED_TIME |
// wxPD_ESTIMATED_TIME |
// wxPD_REMAINING_TIME |
// std::cout << "OnAddProgress "<<mess<<std::endl;
wxString s(wxString::From8BitData(mess));
// std::cout << "Pulse"<<std::endl;
+ if (mProgressDialog!=0)
+ {
+ if (!mProgressDialog->Pulse(s))
+ {
+ p.SetStop();
+ }
+ }
+
if(mProgressDialog != 0)
{
if (!mProgressDialog->Pulse(s))