debugMenu = CreatePulldownMenu(menuBar,  "Debug", "D");
debugMenu = CreatePulldownMenu(menuBar,  "Debug", 'D');
void CreateViewerMenus(Widget aParent, MenuCallbackProc aCallback) {  MenuBtns editBtns[] = {    {"Cut", "T", VIEWER_EDIT_CUT},    {"Copy", "C", VIEWER_EDIT_COPY},    {"Paste", "P", VIEWER_EDIT_PASTE},    {"separator", NULL, 0},    {"Select All", "A", VIEWER_EDIT_SELECTALL},    {"separator", NULL, 0},    {"Find in Page", "F", VIEWER_EDIT_FINDINPAGE},    {NULL, NULL, 0}  };  MenuBtns  debugBtns[] = {    {"Visual Debugging", "V", VIEWER_VISUAL_DEBUGGING},    {"Reflow Test", "R", VIEWER_REFLOW_TEST},    {"separator", NULL, 0},    {"Dump Content", "C", VIEWER_DUMP_CONTENT},    {"Dump Frames",  "F", VIEWER_DUMP_FRAMES},    {"Dump Views",   "V", VIEWER_DUMP_VIEWS},    {"separator", NULL, 0},    {"Dump Style Sheets",   "S", VIEWER_DUMP_STYLE_SHEETS},    {"Dump Style Contexts",   "T", VIEWER_DUMP_STYLE_CONTEXTS},    {"separator", NULL, 0},    {"Show Content Size",   "z", VIEWER_SHOW_CONTENT_SIZE},    {"Show Frame Size",   "a", VIEWER_SHOW_FRAME_SIZE},    {"Show Style Size",   "y", VIEWER_SHOW_STYLE_SIZE},    {"separator", NULL, 0},    {"Debug Robot",   "R", VIEWER_DEBUGROBOT},    {NULL, NULL, 0}  };  Widget menuBar;  Widget fileMenu;  Widget debugMenu;  Widget menu;  menuBar = XmCreateMenuBar(aParent, "menubar", NULL, 0);  fileMenu   = CreatePulldownMenu(menuBar,  "File", "F");  CreateMenuItem(fileMenu, "Open...", VIEWER_FILE_OPEN, aCallback);  menu = CreatePulldownMenu(fileMenu, "Samples", "S");  CreateMenuItem(menu, "demo #0", VIEWER_DEMO0, aCallback);  CreateMenuItem(menu, "demo #1", VIEWER_DEMO1, aCallback);  CreateMenuItem(menu, "demo #2", VIEWER_DEMO2, aCallback);  CreateMenuItem(menu, "demo #3", VIEWER_DEMO3, aCallback);  CreateMenuItem(menu, "demo #4", VIEWER_DEMO4, aCallback);  CreateMenuItem(menu, "demo #5", VIEWER_DEMO5, aCallback);  CreateMenuItem(menu, "demo #6", VIEWER_DEMO6, aCallback);  CreateMenuItem(menu, "demo #7", VIEWER_DEMO7, aCallback);  CreateMenuItem(menu, "demo #8", VIEWER_DEMO8, aCallback);  menu = CreatePulldownMenu(fileMenu, "Print Preview", "P");  CreateMenuItem(menu, "One Column", VIEWER_ONE_COLUMN, aCallback);  CreateMenuItem(menu, "Two Column", VIEWER_TWO_COLUMN, aCallback);  CreateMenuItem(menu, "Three Column", VIEWER_THREE_COLUMN, aCallback);  CreateMenuItem(fileMenu, "Exit", VIEWER_EXIT, aCallback);  menu = CreatePulldownMenu(menuBar,  "Edit", "E");  AddMenuItems(menu, editBtns, aCallback);  debugMenu = CreatePulldownMenu(menuBar,  "Debug", "D");  AddMenuItems(debugMenu, debugBtns, aCallback);  menu = CreatePulldownMenu(menuBar,  "Tools", "T");  CreateMenuItem(menu, "Java Script Console", JS_CONSOLE, aCallback);  XtManageChild(menuBar);}