From 0e325e62620ff36e15186ed44172555983e72487 Mon Sep 17 00:00:00 2001 From: ali kettab Date: Tue, 31 Oct 2023 22:56:30 +0100 Subject: [PATCH] Fix failures in ListBoxTestCase tests under wxQt --- tests/controls/listboxtest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/controls/listboxtest.cpp b/tests/controls/listboxtest.cpp index 124f2debf4..6d0b9f1a47 100644 --- a/tests/controls/listboxtest.cpp +++ b/tests/controls/listboxtest.cpp @@ -199,8 +199,8 @@ void ListBoxTestCase::ClickEvents() m_list->Append(testitems); - m_list->Update(); m_list->Refresh(); + m_list->Update(); sim.MouseMove(m_list->ClientToScreen(wxPoint(10, 10))); wxYield(); @@ -242,8 +242,8 @@ void ListBoxTestCase::ClickNotOnItem() // simply avoid it by starting with a valid selection. m_list->SetSelection(0); - m_list->Update(); m_list->Refresh(); + m_list->Update(); sim.MouseMove(m_list->ClientToScreen(wxPoint(m_list->GetSize().x - 10, m_list->GetSize().y - 10))); wxYield();