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?
Cheers
Nigel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Cheers
Nigel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
CD-RON77
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
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?
Cheers
Nigel
Hi,
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.
Cheers
Nigel
Hi,
Fix submitted here:
https://sourceforge.net/tracker/?func=detail&aid=2803412&group_id=86779&atid=580863
Cheers
Nigel
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.
CD-RON77
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.