keyboard event not called on subclass of wxScrolledWindow (on mac)

Riccardo Cohen rcohen at articque.com
Tue Oct 2 07:31:49 PDT 2007


Hi,
What is your sugggestion : should I wait for a fix, or should I rewrite 
my class to use wxWindow instead of wxScrolledWindow ?
Thanks for any information about this bug.

Vadim Zeitlin wrote:
> On Mon, 24 Sep 2007 16:20:48 +0200 Riccardo Cohen <rcohen at articque.com> wrote:
> 
> RC> first time it returns true :
> RC> #0  wxControlContainerBase::HasAnyFocusableChildren
> RC> #1  0x001fd2d5 in wxControlContainerBase::UpdateCanFocus
> RC> #2  0x00058392 in wxTopLevelWindowBase::AddChild
> RC> #3  0x0003fa64 in wxWindow::MacPostControlCreate
> RC> #4  0x000421bc in wxWindow::Create
> RC> #5  0x0006547f in wxPanel::Create
> RC> #6  0x0004dce3 in wxScrolledWindow::Create
> RC> #7  0x001e5990 in wxScrolledWindow::wxScrolledWindow
> RC> #8  0x00002686 in artwx::artwx
> RC> 
> RC> it enters 2 more times in this function (for my class) returning always 
> RC> true, (it is for the scrollbars)
> 
>  Do you see how does it happen? IsClientAreaChild() implementation in
> wx/mac/carbon/window.h explicitly checks for !MacIsWindowScrollbar() so I
> don't understand why it doesn't skip the scrollbars as it's intended to.
> Anyhow, this is clearly the bug which must be fixed...
> 
>  Regards,
> VZ
> 

-- 
Très cordialement,

Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49




More information about the wx-users mailing list