const LLInventoryItem* LLPreviewNotecard::getDragItem() { LLViewerTextEditor* editor = getChild<LLViewerTextEditor>("Notecard Editor"); if(editor) { return editor->getDragItem(); } return NULL; }
const LLInventoryItem* LLPreviewNotecard::getDragItem() { LLViewerTextEditor* editor = LLViewerUICtrlFactory::getViewerTextEditorByName(this, "Notecard Editor"); if(editor) { return editor->getDragItem(); } return NULL; }