News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Help with Dialogs and wxSmith...

Started by twgray, September 22, 2010, 07:40:42 PM

Previous topic - Next topic

twgray

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?

kencamargo

Quote from: 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?

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