close query from MDIChildFrame

Rory Walsh rorywalsh at ear.ie
Thu Nov 2 09:27:44 PST 2006


Thanks Vadim. Through your suggestions and help I got it going. Cheers 
and sorry again it took me so long to report back!

Rory.



Vadim Zeitlin wrote:
> On Mon, 16 Oct 2006 23:17:59 +0100 Rory Walsh <rorywalsh at ear.ie> wrote:
> 
> RW> Sorry it's taken so long to get back to you. You suggestion seems to 
> RW> make perfect sense but I don't know how to set up an event table for my 
> RW> child frame.
> 
>  You don't even have to use Connect() here (although you may do it
> perfectly well too), what's wrong with simply adding the appropriate macro
> to the event table of your child frame class?
> 
> RW> In my code I have a vector of type wxMDIChildFrame.
> 
>  Well, replace it with a vector of type YourMDIChildFrame.
> 
> RW> Each time I hit a menu command 'new Child' I resize the vector and
> RW> dynamically create a new child frame. Can I dynamically create an event
> RW> table, using the Connect() method? I've tried that, albeit wrongly.
> 
>  Yes, see my other reply.
> 
>  Regards,
> VZ
> 




More information about the wx-users mailing list