]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/listbasetest.cpp
Fix setting initial wxSpinCtrl value outside 0..100 range in wxMSW.
[wxWidgets.git] / tests / controls / listbasetest.cpp
index 443ca241b52326f8e662a28fec07be21b34c4539..65bffc00e71338acd7be1d85f0c0b51db452db4a 100644 (file)
@@ -181,11 +181,13 @@ void ListBaseTestCase::ItemClick()
     //        generic wxListCtrl implementation.
 #if wxUSE_UIACTIONSIMULATOR && !defined(__WXGTK__)
 
+#ifdef __WXMSW__
     // FIXME: This test fails on MSW buildbot slaves although works fine on
     //        development machine, no idea why. It seems to be a problem with
     //        wxUIActionSimulator rather the wxListCtrl control itself however.
-    if ( wxGetUserId().Lower().Matches("buildslave*") )
+    if ( IsAutomaticTest() )
         return;
+#endif // __WXMSW__
 
     wxListCtrl* const list = GetList();