[wx-dev] wxMac: wxListCtrl (generic) and/or wxScrolledWindow issue

Robin Dunn robin at alldunn.com
Wed Jan 10 16:46:34 PST 2007


Kevin Ollivier wrote:
> Hi Robin,
> 
> On Jan 10, 2007, at 2:13 PM, Robin Dunn wrote:
> 
>> I've noticed that if you have a generic listctrl on wxMac in report 
>> mode, and if you resize the window such that both scrollbars become 
>> visible, that you can sometimes see bits of the text in the little 
>> square at the bottom-right corner between the scrollbars.  I'm not 
>> sure who should be responsible for painting this area and keeping it 
>> cleared.  Any ideas or suggestions?
> 
> IMHO it should be handled by wxScrolledWindow, as I don't think there 
> are any cases where drawing in that area between scrollbars, and having 
> it respond to clicks and such, is expected behavior. Of course, Stefan 
> knows this stuff better than I so I'd say we should wait and get his 
> opinion on the matter before changing anything.

I thought about that too, but the scrolled window on MSW doesn't have 
this problem.  So I'm thinking it should probably be in wxWindow where 
the built-in scrollbars are managed, but I'm not sure where or how 
exactly to do it.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-dev mailing list