Code: Select all
MyWnd->subscribeEvent (CEGUI::PushButton::EventClicked, CEGUI::Event::Subscriber (&MyOwnClass::ButtonClicked, this));
...
MyOwnClass::ButtonClicked(const CEGUI::EventArgs& e)
{
[b] How Can I Get The Window Ptr Here Who Subcriber This Event-Function?[/b]
}