+ wxMenu *selectMenu = new wxMenu;
+ selectMenu->Append( ID_SELECT_UNSELECT, "Add new cells to the selection",
+ "When off, old selection is deselected before "
+ "selecting the new cells", TRUE );
+ selectMenu->Append( ID_SELECT_ALL, "Select all");
+ selectMenu->Append( ID_SELECT_ROW, "Select row 2");
+ selectMenu->Append( ID_SELECT_COL, "Select col 2");
+ selectMenu->Append( ID_SELECT_CELL, "Select cell (3, 1)");
+ selectMenu->Append( ID_DESELECT_ALL, "Deselect all");
+ selectMenu->Append( ID_DESELECT_ROW, "Deselect row 2");
+ selectMenu->Append( ID_DESELECT_COL, "Deselect col 2");
+ selectMenu->Append( ID_DESELECT_CELL, "Deselect cell (3, 1)");
+ wxMenu *selectionMenu = new wxMenu;
+ selectMenu->Append( ID_CHANGESEL, "Change &selection mode",
+ selectionMenu,
+ "Change selection mode" );
+
+ selectionMenu->Append( ID_SELCELLS, "Select &Cells" );
+ selectionMenu->Append( ID_SELROWS, "Select &Rows" );
+ selectionMenu->Append( ID_SELCOLS, "Select C&ols" );
+
+