summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/simple_menu_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/simple_menu_model.h')
-rw-r--r--views/controls/menu/simple_menu_model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/controls/menu/simple_menu_model.h b/views/controls/menu/simple_menu_model.h
index 2be2cbc..4671f3e 100644
--- a/views/controls/menu/simple_menu_model.h
+++ b/views/controls/menu/simple_menu_model.h
@@ -44,6 +44,9 @@ class SimpleMenuModel : public Menu2Model {
// Performs the action associated with the specified command id.
virtual void ExecuteCommand(int command_id) = 0;
+
+ protected:
+ ~Delegate() {}
};
// The Delegate can be NULL, though if it is items can't be checked or