Restored the old Dialog Editor files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-12-08 18:56:34 +00:00
parent d980b3e1f4
commit d4fce50a5a
5 changed files with 12 additions and 8 deletions

View File

@@ -653,7 +653,7 @@ wxItemResource *wxResourceManager::FindResourceForWindow(wxWindow *win)
wxWindow *w = (wxWindow *)node->Data();
if (w == win)
{
return (wxItemResource *)node->key.integer;
return (wxItemResource *)node->GetKeyInteger();
}
}
return NULL;
@@ -876,7 +876,11 @@ void wxResourceManager::AddItemsRecursively(long parent, wxItemResource *resourc
else
imageId = 3;
long id = m_editorResourceTree->AppendItem(parent, theString, imageId );
long id = m_editorResourceTree->InsertItem(parent, theString
#ifdef __WXMSW__
, imageId
#endif
);
m_editorResourceTree->SetItemData(id, new wxResourceTreeData(resource));