- while (c) {
- if ( (c -> GetPosX() <= x) &&
- (c -> GetPosY() <= y) &&
- (c -> GetPosX() + c -> GetWidth() > x) &&
- (c -> GetPosY() + c -> GetHeight() > y)) {
- c -> OnMouseClick(parent, x - c -> GetPosX(), y - c -> GetPosY(), event);
+ while (c)
+ {
+ if ( (c->GetPosX() <= x) &&
+ (c->GetPosY() <= y) &&
+ (c->GetPosX() + c->GetWidth() > x) &&
+ (c->GetPosY() + c->GetHeight() > y))
+ {
+ c->OnMouseClick(parent, x - c->GetPosX(), y - c->GetPosY(), event);