javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtcommandmenu.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 66 2455ef1f5bbc
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
    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;