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

View File

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