diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/MenuItem.hh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/FbTk/MenuItem.hh b/src/FbTk/MenuItem.hh index ad54dc6..4bbfcf3 100644 --- a/src/FbTk/MenuItem.hh +++ b/src/FbTk/MenuItem.hh | |||
@@ -47,8 +47,7 @@ public: | |||
47 | m_enabled(true), | 47 | m_enabled(true), |
48 | m_selected(false), | 48 | m_selected(false), |
49 | m_close_on_click(true), | 49 | m_close_on_click(true), |
50 | m_toggle_item(false), | 50 | m_toggle_item(false) |
51 | m_index(0) | ||
52 | { } | 51 | { } |
53 | 52 | ||
54 | explicit MenuItem(const BiDiString &label) | 53 | explicit MenuItem(const BiDiString &label) |
@@ -59,7 +58,6 @@ public: | |||
59 | m_selected(false), | 58 | m_selected(false), |
60 | m_close_on_click(true), | 59 | m_close_on_click(true), |
61 | m_toggle_item(false) | 60 | m_toggle_item(false) |
62 | m_index(0) | ||
63 | { } | 61 | { } |
64 | 62 | ||
65 | MenuItem(const BiDiString &label, Menu &host_menu) | 63 | MenuItem(const BiDiString &label, Menu &host_menu) |
@@ -70,7 +68,6 @@ public: | |||
70 | m_selected(false), | 68 | m_selected(false), |
71 | m_close_on_click(true), | 69 | m_close_on_click(true), |
72 | m_toggle_item(false) | 70 | m_toggle_item(false) |
73 | m_index(0) | ||
74 | { } | 71 | { } |
75 | /// create a menu item with a specific command to be executed on click | 72 | /// create a menu item with a specific command to be executed on click |
76 | MenuItem(const BiDiString &label, RefCount<Command<void> > &cmd, Menu *menu = 0) | 73 | MenuItem(const BiDiString &label, RefCount<Command<void> > &cmd, Menu *menu = 0) |
@@ -82,7 +79,6 @@ public: | |||
82 | m_selected(false), | 79 | m_selected(false), |
83 | m_close_on_click(true), | 80 | m_close_on_click(true), |
84 | m_toggle_item(false) | 81 | m_toggle_item(false) |
85 | m_index(0) | ||
86 | { } | 82 | { } |
87 | 83 | ||
88 | MenuItem(const BiDiString &label, Menu *submenu, Menu *host_menu = 0) | 84 | MenuItem(const BiDiString &label, Menu *submenu, Menu *host_menu = 0) |
@@ -93,7 +89,6 @@ public: | |||
93 | m_selected(false), | 89 | m_selected(false), |
94 | m_close_on_click(true), | 90 | m_close_on_click(true), |
95 | m_toggle_item(false) | 91 | m_toggle_item(false) |
96 | m_index(0) | ||
97 | { } | 92 | { } |
98 | virtual ~MenuItem(); | 93 | virtual ~MenuItem(); |
99 | 94 | ||