If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
How can i know if a wxStopWatch is paused or running?
Why m_elapsedBeforePause and m_pauseCount are all private (or there's no methods to access them)?
Same question about GetClockFreq and GetCurrentClockValue?
If they were at least protected i could use them in a derived class, but as they are i can't really access anything.
There a reasoning beyond this that i don't catch?
You need to ask the developers in the wx-users mailing list.
But they may suggest to use the C++11 chrono instead. wxStopWatch may be one of those classes introduced back when the GUI libraries tried (and often had to) be an all-purpose Swiss army knife.
How can i know if a wxStopWatch is paused or running?
Why m_elapsedBeforePause and m_pauseCount are all private (or there's no methods to access them)?
Same question about GetClockFreq and GetCurrentClockValue?
Just out of curiousity: Why would you need this information? It seems you're trying to use the class to retrieve some system settings and not for its intended purpose, the measuring of time intervals.
How can i know if a wxStopWatch is paused or running?
Why m_elapsedBeforePause and m_pauseCount are all private (or there's no methods to access them)?
Same question about GetClockFreq and GetCurrentClockValue?
Just out of curiousity: Why would you need this information? It seems you're trying to use the class to retrieve some system settings and not for its intended purpose, the measuring of time intervals.
'cause i have a number of them and i could use the paused/running state to know what part of my program started and how much it tooks to end, and it could be done out of the part i want to measure. These data are already in memory (pauseCount, m_elapsedBeforePause) and i don't see why i should create "copies" of them. asked about GetClockFreq and GetCurrentClockValue just 'cause i looked at the declaration and (to me) they could follow the same logic.