Author Topic: wxWidget - Code::Block wxFrame copying  (Read 243 times)

Offline donwazonesko

  • Single posting newcomer
  • *
  • Posts: 2
wxWidget - Code::Block wxFrame copying
« 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

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2417
Re: wxWidget - Code::Block wxFrame copying
« Reply #1 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.