X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f2b72b2403dd29aa93167ce0ce7d20e1d20f1bd..0dfb2393ddd200cb698351dbd44590898590d8c1:/utils/dialoged/src/reseditr.cpp?ds=sidebyside diff --git a/utils/dialoged/src/reseditr.cpp b/utils/dialoged/src/reseditr.cpp index 2bf9a8d487..0b9968031c 100644 --- a/utils/dialoged/src/reseditr.cpp +++ b/utils/dialoged/src/reseditr.cpp @@ -640,8 +640,8 @@ bool wxResourceManager::DeleteWindow(wxWindow* win) win->Destroy(); - if (clearDisplay) - m_editorPanel->Clear(); + //if (clearDisplay) + // m_editorPanel->Clear(); return TRUE; } @@ -950,7 +950,7 @@ bool wxResourceManager::Edit(wxItemResource *res) 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); @@ -1218,7 +1218,7 @@ void wxResourceManager::ClearCurrentDialog() DisassociateResource(m_editorPanel->m_childWindow); DeleteWindow(m_editorPanel->m_childWindow); m_editorPanel->m_childWindow = NULL; - m_editorPanel->Clear(); + //m_editorPanel->Clear(); } } @@ -1235,7 +1235,7 @@ bool wxResourceManager::TestCurrentDialog(wxWindow* parent) 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();