summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychatbar.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2012-02-01 10:16:13 -0500
committerJonathan Yap <none@none>2012-02-01 10:16:13 -0500
commit4778d82ec6b735d6f3d3a4335496e9b6d804bbf7 (patch)
treee8c978642b19fc3930e826fae42463b4334ab7aa /indra/newview/llnearbychatbar.cpp
parent4ef9277761b5faee2825177112939b72c563a4ea (diff)
parent8758c7b8415a1cb67c504f142f96b5a7fec296d2 (diff)
STORM-1738 Initial callback work
warn-on-failure:open-license
Diffstat (limited to 'indra/newview/llnearbychatbar.cpp')
-rw-r--r--indra/newview/llnearbychatbar.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp
index 4512c14b7a..8c8707e16c 100644
--- a/indra/newview/llnearbychatbar.cpp
+++ b/indra/newview/llnearbychatbar.cpp
@@ -51,6 +51,7 @@
#include "lltranslate.h"
#include "llresizehandle.h"
+#include "llautocorrect.h"
S32 LLNearbyChatBar::sLastSpecialChatChannel = 0;
@@ -87,6 +88,8 @@ BOOL LLNearbyChatBar::postBuild()
{
mChatBox = getChild<LLLineEditor>("chat_box");
+ // *TODO Establish LineEditor with autocorrect callback
+// mChatBox->setAutocorrectCallback(boost::bind(&AutoCorrect::autocorrectCallback));
mChatBox->setCommitCallback(boost::bind(&LLNearbyChatBar::onChatBoxCommit, this));
mChatBox->setKeystrokeCallback(&onChatBoxKeystroke, this);
mChatBox->setFocusLostCallback(boost::bind(&onChatBoxFocusLost, _1, this));