c++ - what wxYield() returns? Is it related to why my guauge is not updated? -


I am using wxwidgets and I have such code:

  gauge progress file - & gt; SetRange (folderList.size ()); For (int i = 0; i  

WxYeild does not update guau. I'm wondering why this is not working?

Looking at WxYield, I found that it gives a boole but there is no document in it what it gives.

Why is my guidance not updated and how can I fix it?

What wxYield returns?

You do not have what the gauge progress folder is probably what it is?

In any case, why do you expect to update the display magically?

You have to type the code to update the display.

Considering various things about your code, you can write something like this:

  Gauge progress folder-> Setrange (folderlist. Size); For (int i = 0; i  

You can also try the following for efficacy and less flicker

  // Force repeating repeating gauges gaugeProgressFolders-> ; Fresh (); GaugeProgressFolders- & gt; Updates ();  

Comments