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/llfloaterbuycurrency.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/llfloaterbuycurrency.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterbuycurrency.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterbuycurrency.cpp b/linden/indra/newview/llfloaterbuycurrency.cpp index dd7732d..0381b8f 100644 --- a/linden/indra/newview/llfloaterbuycurrency.cpp +++ b/linden/indra/newview/llfloaterbuycurrency.cpp | |||
@@ -40,7 +40,7 @@ | |||
40 | #include "lltextbox.h" | 40 | #include "lltextbox.h" |
41 | #include "llviewchildren.h" | 41 | #include "llviewchildren.h" |
42 | #include "llviewerwindow.h" | 42 | #include "llviewerwindow.h" |
43 | #include "llvieweruictrlfactory.h" | 43 | #include "lluictrlfactory.h" |
44 | #include "llweb.h" | 44 | #include "llweb.h" |
45 | #include "llwindow.h" | 45 | #include "llwindow.h" |
46 | #include "llappviewer.h" | 46 | #include "llappviewer.h" |
@@ -97,7 +97,7 @@ LLFloaterBuyCurrencyUI* LLFloaterBuyCurrencyUI::soleInstance(bool createIfNeeded | |||
97 | { | 97 | { |
98 | sInstance = new LLFloaterBuyCurrencyUI(); | 98 | sInstance = new LLFloaterBuyCurrencyUI(); |
99 | 99 | ||
100 | gUICtrlFactory->buildFloater(sInstance, "floater_buy_currency.xml"); | 100 | LLUICtrlFactory::getInstance()->buildFloater(sInstance, "floater_buy_currency.xml"); |
101 | sInstance->center(); | 101 | sInstance->center(); |
102 | } | 102 | } |
103 | 103 | ||
@@ -221,7 +221,7 @@ void LLFloaterBuyCurrencyUI::updateUI() | |||
221 | { | 221 | { |
222 | mChildren.setBadge("step_error", LLViewChildren::BADGE_ERROR); | 222 | mChildren.setBadge("step_error", LLViewChildren::BADGE_ERROR); |
223 | 223 | ||
224 | LLTextBox* message = LLUICtrlFactory::getTextBoxByName(this, "error_message"); | 224 | LLTextBox* message = getChild<LLTextBox>("error_message"); |
225 | if (message) | 225 | if (message) |
226 | { | 226 | { |
227 | message->setVisible(true); | 227 | message->setVisible(true); |