Fix graphic options on WinCE

svn-id: r13031
This commit is contained in:
Nicolas Bacca 2004-02-24 21:56:16 +00:00
parent 47c167a594
commit fc8c15dc20

View File

@ -275,7 +275,6 @@ int OptionsDialog::addGraphicControls(GuiObject *boss, int yoffset) {
gm++;
}
#ifndef _WIN32_WCE
// Fullscreen checkbox
_fullscreenCheckbox = new CheckboxWidget(boss, x, yoffset, w, 16, "Fullscreen mode");
yoffset += 16;
@ -283,6 +282,11 @@ int OptionsDialog::addGraphicControls(GuiObject *boss, int yoffset) {
// Aspect ratio checkbox
_aspectCheckbox = new CheckboxWidget(boss, x, yoffset, w, 16, "Aspect ratio correction");
yoffset += 16;
#ifdef _WIN32_WCE
_fullscreenCheckbox->setState(TRUE);
_fullscreenCheckbox->setEnabled(FALSE);
_aspectCheckbox->setEnabled(FALSE);
#endif
_enableGraphicSettings = true;