parameters: (self, msg)
docstring: Update icons when the theme has been changed
          @param msg: Message Object
docstring_summary: Update icons when the theme has been changed
          @param msg: Message Object
docstring_tokens: Update icons when the theme has been changed @param msg : Message Object
function: def OnThemeChanged(self, msg):
          """Update icons when the theme has been changed
          @param msg: Message Object
  
          """
          ctrls = ((self._pbtn, ed_glob.ID_PREF),
                   (self._clear, ed_glob.ID_DELETE))
          if self._busy:
              ctrls += ((self._run, ed_glob.ID_STOP),)
          else:
              ctrls += ((self._run, ed_glob.ID_BIN_FILE),)
  
          for btn, art in ctrls:
              bmp = wx.ArtProvider.GetBitmap(str(art), wx.ART_MENU)
              btn.SetBitmap(bmp)
              btn.Refresh()
          self.GetControlBar().Refresh()
function_tokens: def OnThemeChanged ( self , msg ) : ctrls = ( ( self . _pbtn , ed_glob . ID_PREF ) , ( self . _clear , ed_glob . ID_DELETE ) ) if self . _busy : ctrls += ( ( self . _run , ed_glob . ID_STOP ) , ) else : ctrls += ( ( self . _run , ed_glob . ID_BIN_FILE ) , ) for btn , art in ctrls : bmp = wx . ArtProvider . GetBitmap ( str ( art ) , wx . ART_MENU ) btn . SetBitmap ( bmp ) btn . Refresh ( ) self . GetControlBar ( ) . Refresh ( )