wxResourceEditorDialogHandler *handler = new wxResourceEditorDialogHandler(panel, res, panel->GetEventHandler(),
this);
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);
DisassociateResource(m_editorPanel->m_childWindow);
DeleteWindow(m_editorPanel->m_childWindow);
m_editorPanel->m_childWindow = NULL;
DisassociateResource(m_editorPanel->m_childWindow);
DeleteWindow(m_editorPanel->m_childWindow);
m_editorPanel->m_childWindow = NULL;
- if (dialog->LoadFromResource(parent, item->GetName(), & m_resourceTable))
+ if (wxLoadFromResource(dialog, parent, item->GetName(), & m_resourceTable))