Creating a sub window

BlitzMax Modules Forums/Brucey's Modules/Creating a sub window

@Also, if i replace wxID_ok with something else, it won't close the dialog... odd.

In that case, you can use SetAffirmativeId() for OK and SetEscapeId() for CANCEL on your custom buttons.