summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-09-29 15:02:32 -0700
committerRichard Linden <none@none>2010-09-29 15:02:32 -0700
commit3bab3fc66183f124d173b4ec192c03a9205788d9 (patch)
treec2294b697939fa08e6fd56737adc5c5e5ef49679 /indra/llui/llmenugl.h
parent633e8f44d9c329ca09c91963d53854e14136f537 (diff)
fix for crash on exit
also made handle subtyping work
Diffstat (limited to 'indra/llui/llmenugl.h')
-rw-r--r--indra/llui/llmenugl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llui/llmenugl.h b/indra/llui/llmenugl.h
index 19b738312e..bb17bf4102 100644
--- a/indra/llui/llmenugl.h
+++ b/indra/llui/llmenugl.h
@@ -670,9 +670,12 @@ public:
BOOL appendContextSubMenu(LLContextMenu *menu);
+ LLHandle<LLContextMenu> getHandle() { mHandle.bind(this); return mHandle; }
+
protected:
- BOOL mHoveredAnyItem;
- LLMenuItemGL* mHoverItem;
+ BOOL mHoveredAnyItem;
+ LLMenuItemGL* mHoverItem;
+ LLRootHandle<LLContextMenu> mHandle;
};