User forums > General (but related to Code::Blocks)

How do I convert wxSmith .wxs files to .xrc ?

(1/1)

pdsonic:
G'Day,

I'm a great fan of Codeblocks and wxSmith and have been using it (them) for well over a year (if not two years) full time.

For our project I used wxSmith to create over 20 wPanels (each with many components), used as pages in multilevel notebooks. Recently I discovered the Xrc file option when creating a new wxFrame and I like it.

I would like to convert the 20+ existing .wxs files into .xrc files...
(I know that even for .xrc files there still is a .wxs file, but it is rather empty)

It would take me weeks to hand convert this.

Any help would be much appreciated.

pdsonic.

Jenna:
Have you read this thread : http://forums.codeblocks.org/index.php/topic,7620.0.html ?

Jenna:
I never tried that before, but I just tried it out with a very simple project, including two frames (the mainFrame with a wxCheckListBox and a wxButton that opens the other frame, that contains a bitmap).

The only additional things I had to do (besides what byo said in the post), were to open "wxSmith -> Configure wxSmith for current project" and add the two newly created xrc-files as automatically loaded resources and renew the binding for the button-clicked event to the appropriate function-call cause it got lost.

pdsonic:
Thanks Jens.

I had not read that topic yet. But I have now.

I'll try it out.



 pdsonic

Navigation

[0] Message Index

Go to full version