Use wxVector<> for wxBookCtrlBase::m_pages array

Get rid of another macro-based array in favour of wxVector<>.

No real changes.
This commit is contained in:
Vadim Zeitlin
2018-03-25 00:38:16 +01:00
parent 3d37b8c72a
commit bee28c2730
8 changed files with 22 additions and 24 deletions

View File

@@ -660,7 +660,7 @@ bool wxNotebook::InsertPage( size_t position,
else
m_pagesData.Insert( position, nb_page );
m_pages.Insert(win, position);
m_pages.insert(m_pages.begin() + position, win);
nb_page->m_box = gtk_hbox_new( FALSE, 1 );
gtk_container_border_width( GTK_CONTAINER(nb_page->m_box), 2 );