Page 1 of 1

Disabled scrollbar in wxScrolledWindow

Posted: Fri Feb 10, 2012 9:45 am
by denarced
Hello,

I have wxScrolledWindows inside wxChoiceBook.
They are added as pages at runtime.
I am able to scroll with mouse wheel after getting
the focus by pressing tab enough times. I cannot
however use the vertical scrollbar in any way.

Any ideas why ?

Solution: disabled scrollbar in wxScrolledWindow

Posted: Fri Feb 10, 2012 10:33 am
by denarced
I have solved the problem.
Here's hierarchical structure without sizers:
wxPanel
wxChoicebook
wxScrolledWindow
many other wid

The problem was that when adding the wxScrolledWindow instances, their parent
wasn't the wxChoicebook but the wxPanel.