For those who would like to append the CBTortoiseSVN menu onto the Tools menu (taking up less real estate) changing the code after the "else" will do so.
See "CBTortoiseSVN::BuildMenu(wxMenuBar *menuBar)".
int ToolsPos = menuBar->FindMenu(_("&Tools"));
if ( ToolsPos == wxNOT_FOUND )
menuBar->Append(TortoiseSVN_submenu,_("TortoiseSVN"));
else
{ //menuBar->Insert(ToolsPos,TortoiseSVN_submenu,_("TortoiseSVN"));
wxMenu* pToolsMenu = menuBar->GetMenu(ToolsPos);
pToolsMenu->Append(idCBTortoiseSVN, _("TortoiseSVN"), TortoiseSVN_submenu, _("TortoiseSVN"));
}
}
//******************************************************************************
void CBTortoiseSVN::RemoveMenu(wxMenuBar *menuBar)
{
//(pecan 2006/10/04)
// It is not necessary to remove menu items and can cause a 3 to 10
// second delay durling program termination
return;
wxMenu *menu = 0;