Ticket #9084 (closed enhancement: fixed)
wxCocoa wxListBox improvements
|Reported by:||markdtaylor||Owned by:||dfe|
|Component:||Old wxCocoa port||Version:|
|Keywords:||Cc:||markdtaylor, dfe, vadz|
By default, wxListBox entries should not be editable, so we are now explicitly disabling them.
We are now enabling the use of wxLB_HSCROLL and wxLB_ALWAYS_SB to dictate whether horizontal and vertical scrollers, respectively, are shown.
Due to the lack of an auto-hide feature before OS 10.3, wxLB_NEEDED_SB now causes a vertical scroller to always be shown on those OS versions. On OS 10.3 and above, auto-hiding is possible, but cannot be set independently for the horizontal and vertical scrollers. Since there is no equivalent of wxLB_NEEDED_SB for the horizontal scroller, we now assume that auto-hiding should be the default for the horizontal scroller, but in order to allow wxLB_ALWAYS_SB to disable auto-hiding for the vertical scroller, we also disable auto-hiding for the horizontal scroller if wxLB_ALWAYS_SB is set.