Fix building tests with wxUSE_UIACTIONSIMULATOR==0

This commit is contained in:
Paul Cornett 2017-10-01 09:44:53 -07:00
parent fc7f20c419
commit a87599b127
3 changed files with 7 additions and 3 deletions

View File

@ -59,8 +59,8 @@ private:
void Bitmap();
#ifdef __WXGTK__
virtual void SimSelect()
#if defined(__WXGTK__) && wxUSE_UIACTIONSIMULATOR
virtual void SimSelect() wxOVERRIDE
{
// There is an inexplicable and locally irreproducible failure in this
// test for wxBitmapComboBox when it runs on the Linux buildbot slaves:

View File

@ -52,7 +52,9 @@ protected:
void Set();
void SetSelection();
void SetString();
#if wxUSE_UIACTIONSIMULATOR
virtual void SimSelect();
#endif
private:
wxDECLARE_NO_COPY_CLASS(ItemContainerTestCase);

View File

@ -248,7 +248,7 @@ private:
#endif
CPPUNIT_TEST( DocView );
WXUISIM_TEST( ContextMenuEvent );
CPPUNIT_TEST( PropagationLevel );
WXUISIM_TEST( PropagationLevel );
CPPUNIT_TEST_SUITE_END();
void OneHandler();
@ -260,8 +260,10 @@ private:
void ScrollWindowWithHandler();
void MenuEvent();
void DocView();
#if wxUSE_UIACTIONSIMULATOR
void ContextMenuEvent();
void PropagationLevel();
#endif
wxDECLARE_NO_COPY_CLASS(EventPropagationTestCase);
};