Code::Blocks Forums

User forums => Help => Topic started by: twgray on September 22, 2010, 07:40:42 pm

Title: Help with Dialogs and wxSmith...
Post by: twgray 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?
Title: Re: Help with Dialogs and wxSmith...
Post by: kencamargo 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