<i>How do I load/show a wxDialog from a wxFrame?</i>
On an event create an instance of the Dialog Object and call showmodal like
void FrameClass::ButtonClick(wxCommandEvent &Event)
{
MyDialogClass dlg(this);
dlg.ShowModal();
}
On an event create an instance of the Dialog Object and call showmodal like
void FrameClass::ButtonClick(wxCommandEvent &Event)
{
MyDialogClass dlg(this);
dlg.ShowModal();
}
No comments are included for this article. Submit a comment with your feedback/suggestions.
Click to View Printer Friendly Version