*.swo
Release
Debug
+ReleaseUnicode
+DebugUnicode
+ReleaseUnicodeARM
+DebugUnicodeARM
+ReleaseUnicodeMIPS
+DebugUnicodeMIPS
+ReleaseUnicodeSH3
+DebugUnicodeSH3
+ReleaseUnicodeX86
+DebugUnicodeX86
+ReleaseUnicodeX86EM
+DebugUnicodeX86EM
ReleaseDLL
DebugDLL
ReleaseUnicodeDLL
- fixes to wxTextCtrl scrolling under GTK2 (Nerijus Baliunas)
- fix for crash when using user-dashed lines (Chris Borgolte)
- fixed wxChoice::Delete() in presence of client data
+- allow calling wxWindow::SetFont if window not yet created
wxHTML:
for( unsigned n = 0; n != len; ++n )
- result += mResultStr[pos+n];
+ result += mResultStr[(unsigned int)(pos+n)];
pos += len;
ctConfigItem* child = (ctConfigItem*) node->GetData();
InitSourceConfigList(child);
- node = node->Next();
+ node = node->GetNext();
}
}
/// the config items
void ctConfiguration::DetachFromTree()
{
+/*
wxTreeItemId item = GetTreeItemId();
// TODO
-/*
ctTreeItemData* data = (ctTreeItemData*) wxGetApp().GetMainFrame()->GetConfigTreeCtrl()->GetItemData(item);
data->SetConfigItem(NULL);
m_treeItemId = wxTreeItemId();
wxGetCwd(),
wxEmptyString,
wxEmptyString,
- wxT(
- "Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|\
- HTML Help Project (*.hhp)|*.hhp"),
+ wxT("Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|HTML Help Project (*.hhp)|*.hhp"),
wxOPEN | wxFILE_MUST_EXIST,
NULL);
int hvApp::OnExit()
{
#if hvUSE_IPC
- wxNode* node = m_connections.First();
+ wxNode* node = m_connections.GetFirst();
while (node)
{
- wxNode* next = node->Next();
- hvConnection* connection = (hvConnection*) node->Data();
+ wxNode* next = node->GetNext();
+ hvConnection* connection = (hvConnection*) node->GetData();
connection->Disconnect();
delete connection;
node = next;
if (def && (def->macroId == ltVERBATIM || def->macroId == ltVERB || def->macroId == ltSPECIAL))
inVerbatim = TRUE;
- wxNode *node = chunk->children.First();
+ wxNode *node = chunk->children.GetFirst();
while (node)
{
- TexChunk *child_chunk = (TexChunk *)node->Data();
+ TexChunk *child_chunk = (TexChunk *)node->GetData();
Text2HTML(child_chunk);
- node = node->Next();
+ node = node->GetNext();
}
if (def && (def->macroId == ltVERBATIM || def->macroId == ltVERB || def->macroId == ltSPECIAL))
}
case CHUNK_TYPE_ARG:
{
- wxNode *node = chunk->children.First();
+ wxNode *node = chunk->children.GetFirst();
while (node)
{
- TexChunk *child_chunk = (TexChunk *)node->Data();
+ TexChunk *child_chunk = (TexChunk *)node->GetData();
Text2HTML(child_chunk);
- node = node->Next();
+ node = node->GetNext();
}
break;
else
{
indentLevel --;
- if (itemizeStack.First())
+ if (itemizeStack.GetFirst())
{
- ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.First()->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.GetFirst()->GetData();
switch (struc->listType)
{
case LATEX_ITEMIZE:
}
delete struc;
- delete itemizeStack.First();
+ delete itemizeStack.GetFirst();
}
}
break;
{
if (!start)
{
- wxNode *node = itemizeStack.First();
+ wxNode *node = itemizeStack.GetFirst();
if (node)
{
- ItemizeStruc *struc = (ItemizeStruc *)node->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)node->GetData();
struc->currentItem += 1;
if (struc->listType == LATEX_DESCRIPTION)
{
wxNode *node = NULL;
while ((node = TopicTable.Next()))
{
- TexTopic *texTopic = (TexTopic *)node->Data();
+ TexTopic *texTopic = (TexTopic *)node->GetData();
const char *topicName = node->GetKeyString();
if (texTopic->filename && texTopic->keywords)
{
- wxNode *node1 = texTopic->keywords->First();
+ wxStringListNode *node1 = texTopic->keywords->GetFirst();
while (node1)
{
- char *s = (char *)node1->Data();
+ char *s = (char *)node1->GetData();
fprintf(fd, "%s|%s|%s\n", topicName, texTopic->filename, s);
- node1 = node1->Next();
+ node1 = node1->GetNext();
}
}
}
wxNode *node = NULL;
while ((node = TopicTable.Next()))
{
- TexTopic *texTopic = (TexTopic *)node->Data();
+ TexTopic *texTopic = (TexTopic *)node->GetData();
const char *topicName = node->GetKeyString();
if (texTopic->filename && texTopic->keywords)
{
- wxNode *node1 = texTopic->keywords->First();
+ wxStringListNode *node1 = texTopic->keywords->GetFirst();
while (node1)
{
- char *s = (char *)node1->Data();
+ char *s = (char *)node1->GetData();
fprintf(f,
" <LI> <OBJECT type=\"text/sitemap\">\n"
" <param name=\"Local\" value=\"%s#%s\">\n"
" <param name=\"Name\" value=\"%s\">\n"
" </OBJECT>\n",
texTopic->filename, topicName, s);
- node1 = node1->Next();
+ node1 = node1->GetNext();
}
}
}
wxStringList *list = texTopic->keywords;
if (list)
{
- wxNode *node = list->First();
+ wxStringListNode *node = list->GetFirst();
while (node)
{
- char *s = (char *)node->Data();
+ char *s = (char *)node->GetData();
// Must separate out main entry form subentry (only 1 subentry allowed)
char buf1[100]; char buf2[100];
TexOutput(buf2);
}
TexOutput("}\n");
- node = node->Next();
+ node = node->GetNext();
}
}
}
void WriteColourTable(FILE *fd)
{
fprintf(fd, "{\\colortbl");
- wxNode *node = ColourTable.First();
+ wxNode *node = ColourTable.GetFirst();
while (node)
{
- ColourTableEntry *entry = (ColourTableEntry *)node->Data();
+ ColourTableEntry *entry = (ColourTableEntry *)node->GetData();
fprintf(fd, "\\red%d\\green%d\\blue%d;\n", entry->red, entry->green, entry->blue);
- node = node->Next();
+ node = node->GetNext();
}
fprintf(fd, "}");
}
if (def && (def->macroId == ltVERBATIM || def->macroId == ltVERB))
inVerbatim = TRUE;
- wxNode *node = chunk->children.First();
+ wxNode *node = chunk->children.GetFirst();
while (node)
{
- TexChunk *child_chunk = (TexChunk *)node->Data();
+ TexChunk *child_chunk = (TexChunk *)node->GetData();
Text2RTF(child_chunk);
- node = node->Next();
+ node = node->GetNext();
}
if (def && (def->macroId == ltVERBATIM || def->macroId == ltVERB))
}
case CHUNK_TYPE_ARG:
{
- wxNode *node = chunk->children.First();
+ wxNode *node = chunk->children.GetFirst();
while (node)
{
- TexChunk *child_chunk = (TexChunk *)node->Data();
+ TexChunk *child_chunk = (TexChunk *)node->GetData();
Text2RTF(child_chunk);
- node = node->Next();
+ node = node->GetNext();
}
break;
void PopEnvironmentStyle(void)
{
- wxNode *node = environmentStack.Last();
+ wxStringListNode *node = environmentStack.GetLast();
if (node)
{
- char *val = (char *)node->Data();
+ char *val = (char *)node->GetData();
delete[] val;
delete node;
}
// Write out the styles, most recent first.
void WriteEnvironmentStyles(void)
{
- wxNode *node = environmentStack.Last();
+ wxStringListNode *node = environmentStack.GetLast();
while (node)
{
- char *val = (char *)node->Data();
+ char *val = (char *)node->GetData();
TexOutput(val);
- node = node->Next();
+ node = node->GetNext();
}
if (!inTabular && (ParIndent > 0) && (forbidParindent == 0))
{
sprintf(buf, "\\fi%d", ParIndent*20); // Convert points to TWIPS
TexOutput(buf);
}
- if (environmentStack.Number() > 0 || (ParIndent > 0))
+ if (environmentStack.GetCount() > 0 || (ParIndent > 0))
TexOutput("\n");
}
listType = LATEX_DESCRIPTION;
int oldIndent = 0;
- wxNode *node = itemizeStack.First();
+ wxNode *node = itemizeStack.GetFirst();
if (node)
- oldIndent = ((ItemizeStruc *)node->Data())->indentation;
+ oldIndent = ((ItemizeStruc *)node->GetData())->indentation;
int indentSize1 = oldIndent + 20*labelIndentTab;
int indentSize2 = oldIndent + 20*itemIndentTab;
indentLevel --;
PopEnvironmentStyle();
- if (itemizeStack.First())
+ if (itemizeStack.GetFirst())
{
- ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.First()->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.GetFirst()->GetData();
delete struc;
- delete itemizeStack.First();
+ delete itemizeStack.GetFirst();
}
/* Change 18/7/97 - don't know why we wish to do this
if (itemizeStack.Number() == 0)
{
indentLevel ++;
int oldIndent = 0;
- wxNode *node = itemizeStack.First();
+ wxNode *node = itemizeStack.GetFirst();
if (node)
- oldIndent = ((ItemizeStruc *)node->Data())->indentation;
+ oldIndent = ((ItemizeStruc *)node->GetData())->indentation;
int indentSize = oldIndent + TwoColWidthA;
{
indentLevel --;
PopEnvironmentStyle();
- if (itemizeStack.First())
+ if (itemizeStack.GetFirst())
{
- ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.First()->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.GetFirst()->GetData();
delete struc;
- delete itemizeStack.First();
+ delete itemizeStack.GetFirst();
}
/*
// JACS June 1997
WriteEnvironmentStyles();
*/
/* why do we need this? */
- if (itemizeStack.Number() == 0)
+ if (itemizeStack.GetCount() == 0)
{
issuedNewParagraph = 0;
OnMacro(ltPAR, 0, TRUE);
}
case ltITEM:
{
- wxNode *node = itemizeStack.First();
+ wxNode *node = itemizeStack.GetFirst();
if (node)
{
- ItemizeStruc *struc = (ItemizeStruc *)node->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)node->GetData();
if (!start)
{
struc->currentItem += 1;
case ltTWOCOLITEM:
case ltTWOCOLITEMRULED:
{
- wxNode *node = itemizeStack.First();
+ wxNode *node = itemizeStack.GetFirst();
if (node)
{
- ItemizeStruc *struc = (ItemizeStruc *)node->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)node->GetData();
if (start)
{
struc->currentItem += 1;
int oldIndent = 0;
wxNode *node2 = NULL;
- if (itemizeStack.Number() > 1) // TODO: do I actually mean Nth(0) here??
- node2 = itemizeStack.Nth(1);
+ if (itemizeStack.GetCount() > 1) // TODO: do I actually mean Nth(0) here??
+ node2 = itemizeStack.Item(1);
if (node2)
- oldIndent = ((ItemizeStruc *)node2->Data())->indentation;
+ oldIndent = ((ItemizeStruc *)node2->GetData())->indentation;
TexOutput("\n");
if (struc->currentItem > 1)
// indentLevel ++;
// TexOutput("\\fi0\n");
int oldIndent = 0;
- wxNode *node = itemizeStack.First();
+ wxNode *node = itemizeStack.GetFirst();
if (node)
- oldIndent = ((ItemizeStruc *)node->Data())->indentation;
+ oldIndent = ((ItemizeStruc *)node->GetData())->indentation;
int indentValue = 20*ParseUnitArgument(GetArgData());
int indentSize = indentValue + oldIndent;
if (!start && (arg_no == 2))
{
PopEnvironmentStyle();
- if (itemizeStack.First())
+ if (itemizeStack.GetFirst())
{
- ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.First()->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.GetFirst()->GetData();
delete struc;
- delete itemizeStack.First();
+ delete itemizeStack.GetFirst();
}
- if (itemizeStack.Number() == 0)
+ if (itemizeStack.GetCount() == 0)
{
TexOutput("\\par\\pard\n");
issuedNewParagraph = 1;
if (start && (arg_no == 1))
{
int oldIndent = 0;
- wxNode *node = itemizeStack.First();
+ wxNode *node = itemizeStack.GetFirst();
if (node)
- oldIndent = ((ItemizeStruc *)node->Data())->indentation;
+ oldIndent = ((ItemizeStruc *)node->GetData())->indentation;
int boxWidth = 20*ParseUnitArgument(GetArgData());
if (!start && (arg_no == 2))
{
PopEnvironmentStyle();
- if (itemizeStack.First())
+ if (itemizeStack.GetFirst())
{
- ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.First()->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.GetFirst()->GetData();
delete struc;
- delete itemizeStack.First();
+ delete itemizeStack.GetFirst();
}
if (itemizeStack.Number() == 0)
{
{
int n = buffer[pos] - 48;
pos ++;
- wxNode *node = customMacroArgs->children.Nth(n-1);
+ wxNode *node = customMacroArgs->children.Item(n-1);
if (node)
{
- TexChunk *argChunk = (TexChunk *)node->Data();
+ TexChunk *argChunk = (TexChunk *)node->GetData();
children.Append((wxObject *)new TexChunk(*argChunk));
}
}
parent->no_args = maxArgs;
// Tell each argument how many args there are (useful when processing an arg)
- wxNode *node = parent->children.First();
+ wxNode *node = parent->children.GetFirst();
while (node)
{
- TexChunk *chunk = (TexChunk *)node->Data();
+ TexChunk *chunk = (TexChunk *)node->GetData();
chunk->no_args = maxArgs;
- node = node->Next();
+ node = node->GetNext();
}
return pos;
}
value = NULL;
optional = toCopy.optional;
- wxNode *node = toCopy.children.First();
+ wxNode *node = toCopy.children.GetFirst();
while (node)
{
- TexChunk *child = (TexChunk *)node->Data();
+ TexChunk *child = (TexChunk *)node->GetData();
children.Append((wxObject *)new TexChunk(*child));
- node = node->Next();
+ node = node->GetNext();
}
}
{
// if (name) delete[] name;
if (value) delete[] value;
- wxNode *node = children.First();
+ wxNode *node = children.GetFirst();
while (node)
{
- TexChunk *child = (TexChunk *)node->Data();
+ TexChunk *child = (TexChunk *)node->GetData();
delete child;
- wxNode *next = node->Next();
+ wxNode *next = node->GetNext();
delete node;
node = next;
}
strcat(currentArgData, def->name);
}
- wxNode *node = chunk->children.First();
+ wxNode *node = chunk->children.GetFirst();
while (node)
{
- TexChunk *child_chunk = (TexChunk *)node->Data();
+ TexChunk *child_chunk = (TexChunk *)node->GetData();
strcat(currentArgData, "{");
GetArgData1(child_chunk);
strcat(currentArgData, "}");
- node = node->Next();
+ node = node->GetNext();
}
break;
}
case CHUNK_TYPE_ARG:
{
- wxNode *node = chunk->children.First();
+ wxNode *node = chunk->children.GetFirst();
while (node)
{
- TexChunk *child_chunk = (TexChunk *)node->Data();
+ TexChunk *child_chunk = (TexChunk *)node->GetData();
GetArgData1(child_chunk);
- node = node->Next();
+ node = node->GetNext();
}
break;
}
if (!childrenOnly)
OnMacro(chunk->macroId, chunk->no_args, TRUE);
- wxNode *node = chunk->children.First();
+ wxNode *node = chunk->children.GetFirst();
TexChunk *child_chunk = NULL;
while (node)
{
- child_chunk = (TexChunk *)node->Data();
+ child_chunk = (TexChunk *)node->GetData();
TraverseFromChunk(child_chunk, node);
- node = node->Next();
+ node = node->GetNext();
}
- if (thisNode && thisNode->Next())
- nextChunk = (TexChunk *)thisNode->Next()->Data();
+ if (thisNode && thisNode->GetNext())
+ nextChunk = (TexChunk *)thisNode->GetNext()->GetData();
if (!childrenOnly)
OnMacro(chunk->macroId, chunk->no_args, FALSE);
if (childrenOnly || OnArgument(chunk->macroId, chunk->argn, TRUE))
{
- wxNode *node = chunk->children.First();
+ wxNode *node = chunk->children.GetFirst();
while (node)
{
- TexChunk *child_chunk = (TexChunk *)node->Data();
+ TexChunk *child_chunk = (TexChunk *)node->GetData();
TraverseFromChunk(child_chunk, node);
- node = node->Next();
+ node = node->GetNext();
}
}
currentArgument = chunk;
- if (thisNode && thisNode->Next())
- nextChunk = (TexChunk *)thisNode->Next()->Data();
+ if (thisNode && thisNode->GetNext())
+ nextChunk = (TexChunk *)thisNode->GetNext()->GetData();
isArgOptional = chunk->optional;
noArgs = chunk->no_args;
{
/* Don't want to remove custom macros after each pass.*/
SetFontSizes(10);
- wxNode *node = CustomMacroList.First();
+ wxNode *node = CustomMacroList.GetFirst();
while (node)
{
- CustomMacro *macro = (CustomMacro *)node->Data();
+ CustomMacro *macro = (CustomMacro *)node->GetData();
delete macro;
delete node;
- node = CustomMacroList.First();
+ node = CustomMacroList.GetFirst();
}
}
/**/
wxNode *node = TexReferences.Next();
while (node)
{
- TexRef *ref = (TexRef *)node->Data();
+ TexRef *ref = (TexRef *)node->GetData();
delete ref;
node = TexReferences.Next();
}
TexReferences.Clear();
- node = BibList.First();
+ node = BibList.GetFirst();
while (node)
{
- BibEntry *entry = (BibEntry *)node->Data();
+ BibEntry *entry = (BibEntry *)node->GetData();
delete entry;
delete node;
- node = BibList.First();
+ node = BibList.GetFirst();
}
CitationList.Clear();
ResetTopicCounter();
#ifndef NO_GUI
int MyApp::OnExit()
{
- wxNode *node = CustomMacroList.First();
+ wxNode *node = CustomMacroList.GetFirst();
while (node)
{
- CustomMacro *macro = (CustomMacro *)node->Data();
+ CustomMacro *macro = (CustomMacro *)node->GetData();
delete macro;
delete node;
- node = CustomMacroList.First();
+ node = CustomMacroList.GetFirst();
}
MacroDefs.BeginFind();
node = MacroDefs.Next();
while (node)
{
- TexMacroDef* def = (TexMacroDef*) node->Data();
+ TexMacroDef* def = (TexMacroDef*) node->GetData();
delete def;
node = MacroDefs.Next();
}
#include "wx/log.h"
#endif
+#include "wx/app.h"
#include "wx/hash.h"
#ifdef new
if (chunk && (chunk->type == CHUNK_TYPE_MACRO) &&
(chunk->macroId == ltLABEL))
{
- wxNode *node = chunk->children.First();
+ wxNode *node = chunk->children.GetFirst();
if (node)
{
- TexChunk *child = (TexChunk *)node->Data();
+ TexChunk *child = (TexChunk *)node->GetData();
if (child->type == CHUNK_TYPE_ARG)
{
- wxNode *snode = child->children.First();
+ wxNode *snode = child->children.GetFirst();
if (snode)
{
- TexChunk *schunk = (TexChunk *)snode->Data();
+ TexChunk *schunk = (TexChunk *)snode->GetData();
if (schunk->type == CHUNK_TYPE_STRING)
topicName = schunk->value;
}
while (node)
{
Tex2RTFYield();
- TexRef *ref = (TexRef *)node->Data();
+ TexRef *ref = (TexRef *)node->GetData();
ostr << ref->refLabel << " " << (ref->refFile ? ref->refFile : "??") << " ";
ostr << (ref->sectionName ? ref->sectionName : "??") << " ";
ostr << (ref->sectionNumber ? ref->sectionNumber : "??") << "\n";
OnMacro(ltPAR, 0, FALSE);
}
- wxNode *node = CitationList.First();
+ wxStringListNode *node = CitationList.GetFirst();
while (node)
{
- char *citeKey = (char *)node->Data();
+ char *citeKey = (char *)node->GetData();
// wxNode *texNode = TexReferences.Find(citeKey);
TexRef *ref = (TexRef *)TexReferences.Get(citeKey);
wxNode *bibNode = BibList.Find(citeKey);
if (bibNode && ref)
{
- BibEntry *entry = (BibEntry *)bibNode->Data();
+ BibEntry *entry = (BibEntry *)bibNode->GetData();
OutputBibItem(ref, entry);
}
- node = node->Next();
+ node = node->GetNext();
}
}
void ResolveBibReferences(void)
{
- if (CitationList.Number() > 0)
+ if (CitationList.GetCount() > 0)
OnInform("Resolving bibliographic references...");
citeCount = 1;
char buf[200];
- wxNode *node = CitationList.First();
+ wxStringListNode *node = CitationList.GetFirst();
while (node)
{
Tex2RTFYield();
- char *citeKey = (char *)node->Data();
+ char *citeKey = (char *)node->GetData();
// wxNode *texNode = TexReferences.Find(citeKey);
TexRef *ref = (TexRef *)TexReferences.Get(citeKey);
wxNode *bibNode = BibList.Find(citeKey);
if (bibNode && ref)
{
// Unused Variable
- //BibEntry *entry = (BibEntry *)bibNode->Data();
+ //BibEntry *entry = (BibEntry *)bibNode->GetData();
if (ref->sectionNumber) delete[] ref->sectionNumber;
sprintf(buf, "[%d]", citeCount);
ref->sectionNumber = copystring(buf);
sprintf(buf, "Warning: bib ref %s not resolved.", citeKey);
OnInform(buf);
}
- node = node->Next();
+ node = node->GetNext();
}
}
wxNode *node = CustomMacroList.Find(name);
if (node)
{
- CustomMacro *macro = (CustomMacro *)node->Data();
+ CustomMacro *macro = (CustomMacro *)node->GetData();
return macro;
}
return NULL;
// Display custom macros
void ShowCustomMacros(void)
{
- wxNode *node = CustomMacroList.First();
+ wxNode *node = CustomMacroList.GetFirst();
if (!node)
{
OnInform("No custom macros loaded.\n");
char buf[400];
while (node)
{
- CustomMacro *macro = (CustomMacro *)node->Data();
+ CustomMacro *macro = (CustomMacro *)node->GetData();
sprintf(buf, "\\%s[%d]\n {%s}", macro->macroName, macro->noArgs,
macro->macroBody ? macro->macroBody : "");
OnInform(buf);
- node = node->Next();
+ node = node->GetNext();
}
}
wxNode *node = ColourTable.Find(theName);
if (node)
{
- ColourTableEntry *entry = (ColourTableEntry *)node->Data();
+ ColourTableEntry *entry = (ColourTableEntry *)node->GetData();
if (entry->red == r || entry->green == g || entry->blue == b)
return;
else
int FindColourPosition(char *theName)
{
int i = 0;
- wxNode *node = ColourTable.First();
+ wxNode *node = ColourTable.GetFirst();
while (node)
{
- ColourTableEntry *entry = (ColourTableEntry *)node->Data();
+ ColourTableEntry *entry = (ColourTableEntry *)node->GetData();
if (strcmp(theName, entry->name) == 0)
return i;
i ++;
- node = node->Next();
+ node = node->GetNext();
}
return -1;
}
bool FindColourHTMLString(char *theName, char *buf)
{
int i = 0;
- wxNode *node = ColourTable.First();
+ wxNode *node = ColourTable.GetFirst();
while (node)
{
- ColourTableEntry *entry = (ColourTableEntry *)node->Data();
+ ColourTableEntry *entry = (ColourTableEntry *)node->GetData();
if (strcmp(theName, entry->name) == 0)
{
strcpy(buf, "#");
return TRUE;
}
i ++;
- node = node->Next();
+ node = node->GetNext();
}
return FALSE;
}
wxNode *node = TopicTable.Next();
while (node)
{
- TexTopic *texTopic = (TexTopic *)node->Data();
+ TexTopic *texTopic = (TexTopic *)node->GetData();
delete texTopic;
node = TopicTable.Next();
}
{
indentLevel --;
- if (itemizeStack.First())
+ if (itemizeStack.GetFirst())
{
- ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.First()->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)itemizeStack.GetFirst()->GetData();
delete struc;
- delete itemizeStack.First();
+ delete itemizeStack.GetFirst();
}
}
break;
}
case ltITEM:
{
- wxNode *node = itemizeStack.First();
+ wxNode *node = itemizeStack.GetFirst();
if (node)
{
- ItemizeStruc *struc = (ItemizeStruc *)node->Data();
+ ItemizeStruc *struc = (ItemizeStruc *)node->GetData();
if (!start)
{
struc->currentItem += 1;
contentsString ? contentsString : "WXHELPCONTENTS");
TraverseDocument();
- wxNode *node = hyperLinks.First();
+ wxNode *node = hyperLinks.GetFirst();
while (node)
{
long from = node->GetKeyInteger();
- char *label = (char *)node->Data();
+ char *label = (char *)node->GetData();
wxNode *otherNode = hyperLabels.Find(label);
if (otherNode)
{
- long to = (long)otherNode->Data();
+ long to = (long)otherNode->GetData();
fprintf(Index, "%ld %ld\n", from, to);
}
- node = node->Next();
+ node = node->GetNext();
}
fprintf(Index, "}\n");