Re:Problems with Wx::ChildFocusEvent: msg#00005

Subject: Re:Problems with Wx::ChildFocusEvent
  Hello,

> I want to use the Wx::ChildFocusEvent object and the GetWindow method but I
> see that they are not wrapped.
>
> I tried adding this to Event.xs
>
> <snip>
>       MODULE=Wx_Evt PACKAGE=Wx::ChildFocusEvent
>
>       wxChildFocusEvent*
>       wxChildFocusEvent::new( win = NULL )
>               wxWindow* win
>
>       wxWindow*
>       wxChildFocusEvent::GetWindow()
> </snip>
>
> But I got errors, so I added lines to typdef.h and typemap (which were shots
> in the dark) and eventually got the code to compile but then the tests
> failed quoting an inheritance problem.

  You should not need to add it to typedef.h, only to
typemap. The inheritance problem should be solved
by adding a I( ChildFocusEvent, Event ) line, assuming wxCFE
derives from wxEvent, in Constants.xs (search for other lines
containing "I(".

> Since I am shooting blindly can anyone offer more assistance.

HTH
Mattia




____________________________________________________________
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 


<Prev in Thread] Current Thread [Next in Thread>