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

Riccardo Cohen rcohen at articque.com
Mon Sep 24 07:20:48 PDT 2007


first time it returns true :
#0  wxControlContainerBase::HasAnyFocusableChildren
#1  0x001fd2d5 in wxControlContainerBase::UpdateCanFocus
#2  0x00058392 in wxTopLevelWindowBase::AddChild
#3  0x0003fa64 in wxWindow::MacPostControlCreate
#4  0x000421bc in wxWindow::Create
#5  0x0006547f in wxPanel::Create
#6  0x0004dce3 in wxScrolledWindow::Create
#7  0x001e5990 in wxScrolledWindow::wxScrolledWindow
#8  0x00002686 in artwx::artwx

it enters 2 more times in this function (for my class) returning always 
true, (it is for the scrollbars)


Vadim Zeitlin wrote:
> On Mon, 24 Sep 2007 15:19:32 +0200 Riccardo Cohen <rcohen at articque.com> wrote:
> 
> RC> no, there is nothing inside, just some event functions. this class does 
> RC> basically nothing
> 
>  Sorry, I have no other ideas... I initially thought that maybe scrollbars
> (which appear in the window children list under Mac but not elsewhere)
> could be confusing matters again but this shouldn't be the case as there
> are IsClientAreaChild() calls in the relevant code and this should return
> false for scrollbars. Nevertheless maybe you could check if the
> wxControlContainerBase::HasAnyFocusableChildren() method (mistakenly)
> returns true in your case.
> 
>  Regards,
> VZ
> 

-- 
Très cordialement,

Riccardo Cohen
ligne directe : 02-47-49-63-24
-------------------------------------------
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