I am using wxwidgets and I have a code like this:
gaugeProgressFolders->SetRange(folderList.size());
for(int i=0;i<folderList.size();i++)
{
ProcessOneSet(folderList[i]);
gaugeProgressFolders->SetValue(i+1);
wxYield();
}
The wxYeild doesn't update guauge. I am wondering why it is not working?
Looking at wxYield, I noted that it returns a bool but there is no documentation on what it returns.
Why my guauge is not update and how I can fix it?
what wxYield returns?