git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10898
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
::DeleteMenuItem( m_macPopUpMenuHandle , n + 1) ;
m_strings.Remove( n ) ;
::DeleteMenuItem( m_macPopUpMenuHandle , n + 1) ;
m_strings.Remove( n ) ;
+ m_datas.RemoveAt( n ) ;
SetControlMaximum( m_macControl , GetCount()) ;
}
SetControlMaximum( m_macControl , GetCount()) ;
}
}
#endif // wxUSE_OWNER_DRAWN/!wxUSE_OWNER_DRAWN
m_stringArray.Remove( N ) ;
}
#endif // wxUSE_OWNER_DRAWN/!wxUSE_OWNER_DRAWN
m_stringArray.Remove( N ) ;
- m_dataArray.Remove( N ) ;
+ m_dataArray.RemoveAt( N ) ;
m_noItems --;
MacDelete( N ) ;
m_noItems --;
MacDelete( N ) ;
if ( accel )
m_accels[n] = accel;
else
if ( accel )
m_accels[n] = accel;
else
}
//else: this item doesn't have an accel, nothing to do
#endif // wxUSE_ACCEL
}
//else: this item doesn't have an accel, nothing to do
#endif // wxUSE_ACCEL
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
-#pragma implementation "notebook.h"
+ #pragma implementation "notebook.h"
#endif
#include <wx/string.h>
#endif
#include <wx/string.h>
{
wxCHECK( IS_VALID_PAGE(nPage), NULL );
wxNotebookPage* page = m_pages[nPage] ;
{
wxCHECK( IS_VALID_PAGE(nPage), NULL );
wxNotebookPage* page = m_pages[nPage] ;
+ m_pages.RemoveAt(nPage);
::DeleteMenuItem( m_macPopUpMenuHandle , n + 1) ;
m_strings.Remove( n ) ;
::DeleteMenuItem( m_macPopUpMenuHandle , n + 1) ;
m_strings.Remove( n ) ;
+ m_datas.RemoveAt( n ) ;
SetControlMaximum( m_macControl , GetCount()) ;
}
SetControlMaximum( m_macControl , GetCount()) ;
}
}
#endif // wxUSE_OWNER_DRAWN/!wxUSE_OWNER_DRAWN
m_stringArray.Remove( N ) ;
}
#endif // wxUSE_OWNER_DRAWN/!wxUSE_OWNER_DRAWN
m_stringArray.Remove( N ) ;
- m_dataArray.Remove( N ) ;
+ m_dataArray.RemoveAt( N ) ;
m_noItems --;
MacDelete( N ) ;
m_noItems --;
MacDelete( N ) ;
if ( accel )
m_accels[n] = accel;
else
if ( accel )
m_accels[n] = accel;
else
}
//else: this item doesn't have an accel, nothing to do
#endif // wxUSE_ACCEL
}
//else: this item doesn't have an accel, nothing to do
#endif // wxUSE_ACCEL
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
-#pragma implementation "notebook.h"
+ #pragma implementation "notebook.h"
#endif
#include <wx/string.h>
#endif
#include <wx/string.h>
{
wxCHECK( IS_VALID_PAGE(nPage), NULL );
wxNotebookPage* page = m_pages[nPage] ;
{
wxCHECK( IS_VALID_PAGE(nPage), NULL );
wxNotebookPage* page = m_pages[nPage] ;
+ m_pages.RemoveAt(nPage);