Copied NonModalDialog box and changed it
to derive from a wxDialog but behave like the original implementation
which was derived from a wxFrame. wxDialog provides useful key
handling functionality like ESC calling OnCancel and ENTER calling
OnOK which is lost with wxFrame.
|