win->Destroy();
- if (clearDisplay)
- m_editorPanel->Clear();
+ //if (clearDisplay)
+ // m_editorPanel->Clear();
return TRUE;
}
wxResourceEditorDialogHandler *handler = new wxResourceEditorDialogHandler(panel, res, panel->GetEventHandler(),
this);
- panel->LoadFromResource(m_editorPanel, res->GetName(), &m_resourceTable);
+ wxLoadFromResource(panel, m_editorPanel, res->GetName(), &m_resourceTable);
panel->PushEventHandler(handler);
DisassociateResource(m_editorPanel->m_childWindow);
DeleteWindow(m_editorPanel->m_childWindow);
m_editorPanel->m_childWindow = NULL;
- m_editorPanel->Clear();
+ //m_editorPanel->Clear();
}
}
ResourceEditorDialogTester* dialog = new ResourceEditorDialogTester;
bool success = FALSE;
- if (dialog->LoadFromResource(parent, item->GetName(), & m_resourceTable))
+ if (wxLoadFromResource(dialog, parent, item->GetName(), & m_resourceTable))
{
dialog->Centre();
dialog->ShowModal();