Exemplo n.º 1
0
void ShaderChooser::callbackCancel()
{
	// Revert the shadername to the value it had at dialog startup
	revertShader();

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

	ev.Skip();
}