Event table confusions..... was "confusion over members..."

Chad Wagner chad at chadawagner.com
Fri Nov 3 08:47:03 PST 2006


How are you referencing wxLoopStation's methods from within the frame  
class?  You're not using "this" are you?

On Nov 3, 2006, at 11:15 AM, Rory Walsh wrote:

> I have a class wxLoopStation derived from wxMDIChildFrame which has  
> some member variable called button. When a user hits a "button" it  
> calls an event handler that is a member function of *another*  
> class, my main frame class. If I try to call any of wxLoopStation's  
> methods in that event handler I get a crash, can I not do this?  
> This is all a little confusing, I hope someone can make out what  
> I'm trying to say, otherwise I will try to put together a little  
> example of what's happening.
>
> Rory.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>





More information about the wx-users mailing list