There are numerous ways to add a dialog to the wxWidgets application. Scripting an existing dialog is one solution but it is dicey at best.
The easiest way for me accomplish this is to go to the wxWidgets option on CodeBlocks and select the Add wxDialog option. The project file is updated and the header and source file for the dialog is added to the application.
Designing the dialog can be completed using the Resources palate of wxWidgets.
Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.