void ShaderChooser::callbackCancel() { // Revert the shadername to the value it had at dialog startup revertShader(); destroy(); }
void ShaderChooser::callbackCancel(wxCommandEvent& ev) { // Revert the shadername to the value it had at dialog startup revertShader(); shutdown(); ev.Skip(); }