From 837b7ca3e13e076ca3c8c122a0935545873da4b5 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Tue, 18 Sep 2018 21:08:28 +0200 Subject: [PATCH] Fix ambiguous call to wxNotebook::DeletePage --- tests/controls/notebooktest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controls/notebooktest.cpp b/tests/controls/notebooktest.cpp index c209eb4c3f..1812d08a97 100644 --- a/tests/controls/notebooktest.cpp +++ b/tests/controls/notebooktest.cpp @@ -106,7 +106,7 @@ void NotebookTestCase::NoEventsOnDestruction() // Normally deleting a page before the selected one results in page // selection changing and the corresponding event. - m_notebook->DeletePage(0); + m_notebook->DeletePage(static_cast(0)); CHECK( m_numPageChanges == 1 ); // But deleting the entire control shouldn't generate any events, yet it