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

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

	ev.Skip();
}