Include GDI+ and Direct2D clipping box test cases only for MSW build.
This commit is contained in:
@@ -189,6 +189,9 @@ CPPUNIT_TEST_SUITE_REGISTRATION( ClippingBoxTestCaseGCDC );
|
||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ClippingBoxTestCaseGCDC, "ClippingBoxTestCaseGCDC" );
|
||||
#endif // !__WXMSW__
|
||||
|
||||
#ifdef __WXMSW__
|
||||
// GDI+ and Direct2D are available only under MSW.
|
||||
|
||||
#if wxUSE_GRAPHICS_GDIPLUS
|
||||
class ClippingBoxTestCaseGDIPlus : public ClippingBoxTestCaseGCDC
|
||||
{
|
||||
@@ -271,6 +274,8 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ClippingBoxTestCaseDirect2D, "ClippingBox
|
||||
|
||||
#endif // wxUSE_GRAPHICS_DIRECT2D
|
||||
|
||||
#endif // __WXMSW__
|
||||
|
||||
#if wxUSE_CAIRO
|
||||
class ClippingBoxTestCaseCairo : public ClippingBoxTestCaseGCDC
|
||||
{
|
||||
|
Reference in New Issue
Block a user