Author Topic: Some problems, when open wxsmith *.wxs in codeblocks.  (Read 4040 times)

Offline htlee

  • Single posting newcomer
  • *
  • Posts: 5
Some problems, when open wxsmith *.wxs in codeblocks.
« on: November 21, 2013, 11:35:07 am »
when i move the project to anther folder, i can't edit the *.wxs in UI, and only open like this:
Quote
<?xml version="1.0" encoding="utf-8" ?>
<wxsmith>
   <object class="wxFrame" name="netapp_maccodeFrame">
      <bg>wxSYS_COLOUR_GRADIENTACTIVECAPTION</bg>
      <object class="wxBoxSizer" variable="BoxSizer1" member="no">
         <object class="sizeritem">
            <object class="wxFlexGridSizer" variable="FlexGridSizer1" member="no">
               <cols>2</cols>
               <object class="sizeritem">
when i restore all the files to the default folder where they are created,it's ok to edit *.wxs in UI. I have to move the project files to other folder.how to  solve this problem, or they have to stay in the created folder with the project file(*.cbp,*.depend...)?

Thank you ~!

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Some problems, when open wxsmith *.wxs in codeblocks.
« Reply #1 on: November 21, 2013, 08:58:30 pm »
You have to manually edit your projectfile.
Back it up and open it in a text-editor, search for the name of the wxs-file and fix the path.
It's in "<Project><Extensions><wxsmith><resources>".
As far as I know, the path is relative to the projects toplevel folder.

Offline htlee

  • Single posting newcomer
  • *
  • Posts: 5
Re: Some problems, when open wxsmith *.wxs in codeblocks.
« Reply #2 on: November 22, 2013, 02:32:30 am »
Thank you, it's OK .
Maybe it will be supported automatically in next version.

htlee