wxWindow *w = (wxWindow *)node->Data();
if (w == win)
{
- return (wxItemResource *)node->GetKeyInteger();
+ return (wxItemResource *)node->key.integer;
}
}
return NULL;
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));
wxNode* node = m_hashTable.Next();
while (node)
{
- const char* str = node->GetKeyString();
+ char* str = node->key.string;
int id = (int) node->Data() ;
if (!IsStandardSymbol(str))
wxNode* node = m_hashTable.Next();
while (node)
{
- const char* str = node->GetKeyString();
+ char* str = node->key.string;
if (str && ( ((int) node->Data()) == id) )
return wxString(str);
wxNode* node = m_hashTable.Next();
while (node)
{
- const char* str = node->GetKeyString();
+ char* str = node->key.string;
comboBox->Append(str);
node = m_hashTable.Next();
}
else if (name == "height")
{
- return new wxProperty("height", (long)resource->GetHeight(), "integer");
+ return new wxProperty("width", (long)resource->GetHeight(), "integer");
}
else if (name == "id")
{