From 663a3ae1da740f84d5c813f2be02bc5b98c5c2ec Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Sun, 5 Sep 2010 12:47:46 +0000 Subject: [PATCH] Wrap BitmapToggleButtonTestCase in a preprocessor check so compilation shouldn't fail on platforms that don't support it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/controls/bitmaptogglebuttontest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/controls/bitmaptogglebuttontest.cpp b/tests/controls/bitmaptogglebuttontest.cpp index a71be54b06..a14230ab4e 100644 --- a/tests/controls/bitmaptogglebuttontest.cpp +++ b/tests/controls/bitmaptogglebuttontest.cpp @@ -9,6 +9,8 @@ #include "testprec.h" +#if wxUSE_TOGGLEBTN + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -113,3 +115,5 @@ void BitmapToggleButtonTestCase::Value() CPPUNIT_ASSERT_EQUAL( 0, frame->GetEventCount() ); } + +#endif -- 2.50.0