Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: donwazonesko on June 12, 2019, 07:31:15 am

Title: wxWidget - Code::Block wxFrame copying
Post by: donwazonesko on June 12, 2019, 07:31:15 am
Hello!

Is it possible to copy few elements out of wxFrame - for example few buttons, and paste it into another wxFrame?

I need to create new wxFrame nearly similar to previous one, but with extra elements and i need to keep all the code within.

Best Regards,
Michael
Title: Re: wxWidget - Code::Block wxFrame copying
Post by: BlueHazzard on June 12, 2019, 10:23:52 am
I do not think that codeblocks support cross copy at the moment...

If you are careful AND MAKE BACKUP AND BACKUP AND BACKUPS OF BACKUPS
you can to try to copy the content in the wxs files. They are basically xml files and quite human readable. Do this with codeblocks closed. and as soon as you open the resource the c file should be updated.