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
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
#include "testprec.h"
|
#include "testprec.h"
|
||||||
|
|
||||||
|
#if wxUSE_TOGGLEBTN
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
@@ -113,3 +115,5 @@ void BitmapToggleButtonTestCase::Value()
|
|||||||
|
|
||||||
CPPUNIT_ASSERT_EQUAL( 0, frame->GetEventCount() );
|
CPPUNIT_ASSERT_EQUAL( 0, frame->GetEventCount() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user