@@ -364,11 +364,9 @@ void GameFrame::OnUpdate()
364364#include " bitmaps/preview.xpm"
365365#include " bitmaps/print.xpm"
366366#include " bitmaps/profiles.xpm"
367- #include " bitmaps/redo.xpm"
368367#include " bitmaps/save.xpm"
369368#include " bitmaps/saveas.xpm"
370369#include " bitmaps/table.xpm"
371- #include " bitmaps/undo.xpm"
372370#include " bitmaps/zoomfit.xpm"
373371#include " bitmaps/zoomin.xpm"
374372#include " bitmaps/zoomout.xpm"
@@ -560,13 +558,6 @@ void GameFrame::MakeToolbar()
560558
561559 toolBar->AddSeparator ();
562560
563- toolBar->AddTool (wxID_UNDO, wxEmptyString, wxBitmap (undo_xpm), wxNullBitmap, wxITEM_NORMAL,
564- _ (" Undo the last action" ), _ (" Undo the last change to the game" ), nullptr );
565- toolBar->AddTool (wxID_REDO, wxEmptyString, wxBitmap (redo_xpm), wxNullBitmap, wxITEM_NORMAL,
566- _ (" Redo the undone action" ), _ (" Redo the last undone change" ), nullptr );
567-
568- toolBar->AddSeparator ();
569-
570561 toolBar->AddTool (GBT_MENU_EDIT_NEWPLAYER, wxEmptyString, wxBitmap (newplayer_xpm), wxNullBitmap,
571562 wxITEM_NORMAL, _ (" Add a new player" ), _ (" Add a new player to the game" ),
572563 nullptr );
0 commit comments