STL compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -198,11 +198,11 @@ void wxExtHelpController::DeleteList()
|
|||||||
{
|
{
|
||||||
if(m_MapList)
|
if(m_MapList)
|
||||||
{
|
{
|
||||||
wxNode *node = m_MapList->GetFirst();
|
wxList::compatibility_iterator node = m_MapList->GetFirst();
|
||||||
while (node)
|
while (node)
|
||||||
{
|
{
|
||||||
delete (wxExtHelpMapEntry *)node->GetData();
|
delete (wxExtHelpMapEntry *)node->GetData();
|
||||||
delete node;
|
m_MapList->Erase(node);
|
||||||
node = m_MapList->GetFirst();
|
node = m_MapList->GetFirst();
|
||||||
}
|
}
|
||||||
delete m_MapList;
|
delete m_MapList;
|
||||||
@@ -328,7 +328,7 @@ wxExtHelpController::DisplayContents()
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
wxString contents;
|
wxString contents;
|
||||||
wxNode *node = m_MapList->GetFirst();
|
wxList::compatibility_iterator node = m_MapList->GetFirst();
|
||||||
wxExtHelpMapEntry *entry;
|
wxExtHelpMapEntry *entry;
|
||||||
while(node)
|
while(node)
|
||||||
{
|
{
|
||||||
@@ -360,7 +360,7 @@ wxExtHelpController::DisplaySection(int sectionNo)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
wxBusyCursor b; // display a busy cursor
|
wxBusyCursor b; // display a busy cursor
|
||||||
wxNode *node = m_MapList->GetFirst();
|
wxList::compatibility_iterator node = m_MapList->GetFirst();
|
||||||
wxExtHelpMapEntry *entry;
|
wxExtHelpMapEntry *entry;
|
||||||
while(node)
|
while(node)
|
||||||
{
|
{
|
||||||
@@ -401,7 +401,7 @@ wxExtHelpController::KeywordSearch(const wxString& k)
|
|||||||
int idx = 0, j;
|
int idx = 0, j;
|
||||||
bool rc;
|
bool rc;
|
||||||
bool showAll = k.IsEmpty();
|
bool showAll = k.IsEmpty();
|
||||||
wxNode *node = m_MapList->GetFirst();
|
wxList::compatibility_iterator node = m_MapList->GetFirst();
|
||||||
wxExtHelpMapEntry *entry;
|
wxExtHelpMapEntry *entry;
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user