DialogEd compiles and works more or less

wxList::Nth() is allowd to just return NULL for
    out-of-bounds index


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-12-12 08:44:45 +00:00
parent 37cda9cb1c
commit 1b4092eb0b
2 changed files with 3 additions and 7 deletions

View File

@@ -873,11 +873,7 @@ void wxResourceManager::AddItemsRecursively(long parent, wxItemResource *resourc
else
imageId = 3;
long id = m_editorResourceTree->InsertItem(parent, theString
#ifdef __WXMSW__
, imageId
#endif
);
long id = m_editorResourceTree->AppendItem(parent, theString, imageId );
m_editorResourceTree->SetItemData(id, new wxResourceTreeData(resource));