At the beginning I must warn that I had some problems with wxApps working with dialogs only. After closing dialog, the application still remains in memory. But I hope there's easy solution for that.
Ok, steps to create dialog-only application using wxSmith's wizard:
- Create project using wizard and close project in C::B
- open wxsmith/wxsmith.cfg file and change <frame wxs_file="MainFrame.wxs" ... to <dialog wxs_file="MainFrame.wxs" ...
- Open wxsmith/MainFrame.wxs file and change <object class="wxFrame" name="MainFrame"> to <object class="wxDialog" name="MainFrame">
- Open project in C::B - now You've got dialog instead of frame, change something in dialog to recreate code
- in mainframe.cpp and mainframe.h replace all wxFrame to wxDialog
It worked for me, I've used 7 feb nightly build
And one suggestion - maybe it would be better to use wxFrame class and put panel into it and all components into that panel. This should behave alsomst exackly like dialog.