Fix building tests with wxUSE_UIACTIONSIMULATOR==0
This commit is contained in:
@@ -59,8 +59,8 @@ private:
|
|||||||
|
|
||||||
void Bitmap();
|
void Bitmap();
|
||||||
|
|
||||||
#ifdef __WXGTK__
|
#if defined(__WXGTK__) && wxUSE_UIACTIONSIMULATOR
|
||||||
virtual void SimSelect()
|
virtual void SimSelect() wxOVERRIDE
|
||||||
{
|
{
|
||||||
// There is an inexplicable and locally irreproducible failure in this
|
// There is an inexplicable and locally irreproducible failure in this
|
||||||
// test for wxBitmapComboBox when it runs on the Linux buildbot slaves:
|
// test for wxBitmapComboBox when it runs on the Linux buildbot slaves:
|
||||||
|
@@ -52,7 +52,9 @@ protected:
|
|||||||
void Set();
|
void Set();
|
||||||
void SetSelection();
|
void SetSelection();
|
||||||
void SetString();
|
void SetString();
|
||||||
|
#if wxUSE_UIACTIONSIMULATOR
|
||||||
virtual void SimSelect();
|
virtual void SimSelect();
|
||||||
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxDECLARE_NO_COPY_CLASS(ItemContainerTestCase);
|
wxDECLARE_NO_COPY_CLASS(ItemContainerTestCase);
|
||||||
|
@@ -248,7 +248,7 @@ private:
|
|||||||
#endif
|
#endif
|
||||||
CPPUNIT_TEST( DocView );
|
CPPUNIT_TEST( DocView );
|
||||||
WXUISIM_TEST( ContextMenuEvent );
|
WXUISIM_TEST( ContextMenuEvent );
|
||||||
CPPUNIT_TEST( PropagationLevel );
|
WXUISIM_TEST( PropagationLevel );
|
||||||
CPPUNIT_TEST_SUITE_END();
|
CPPUNIT_TEST_SUITE_END();
|
||||||
|
|
||||||
void OneHandler();
|
void OneHandler();
|
||||||
@@ -260,8 +260,10 @@ private:
|
|||||||
void ScrollWindowWithHandler();
|
void ScrollWindowWithHandler();
|
||||||
void MenuEvent();
|
void MenuEvent();
|
||||||
void DocView();
|
void DocView();
|
||||||
|
#if wxUSE_UIACTIONSIMULATOR
|
||||||
void ContextMenuEvent();
|
void ContextMenuEvent();
|
||||||
void PropagationLevel();
|
void PropagationLevel();
|
||||||
|
#endif
|
||||||
|
|
||||||
wxDECLARE_NO_COPY_CLASS(EventPropagationTestCase);
|
wxDECLARE_NO_COPY_CLASS(EventPropagationTestCase);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user