*** empty log message ***

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
1999-08-02 04:54:56 +00:00
parent 54da4255a2
commit 913df6f2e0
13 changed files with 139 additions and 155 deletions

View File

@@ -191,7 +191,8 @@ bool wxResourceTable::DeleteResource(const wxString& name)
// parent's child list.
BeginFind();
wxNode *node = (wxNode *) NULL;
while ((node = Next()))
node = Next();
while (node != NULL)
{
wxItemResource *parent = (wxItemResource *)node->Data();
if (parent->GetChildren().Member(item))
@@ -199,6 +200,7 @@ bool wxResourceTable::DeleteResource(const wxString& name)
parent->GetChildren().DeleteObject(item);
break;
}
node = Next();
}
delete item;
@@ -1528,7 +1530,7 @@ static bool wxEatWhiteSpace(FILE *fd)
default:
ungetc(ch, fd);
return TRUE;
}
}
return FALSE;
@@ -2041,7 +2043,8 @@ long wxParseWindowStyle(const wxString& bitListString)
int i = 0;
wxChar *word;
long bitList = 0;
while ((word = wxResourceParseWord(WXSTRINGCAST bitListString, &i)))
word = wxResourceParseWord(WXSTRINGCAST bitListString, &i);
while (word != NULL)
{
bool found = FALSE;
int j;
@@ -2057,6 +2060,7 @@ long wxParseWindowStyle(const wxString& bitListString)
wxLogWarning(_("Unrecognized style %s whilst parsing resource."), word);
return 0;
}
word = wxResourceParseWord(WXSTRINGCAST bitListString, &i);
}
return bitList;
}
@@ -2605,7 +2609,7 @@ bool wxEatWhiteSpaceString(char *s)
default:
ungetc_string();
return TRUE;
}
}
return FALSE;