Looks like scroll bar handling is very broken. I notice it has been deliberately disabled.
Trying to resurrect with not much luck so far. I'm beginning to think that the way scrolling is handled with the mouse conflicts with the wxScrolledWindow way of scrolling so much that maybe wxScolledWindow shouldn't be the base class any more. Might be easier getting the scroll bars working again by just using wxWindow and it's scroll bars (or even adding explicit wxScrollBar's if that doesn't work).
Anybody had a look at this recenty?
I've almost got them working by changing wxScrolledWindow to wxWindow with some other additions. I'll hopefully post info on a completed version next week.
Fix submitted here:
Thank you vey much for your contribution. I'll try to test and integrate your patch (as far as all those I received, thanks everybody) as soon as possible, and to release a new version of wxMathPlot within a few weeks.
Out of curiousity, why didn't you use ctime.h? It does a lot of the conversions from second into time for you
Well, the main reasons are two: first, I wanted to keep X data to be represented as floating point, while time_t and clock_t are integer representations. The second reason is that I wanted to allow representation of fractions of second (milliseconds, microseconds), for applications like data acquisition (using wxMathPlot like an oscilloscope view). This is also why I didn't choose to represent time in milliseconds: it's just a matter of multiplying/dividing your data by 1000.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.