User forums > Using Code::Blocks

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

(1/1)

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">
--- End quote ---
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

Navigation

[0] Message Index

Go to full version