javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtcommandmenu.cpp
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
    92             iItems.Remove(aPos);
    92             iItems.Remove(aPos);
    93         }
    93         }
    94     }
    94     }
    95 }
    95 }
    96 
    96 
    97 void CSwtCommandMenu::AppendSeparator()
    97 void CSwtCommandMenu::AppendSeparatorL()
    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.Append(iItems.Count() - 1);
   101     iSeparators.AppendL(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;