# HG changeset patch # User Joseph.P.Scanlan@n7xsd.us # Date 1632699023 25200 # Sun Sep 26 16:30:23 2021 -0700 # Branch py3 # Node ID 9fb5b8995942e5d2d19090967aa2d591c37eb796 # Parent 587f8b0d752f180bb0991c702bc921224e800bd2 [wxui] Replace deprecated use of Append to AppendSubMenu Fixes #9395
diff -r 587f8b0d752f -r 9fb5b8995942 chirp/wxui/main.py --- a/chirp/wxui/main.py Sun Sep 26 15:56:43 2021 -0700 +++ b/chirp/wxui/main.py Sun Sep 26 16:30:23 2021 -0700 @@ -209,7 +209,7 @@ EMPTY_MENU_LABEL) submenu_item.Enable(False) self.Bind(wx.EVT_MENU, self._menu_open_recent, submenu_item) - file_menu.Append(wx.ID_ANY, 'Open Recent', self.OPEN_RECENT_MENU) + file_menu.AppendSubMenu(self.OPEN_RECENT_MENU, 'Open Recent')
save_item = file_menu.Append(wx.ID_SAVE) self.Bind(wx.EVT_MENU, self._menu_save, save_item)