diff --git a/tests/controls/windowtest.cpp b/tests/controls/windowtest.cpp index ac9b777c94..563af79db4 100644 --- a/tests/controls/windowtest.cpp +++ b/tests/controls/windowtest.cpp @@ -54,8 +54,6 @@ protected: wxDECLARE_NO_COPY_CLASS(WindowTestCase); }; -#if defined(__WXMSW__) - static void DoTestShowHideEvent(wxWindow* window) { EventCounter show(window, wxEVT_SHOW); @@ -89,8 +87,6 @@ TEST_CASE_METHOD(WindowTestCase, "Window::ShowHideEvent", "[window]") } } -#endif // __WXMSW__ - TEST_CASE_METHOD(WindowTestCase, "Window::KeyEvent", "[window]") { #if wxUSE_UIACTIONSIMULATOR