News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Some problems, when open wxsmith *.wxs in codeblocks.

Started by htlee, November 21, 2013, 11:35:07 AM

Previous topic - Next topic

htlee

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 ~!

Jenna

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.

htlee

Thank you, it's OK .
Maybe it will be supported automatically in next version.

htlee