1
Nightly builds / Re: The 25 May 2024 build (13524) is out.
« Last post by Uriens The Gray on Today at 09:13:32 am »Works perfectly fine from the MSYS2 packages. Thanks!!
When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
You can look how wxSmith does it in the wxSmith->Add wxDialog menu.Great Tried that before but gave up as nobody seemed to had any refernces to wxNewWindowDlg. But now I found that its OnCreate() handler does have the logic
cbProject* cProject = m_pProject->GetCBProject(); // seems to get the project to add files to
wxArrayInt vnTargets; // I guess build targets
Manager::Get()->GetProjectManager()->AddFileToProject( strHeaderFilename, cProject, vnTargets );
Manager::Get()->GetProjectManager()->AddFileToProject( strCppFilename, cProject, vnTargets );
Manager::Get()->GetProjectManager()->AddFileToProject( strWxrFilename, cProject, vnTargets );
Manager::Get()->GetProjectManager()->GetUi()->RebuildTree();
// save configuration
ConfigManager* Cfg = Manager::Get()->GetConfigManager( "wxsmith" );
Cfg->Werite( "/newresource/useinitfunc", m_InitFunc->GetValue() );
...