Overwrote(!!) with source files that compile and link with latest wxGTK.

Segfaults on startup though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1998-12-08 10:01:55 +00:00
parent c59e2a829f
commit e47d37d087
4 changed files with 7 additions and 11 deletions

View File

@@ -653,7 +653,7 @@ wxItemResource *wxResourceManager::FindResourceForWindow(wxWindow *win)
wxWindow *w = (wxWindow *)node->Data();
if (w == win)
{
return (wxItemResource *)node->GetKeyInteger();
return (wxItemResource *)node->key.integer;
}
}
return NULL;
@@ -876,11 +876,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));