code: def _vispy_get_native_app(self):
      # Get native app in save way. Taken from guisupport.py
      global _wx_app
      _wx_app = wx.GetApp()  # in case the user already has one
      if _wx_app is None:
          if hasattr(wx, "App"):
              _wx_app = wx.App()
          else:
              # legacy wx
              _wx_app = wx.PySimpleApp()
      _wx_app.SetExitOnFrameDelete(True)
      return _wx_app
  
imports: from __future__ import division
  from time import sleep
  import gc
  import warnings
  from ..base import BaseApplicationBackend, BaseCanvasBackend, BaseTimerBackend
  from ...util import keys, logger
  from ...util.ptime import time
  from ...None import config
label_desc: Use image node_id 6 for calling the ApplicationBackend obj's underlying member method code with example usage: obj._vispy_get_native_app() and returns: _wx_app