Author Topic: Help with Dialogs and wxSmith...  (Read 2542 times)

Offline twgray

  • Multiple posting newcomer
  • *
  • Posts: 30
Help with Dialogs and wxSmith...
« on: September 22, 2010, 07:40:42 pm »
I just created a rather complex dialog with wxSmith.  When I first created it I neglected to select the checkbox for autoload XRC.  Now I have a dialog.wxs file that CodeBlocks can't read back into the wxSmith editor.  CodeBlocks says it doesn't know how to open the file.  Is there a way to recover the dialog without re-drawing it?

Offline kencamargo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Help with Dialogs and wxSmith...
« Reply #1 on: September 25, 2010, 12:00:45 am »
I just created a rather complex dialog with wxSmith.  When I first created it I neglected to select the checkbox for autoload XRC.  Now I have a dialog.wxs file that CodeBlocks can't read back into the wxSmith editor.  CodeBlocks says it doesn't know how to open the file.  Is there a way to recover the dialog without re-drawing it?

Change the name of the dialog you created. Create a new program checking the option to use wxSmith. Save the project, close code::blocks, delete the dummy dialog and rename the file you created to the new dialog's name.

Clumsy, but it should work.

Ken