git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38142
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// we have 2 implementations for modern Windows: one using standard Win32
// and another using DirectDraw, the choice between them is done using a
// system option
+
+#ifdef wxUSE_DIRECTDRAW
if ( wxSystemOptions::GetOptionInt(_T("msw.display.directdraw")) )
{
wxDisplayFactoryDirectDraw *factoryDD = new wxDisplayFactoryDirectDraw;
delete factoryDD;
}
+#endif // wxUSE_DIRECTDRAW
wxDisplayFactoryMultimon *factoryMM = new wxDisplayFactoryMultimon;
if ( factoryMM->IsOk() )