Remove the unused msw.display.directdraw system option

This should have been part of 16e4586527
which removed the code this option pertained to.

See #12387.
This commit is contained in:
Vadim Zeitlin
2018-09-30 15:30:53 +02:00
parent 990c8bfd73
commit 1d40b629a2
4 changed files with 0 additions and 21 deletions

8
configure vendored
View File

@@ -27521,14 +27521,6 @@ fi
$as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;} $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
wxUSE_DISPLAY="no" wxUSE_DISPLAY="no"
fi fi
elif test "$wxUSE_MSW" = 1; then
ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
"
if test "x$ac_cv_header_ddraw_h" = xyes; then :
fi
fi fi
fi fi

View File

@@ -3472,9 +3472,6 @@ if test "$wxUSE_DISPLAY" = "yes"; then
AC_MSG_WARN([Xinerama not found; disabling wxDisplay]) AC_MSG_WARN([Xinerama not found; disabling wxDisplay])
wxUSE_DISPLAY="no" wxUSE_DISPLAY="no"
fi fi
elif test "$wxUSE_MSW" = 1; then
dnl DirectDraw for MSW - optionally used by WxDisplay.
AC_CHECK_HEADER([ddraw.h], [], [], [#include <windows.h>])
fi fi
fi fi

View File

@@ -66,9 +66,6 @@
Setting this to 0 causes more flicker, but allows applications to paint Setting this to 0 causes more flicker, but allows applications to paint
graphics on the parent of a static box (the optimized refresh causes any graphics on the parent of a static box (the optimized refresh causes any
such drawing to disappear). such drawing to disappear).
@flag{msw.display.directdraw}
If set to 1, use DirectDraw-based implementation of wxDisplay.
By default the standard Win32 functions are used.
@flag{msw.font.no-proof-quality} @flag{msw.font.no-proof-quality}
If set to 1, use default fonts quality instead of proof quality when If set to 1, use default fonts quality instead of proof quality when
creating fonts. With proof quality the fonts have slightly better creating fonts. With proof quality the fonts have slightly better

View File

@@ -170,13 +170,6 @@ bool MyApp::OnInit()
if ( !wxApp::OnInit() ) if ( !wxApp::OnInit() )
return false; return false;
#ifdef __WXMSW__
if ( argc == 2 && !wxStricmp(argv[1], "/dx") )
{
wxSystemOptions::SetOption("msw.display.directdraw", 1);
}
#endif // __WXMSW__
// create the main application window // create the main application window
MyFrame *frame = new MyFrame(_("Display wxWidgets Sample"), MyFrame *frame = new MyFrame(_("Display wxWidgets Sample"),
wxDefaultPosition, wxDefaultSize); wxDefaultPosition, wxDefaultSize);