parameters: ()
return_statement: return
docstring: Revert all changes and close the dual class window.
docstring_summary: Revert all changes and close the dual class window.
docstring_tokens: Revert all changes and close the dual class window .
function: def DCMainCancelPress ():
  	"""Revert all changes and close the dual class window."""
  
  	# simulate pressing the back button until we get back to DCMainStep = 1
  	# to unset all things from the new class
  	while DCMainStep > 1:
  		DCMainBackPress ()
  
  	# close our window
  	if DCMainWindow:
  		DCMainWindow.Unload ()
  
  	return
function_tokens: def DCMainCancelPress ( ) : # simulate pressing the back button until we get back to DCMainStep = 1 # to unset all things from the new class while DCMainStep > 1 : DCMainBackPress ( ) # close our window if DCMainWindow : DCMainWindow . Unload ( ) return