diff --git a/src/gui/AboutDialog.cxx b/src/gui/AboutDialog.cxx index d5b124fbe..76410d349 100644 --- a/src/gui/AboutDialog.cxx +++ b/src/gui/AboutDialog.cxx @@ -61,7 +61,7 @@ AboutDialog::AboutDialog(OSystem& osystem, DialogContainer& parent, new ButtonWidget(this, font, xpos, ypos, buttonWidth, buttonHeight, "Close", GuiObject::kCloseCmd); wid.push_back(b); - addOKWidget(b); addCancelWidget(b); + addCancelWidget(b); xpos = 5; ypos = 5 + _th; myTitle = new StaticTextWidget(this, font, xpos, ypos, _w - xpos * 2, fontHeight, diff --git a/src/gui/HelpDialog.cxx b/src/gui/HelpDialog.cxx index 5a6d0d1f7..5235c09d8 100644 --- a/src/gui/HelpDialog.cxx +++ b/src/gui/HelpDialog.cxx @@ -60,6 +60,7 @@ HelpDialog::HelpDialog(OSystem& osystem, DialogContainer& parent, new ButtonWidget(this, font, xpos, ypos, buttonWidth, buttonHeight, "Close", GuiObject::kCloseCmd); wid.push_back(b); + addCancelWidget(b); xpos = 5; ypos = 5 + _th; myTitle = new StaticTextWidget(this, font, xpos, ypos, _w - 10, fontHeight,