HasScrollbar always returns false

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.
Post Reply
ydsun
Knows some wx things
Knows some wx things
Posts: 27
Joined: Wed Dec 19, 2012 9:44 pm

HasScrollbar always returns false

Post by ydsun »

I have got another problem when upgrading wx from 2.8.12 to 3.0.2.

I use HasScrollbar(wxVERTICAL) to check if a vertical scrollbar is displayed when handling EVT_SIZE. This function worked perfect in 2.8.12. However, it always returns false now in 3.0.2 even when a vertical scrollbar is present in the window.

I wonder what causes this change.

Thanks.
Post Reply