Stage stage = Stage::GetCurrent();
mTextLabel = TextLabel::New( "Hello World" );
- mTextLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
+ mTextLabel.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT );
stage.Add( mTextLabel );
// Respond to a click anywhere on the stage