wex v24.10.0
|
Offers a general dialog, with a separated button sizer at the bottom. More...
#include <wex/ui/dialog.h>
Public Member Functions | |
dialog (const data::window &data=data::window()) | |
Default constructor. | |
const auto & | data () const |
Returns the window data. | |
Protected Member Functions | |
wxSizerItem * | add_user_sizer (wxWindow *window, const wxSizerFlags &flags=wxSizerFlags().Expand()) |
Adds to the user sizer using the sizer flags. | |
wxSizerItem * | add_user_sizer (wxSizer *sizer, const wxSizerFlags &flags=wxSizerFlags().Expand()) |
Adds to the user sizer using the sizer flags. | |
void | layout_sizers (bool add_separator_line=true) |
layouts the sizers. | |
Offers a general dialog, with a separated button sizer at the bottom.
Derived dialogs can use the user sizer for laying out their controls.
|
protected |
layouts the sizers.
Should be invoked after adding to sizers. If you specified button flags, they will be put at the bottom of the top sizer, and a separator line will be added as specified.