parameters: (self, x, y, filenames)
docstring: Called when files are dropped in the drop target and tells the docManager to open
          the files.
docstring_summary: Called when files are dropped in the drop target and tells the docManager to open
          the files.
docstring_tokens: Called when files are dropped in the drop target and tells the docManager to open the files .
function: def OnDropFiles(self, x, y, filenames):
          """
          Called when files are dropped in the drop target and tells the docManager to open
          the files.
          """
          try:
              for file in filenames:
                  self._docManager.CreateDocument(file, wx.lib.docview.DOC_SILENT)
          except:
              msgTitle = wx.GetApp().GetAppName()
              if not msgTitle:
                  msgTitle = _("File Error")
              wx.MessageBox("Could not open '%s'.  '%s'" % (wx.lib.docview.FileNameFromPath(file), sys.exc_value),
                            msgTitle,
                            wx.OK | wx.ICON_EXCLAMATION,
                            self._docManager.FindSuitableParent())
function_tokens: def OnDropFiles ( self , x , y , filenames ) : try : for file in filenames : self . _docManager . CreateDocument ( file , wx . lib . docview . DOC_SILENT ) except : msgTitle = wx . GetApp ( ) . GetAppName ( ) if not msgTitle : msgTitle = _ ( "File Error" ) wx . MessageBox ( "Could not open '%s'.  '%s'" % ( wx . lib . docview . FileNameFromPath ( file ) , sys . exc_value ) , msgTitle , wx . OK | wx . ICON_EXCLAMATION , self . _docManager . FindSuitableParent ( ) )