X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f2b72b2403dd29aa93167ce0ce7d20e1d20f1bd..e0b9ad2982c05e79f8e221a16e0622233a324bdb:/utils/dialoged/src/reseditr.cpp diff --git a/utils/dialoged/src/reseditr.cpp b/utils/dialoged/src/reseditr.cpp index 2bf9a8d487..2d33bddd2c 100644 --- a/utils/dialoged/src/reseditr.cpp +++ b/utils/dialoged/src/reseditr.cpp @@ -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); @@ -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();