//---------------------------------------------------------------------------
wxTabbedWindow::~wxTabbedWindow()
{
- wxNode* pTab = mTabs.GetFirst();
+ wxObjectList::compatibility_iterator pTab = mTabs.GetFirst();
while( pTab )
{
//---------------------------------------------------------------------------
void wxTabbedWindow::SizeTabs(int x,int y, int width, int height, bool WXUNUSED(repant))
{
- wxNode* pTabNode = mTabs.GetFirst();
+ wxObjectList::compatibility_iterator pTabNode = mTabs.GetFirst();
size_t n = 0;
while( pTabNode )
twTabInfo* pTab = ((twTabInfo*)(mTabs.Item( tabNo )->GetData()));
pTab->mpContent->Destroy();
delete pTab;
- mTabs.DeleteNode( mTabs.Item( tabNo ) );
+ mTabs.Erase( mTabs.Item( tabNo ) );
// if ( mActiveTab >= mTabs.GetCount() );
if ( mActiveTab >= mTabs.GetCount() )
mActiveTab = mTabs.GetCount() - 1;
curY = height - mVertGap - mTitleHeight;
size_t tabNo = 0;
- wxNode* pNode = mTabs.GetFirst();
+ wxObjectList::compatibility_iterator pNode = mTabs.GetFirst();
while( pNode )
{
int curY = height - mVertGap - mTitleHeight;
int tabNo = 0;
- wxNode* pNode = mTabs.GetFirst();
+ wxObjectList::compatibility_iterator pNode = mTabs.GetFirst();
while( pNode )
{
if ( !andRepaint )
return;
- wxNode* pNode = mTabs.GetFirst();
+ wxObjectList::compatibility_iterator pNode = mTabs.GetFirst();
size_t tabNo = 0;
while( pNode )
mLayoutType = wxTITLE_IMG_AND_TEXT;
- wxNode* pNode = mTabs.GetFirst();
+ wxObjectList::compatibility_iterator pNode = mTabs.GetFirst();
curX = mFirstTitleGap; // the left-side gap
mTitleHeight = 0;
//---------------------------------------------------------------------------
int wxPagedWindow::GetWholeTabRowLen()
{
- wxNode* pNode = mTabs.GetFirst();
+ wxObjectList::compatibility_iterator pNode = mTabs.GetFirst();
int len = 0;
// draw inactive tab title bars frist (left-to-right)
- wxNode* pNode = mTabs.GetFirst();
+ wxObjectList::compatibility_iterator pNode = mTabs.GetFirst();
size_t tabNo = 0;
/* OLD STUFF::
mLayoutType = wxTITLE_IMG_AND_TEXT;
- wxNode* pNode = mTabs.GetFirst();
+ wxObjectList::compatibility_iterator pNode = mTabs.GetFirst();
while( pNode )
{