diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llpanelmsgs.cpp | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-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.cpp | 8 |
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 | ||
42 | class LLPopupData | 42 | class 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 | //----------------------------------------------------------------------------- |
69 | BOOL LLPanelMsgs::postBuild() | 69 | BOOL 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); |