I did not find an answer to the following scroll problem using the mousewheel.
Clicking on the scrollbar the behaviour is comparable on all platforms.
But using the mousewheel its only OK under Mac.
I have a wxScrolledWindow with a header which should be always visible independent of the vertical scroll position.
Using
Code: Select all
int xoffset = 0;
int yoffset = 0;
GetViewStart( &xoffset, &yoffset );
I tried using DestroyClipRegion() before painting, but this does not help.
How can I invalidate the whole visible canvas in the wxScrolledWindow? (Full repaint on resize does also not help...)
In short: I need to update an area which is not invalidated by scrolling with the mousewheel.