aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelmsgs.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llpanelmsgs.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llpanelmsgs.cpp')
-rw-r--r--linden/indra/newview/llpanelmsgs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llpanelmsgs.cpp b/linden/indra/newview/llpanelmsgs.cpp
index fc21ecb..fb33edf 100644
--- a/linden/indra/newview/llpanelmsgs.cpp
+++ b/linden/indra/newview/llpanelmsgs.cpp
@@ -36,7 +36,7 @@
36#include "llscrolllistctrl.h" 36#include "llscrolllistctrl.h"
37#include "llviewerwindow.h" 37#include "llviewerwindow.h"
38#include "llviewercontrol.h" 38#include "llviewercontrol.h"
39#include "llvieweruictrlfactory.h" 39#include "lluictrlfactory.h"
40#include "llfirstuse.h" 40#include "llfirstuse.h"
41 41
42class LLPopupData 42class LLPopupData
@@ -56,7 +56,7 @@ LLPanelMsgs::LLPanelMsgs() :
56 mDisabledPopups( NULL ), 56 mDisabledPopups( NULL ),
57 mEnabledPopups( NULL ) 57 mEnabledPopups( NULL )
58{ 58{
59 gUICtrlFactory->buildPanel(this, "panel_preferences_popups.xml"); 59 LLUICtrlFactory::getInstance()->buildPanel(this, "panel_preferences_popups.xml");
60} 60}
61 61
62 62
@@ -68,8 +68,8 @@ LLPanelMsgs::~LLPanelMsgs()
68//----------------------------------------------------------------------------- 68//-----------------------------------------------------------------------------
69BOOL LLPanelMsgs::postBuild() 69BOOL LLPanelMsgs::postBuild()
70{ 70{
71 mDisabledPopups = LLViewerUICtrlFactory::getScrollListByName(this, "disabled_popups"); 71 mDisabledPopups = getChild<LLScrollListCtrl>("disabled_popups");
72 mEnabledPopups = LLViewerUICtrlFactory::getScrollListByName(this, "enabled_popups"); 72 mEnabledPopups = getChild<LLScrollListCtrl>("enabled_popups");
73 childSetAction("enable_popup", onClickEnablePopup, this); 73 childSetAction("enable_popup", onClickEnablePopup, this);
74 childSetAction("reset_dialogs_btn", onClickResetDialogs, this); 74 childSetAction("reset_dialogs_btn", onClickResetDialogs, this);
75 childSetAction("skip_dialogs_btn", onClickSkipDialogs, this); 75 childSetAction("skip_dialogs_btn", onClickSkipDialogs, this);