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:
@@ -150,7 +150,7 @@ bool wxNotebook::InsertPage(size_t n, wxWindow *page, const wxString& text,
|
||||
m_qtTabWidget->insertTab( n, page->GetHandle(), wxQtConvertString( text ));
|
||||
}
|
||||
|
||||
m_pages.Insert(page, n);
|
||||
m_pages.insert(m_pages.begin() + n, page);
|
||||
m_images.insert(m_images.begin() + n, imageId);
|
||||
|
||||
// reenable firing qt signals as internal wx initialization was completed
|
||||
|
Reference in New Issue
Block a user