equal
deleted
inserted
replaced
92 iItems.Remove(aPos); |
92 iItems.Remove(aPos); |
93 } |
93 } |
94 } |
94 } |
95 } |
95 } |
96 |
96 |
97 void CSwtCommandMenu::AppendSeparatorL() |
97 void CSwtCommandMenu::AppendSeparator() |
98 { |
98 { |
99 // If append fails then separator won't appear in menu. It's a shame but |
99 // If append fails then separator won't appear in menu. It's a shame but |
100 // it's like that (nothing specific to do if this happens). |
100 // it's like that (nothing specific to do if this happens). |
101 iSeparators.AppendL(iItems.Count() - 1); |
101 iSeparators.Append(iItems.Count() - 1); |
102 } |
102 } |
103 |
103 |
104 const RPointerArray<MSwtCommand>& CSwtCommandMenu::Commands() const |
104 const RPointerArray<MSwtCommand>& CSwtCommandMenu::Commands() const |
105 { |
105 { |
106 return iItems; |
106 return iItems; |