.. versionchanged:: 2.0.0
       Remove parameter *debug*.

def run(icon=None):
    """
    .. versionchanged:: 2.0.0
       Remove parameter *debug*.
    """
    app = wx.App()
    frame = myappframe.MyAppFrame(None,
                                  u'Lattice Viewer \u2014 Accelerator Online Modeling Tool')
    frame.SetSize((1024, 768))
    frame.Show()
    if icon is not None:
        frame.SetIcon(icon)
    app.MainLoop()