summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llmenugl.h')
-rw-r--r--indra/llui/llmenugl.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/llui/llmenugl.h b/indra/llui/llmenugl.h
index c57e0f0267..51df5df1f8 100644
--- a/indra/llui/llmenugl.h
+++ b/indra/llui/llmenugl.h
@@ -716,20 +716,25 @@ public:
LLContextMenuBranch(const Params&);
- // Called to rebuild strings for this item
+ virtual ~LLContextMenuBranch()
+ {}
+
+ // called to rebuild the draw label
virtual void buildDrawLabel( void );
- // Performed when menu item clicked
+ // onCommit() - do the primary funcationality of the menu item.
virtual void onCommit( void );
LLContextMenu* getBranch() { return mBranch.get(); }
void setHighlight( BOOL highlight );
protected:
- void showSubMenu();
+ void showSubMenu();
+
LLHandle<LLContextMenu> mBranch;
};
+
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Class LLMenuBarGL
//