aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgroupinvite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelgroupinvite.cpp')
-rw-r--r--linden/indra/newview/llpanelgroupinvite.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/linden/indra/newview/llpanelgroupinvite.cpp b/linden/indra/newview/llpanelgroupinvite.cpp
index 73900f0..c393854 100644
--- a/linden/indra/newview/llpanelgroupinvite.cpp
+++ b/linden/indra/newview/llpanelgroupinvite.cpp
@@ -474,12 +474,12 @@ BOOL LLPanelGroupInvite::postBuild()
474{ 474{
475 BOOL recurse = TRUE; 475 BOOL recurse = TRUE;
476 476
477 mImplementation->mLoadingText = childGetText("loading"); 477 mImplementation->mLoadingText = getString("loading");
478 mImplementation->mRoleNames = (LLComboBox*) getChildByName("role_name", 478 mImplementation->mRoleNames = getChild<LLComboBox>("role_name",
479 recurse); 479 recurse);
480 mImplementation->mGroupName = (LLTextBox*) getChildByName("group_name_text", recurse); 480 mImplementation->mGroupName = getChild<LLTextBox>("group_name_text", recurse);
481 mImplementation->mInvitees = 481 mImplementation->mInvitees =
482 (LLNameListCtrl*) getChildByName("invitee_list", recurse); 482 getChild<LLNameListCtrl>("invitee_list", recurse);
483 if ( mImplementation->mInvitees ) 483 if ( mImplementation->mInvitees )
484 { 484 {
485 mImplementation->mInvitees->setCallbackUserData(mImplementation); 485 mImplementation->mInvitees->setCallbackUserData(mImplementation);
@@ -487,7 +487,7 @@ BOOL LLPanelGroupInvite::postBuild()
487 mImplementation->mInvitees->setCommitCallback(impl::callbackSelect); 487 mImplementation->mInvitees->setCommitCallback(impl::callbackSelect);
488 } 488 }
489 489
490 LLButton* button = (LLButton*) getChildByName("add_button", recurse); 490 LLButton* button = getChild<LLButton>("add_button", recurse);
491 if ( button ) 491 if ( button )
492 { 492 {
493 // default to opening avatarpicker automatically 493 // default to opening avatarpicker automatically
@@ -497,7 +497,7 @@ BOOL LLPanelGroupInvite::postBuild()
497 } 497 }
498 498
499 mImplementation->mRemoveButton = 499 mImplementation->mRemoveButton =
500 (LLButton*) getChildByName("remove_button", recurse); 500 getChild<LLButton>("remove_button", recurse);
501 if ( mImplementation->mRemoveButton ) 501 if ( mImplementation->mRemoveButton )
502 { 502 {
503 mImplementation->mRemoveButton-> 503 mImplementation->mRemoveButton->
@@ -507,7 +507,7 @@ BOOL LLPanelGroupInvite::postBuild()
507 } 507 }
508 508
509 mImplementation->mOKButton = 509 mImplementation->mOKButton =
510 (LLButton*) getChildByName("ok_button", recurse); 510 getChild<LLButton>("ok_button", recurse);
511 if ( mImplementation->mOKButton ) 511 if ( mImplementation->mOKButton )
512 { 512 {
513 mImplementation->mOKButton-> 513 mImplementation->mOKButton->
@@ -516,7 +516,7 @@ BOOL LLPanelGroupInvite::postBuild()
516 mImplementation->mOKButton->setEnabled(FALSE); 516 mImplementation->mOKButton->setEnabled(FALSE);
517 } 517 }
518 518
519 button = (LLButton*) getChildByName("cancel_button", recurse); 519 button = getChild<LLButton>("cancel_button", recurse);
520 if ( button ) 520 if ( button )
521 { 521 {
522 button->setClickedCallback(impl::callbackClickCancel); 522 button->setClickedCallback(impl::callbackClickCancel);