On Wed, Nov 14, 2012 at 2:33 PM, Axel DÃrfler <axeld@xxxxxxxxxxxxxxxx> wrote: > On 11/14/2012 08:02 PM, jscipione@xxxxxxxxx wrote: >> + if (fAppListMenuItem != NULL) { >> + RemoveItem(static_cast<BMenuItem*>(fAppListMenuItem)); > > ... why should the cast be necessary in the first place? fAppListMenuItem is > a TBarMenuTitle which directly subclasses BMenuItem without any special > tricks involved. I just checked and you are correct, the cast is not needed. Will correct.