parameters: (self, event)
docstring: Handles the ``wx.EVT_CLOSE`` event for :class:`CubeColourDialog`.
          
          :param `event`: a :class:`CloseEvent` event to be processed.
docstring_summary: Handles the ``wx.EVT_CLOSE`` event for :class:`CubeColourDialog`.
          
          :param `event`: a :class:`CloseEvent` event to be processed.
docstring_tokens: Handles the wx . EVT_CLOSE event for : class : CubeColourDialog . : param event : a : class : CloseEvent event to be processed .
function: def OnCloseWindow(self, event):
          """
          Handles the ``wx.EVT_CLOSE`` event for :class:`CubeColourDialog`.
          
          :param `event`: a :class:`CloseEvent` event to be processed.
          """
  
          self.EndModal(wx.ID_CANCEL)
function_tokens: def OnCloseWindow ( self , event ) : self . EndModal ( wx . ID_CANCEL )