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
|
// we have 2 implementations for modern Windows: one using standard Win32
|
||||||
// and another using DirectDraw, the choice between them is done using a
|
// and another using DirectDraw, the choice between them is done using a
|
||||||
// system option
|
// system option
|
||||||
|
|
||||||
|
#ifdef wxUSE_DIRECTDRAW
|
||||||
if ( wxSystemOptions::GetOptionInt(_T("msw.display.directdraw")) )
|
if ( wxSystemOptions::GetOptionInt(_T("msw.display.directdraw")) )
|
||||||
{
|
{
|
||||||
wxDisplayFactoryDirectDraw *factoryDD = new wxDisplayFactoryDirectDraw;
|
wxDisplayFactoryDirectDraw *factoryDD = new wxDisplayFactoryDirectDraw;
|
||||||
@@ -383,6 +385,7 @@ private:
|
|||||||
|
|
||||||
delete factoryDD;
|
delete factoryDD;
|
||||||
}
|
}
|
||||||
|
#endif // wxUSE_DIRECTDRAW
|
||||||
|
|
||||||
wxDisplayFactoryMultimon *factoryMM = new wxDisplayFactoryMultimon;
|
wxDisplayFactoryMultimon *factoryMM = new wxDisplayFactoryMultimon;
|
||||||
if ( factoryMM->IsOk() )
|
if ( factoryMM->IsOk() )
|
||||||
|
Reference in New Issue
Block a user