Fix ambiguous call to wxNotebook::DeletePage

This commit is contained in:
Maarten Bent
2018-09-18 21:08:28 +02:00
parent 7bf952165f
commit 837b7ca3e1

View File

@@ -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<size_t>(0));
CHECK( m_numPageChanges == 1 );
// But deleting the entire control shouldn't generate any events, yet it