wxDisplay build fix for missing Direct Draw.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -375,6 +375,8 @@ private:
|
||||
// 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;
|
||||
@@ -383,6 +385,7 @@ private:
|
||||
|
||||
delete factoryDD;
|
||||
}
|
||||
#endif // wxUSE_DIRECTDRAW
|
||||
|
||||
wxDisplayFactoryMultimon *factoryMM = new wxDisplayFactoryMultimon;
|
||||
if ( factoryMM->IsOk() )
|
||||
|
Reference in New Issue
Block a user