A little update to prev comment,
I have added some checks so that it should not interfere with the original Dev-Cpp project files.
m_pProject->SetTitle(title);
//I added these lines to get compiler options
//for wxDevCpp as it has 2 Profiles MingW and
//Visual C++
dev->Read(_T("ProfilesCount"), &tmp, _T(""));
if (!tmp.IsEmpty())
{
dev->SetPath(_T("/Profile1"));
dev->Read(_T("ProfileName"), &tmp, _T(""));
if (!tmp.IsSameAs(_T("MingW 3.4.2")))
dev->SetPath(_T("/Profile2"));
}
dev->Read(_T("CppCompiler"), &tmp, _T(""));
after loading you still have to set Compiler and linker paths.