code: def OnBang(self, event):
      bang_count = xrc.XRCCTRL(self.frame, "bang_count")
      bangs = bang_count.GetValue()
      bangs = int(bangs) + 1
      bang_count.SetValue(str(bangs))
  
file_path: matplotlib/galleries/examples/user_interfaces/embedding_in_wx3_sgskip.py
imports: import wx
  import wx.xrc
  import numpy
  from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg
  from matplotlib.backends.backend_wxagg import NavigationToolbar2WxAgg
  import matplotlib.cbook
  import matplotlib.cm
  from matplotlib.figure import Figure
label_desc: Use image node_id 2 for calling the MyApp obj's underlying member method code with example usage: obj.OnBang(event) without return types