I'm trying to use the ScrolledPanel in wx.lib.scrolledpanel, and i would like to check if the scrollbar of the ScrolledPanel is currently visible, so i can give my StaticText the correct wrap width. Because when the scrollbar is visible i need to remove another 10 pixels or so from the wrap width...
Anyone any idea how this is done?
Thanks!
I solved this by getting the width of the parent widget inside the scrolledpanel, instead of the width of the scrolledpanel itself.
Sometimes the answer is so obvious :)
Check if wx.lib.scrolledpanel.ScrolledPanel is currently scrolling