Correct wxMenu ID to resolve macOS crash (#125)

This commit is contained in:
Marcin Chojnacki 2022-08-30 17:55:34 +02:00 committed by GitHub
parent dff782eb0d
commit 15b71c57dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -310,7 +310,7 @@ void wxDownloadManagerList::OnItemSelected(wxListEvent& event)
enum ContextMenuEntries
{
kContextMenuRetry,
kContextMenuRetry = wxID_HIGHEST + 1,
kContextMenuDownload,
kContextMenuPause,
kContextMenuResume,

View File

@ -435,7 +435,7 @@ void wxGameList::OnKeyDown(wxListEvent& event)
enum ContextMenuEntries
{
kContextMenuRefreshGames,
kContextMenuRefreshGames = wxID_HIGHEST + 1,
kContextMenuStart,
kWikiPage,
@ -655,7 +655,7 @@ void wxGameList::OnColumnRightClick(wxListEvent& event)
{
enum ItemIds
{
ResetWidth,
ResetWidth = wxID_HIGHEST + 1,
ResetOrder,
ShowName,

View File

@ -728,7 +728,7 @@ void wxTitleManagerList::OnItemSelected(wxListEvent& event)
enum ContextMenuEntries
{
kContextMenuOpenDirectory,
kContextMenuOpenDirectory = wxID_HIGHEST + 1,
kContextMenuDelete,
kContextMenuLaunch,
kContextMenuVerifyGameFiles,

View File

@ -10,7 +10,7 @@
enum
{
// options
REFRESH_ID,
REFRESH_ID = wxID_HIGHEST + 1,
AUTO_REFRESH_ID,
CLOSE_ID,
GPLIST_ID,