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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user