def on_key(e): code = e.GetKeyCode() if code == wx.WXK_F11: toggle_prefs() elif code == wx.WXK_F12: toggle_crust() elif code == wx.WXK_F5: from gui import skin skin.reload() else: e.Skip()
def rr(): from gui import skin; skin.reload()
def rr(): from gui import skin skin.reload()