added first item

This commit is contained in:
dickelbeck 2007-09-09 02:20:49 +00:00
parent 68b785061e
commit 51fc073e27
1 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,15 @@ Here are some source code maintenance tasks that need to be done, and maybe some
folks will see these items and volunteer to do them. folks will see these items and volunteer to do them.
*** make the ADD_MENUITEM macros in include/macros.h be static inline functions instead
of macros. e.g. w/o argument types:
static inline void ADD_MENUITEM(menu, id, text, icon)
{
wxMenuItem * l_item;
l_item = new wxMenuItem(menu, id, text);
l_item->SetBitmap(icon); menu->Append(l_item);
}
*** Add hierarchical menu to right mouse click in PCBNEW for the case when *** Add hierarchical menu to right mouse click in PCBNEW for the case when
multiple items are under the mouse cursor. multiple items are under the mouse cursor.