Question: Objective Create a settings dialog box to provided a location where settings can be configured. Settings Dialog UI 1. Now that there is an
Objective Create a settings dialog box to provided a location where settings can be configured. Settings Dialog UI 1. Now that there is an object that can be used to store settings, it makes sense to have the ability to change those settings. 2. This will require the use of a new control type called a wxDialog. 3. Create a new class that inherits from wxDialog. The wxWindow* will need to be passed in to this object so that is can be used by the wxDialog base class. The base class will need the parent, an ID (doesnis 't matter what it is), and a window title. 4. Since the point of this window is to configure settings, passing in a pointer to the dialog window would make sense. This can be done in the constructor or via a setter. 5. The main content of the dialog is going to be a box sizer that will stack controls vertically. 6. The controls that will be stored in this main box sizer will be a series of box sizers that
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
