Hi gurus:
I wanna post an event from within a wxScrolledWindow like following:
eventCustom.SetString(wxT("from OnSize"));
wxPostEvent(this, eventCustom);
it's ok, and I can catch the event in the wxScrolledWindow,howerver , I wanna post the even to another Frame like following:
eventCustom.SetString(wxT("from OnSize"));
wxPostEvent(xxxFrame, eventCustom);
the xxxFrame can't catch the event, why?
who could point me out?
|