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 enum ContextMenuEntries
{ {
kContextMenuRetry, kContextMenuRetry = wxID_HIGHEST + 1,
kContextMenuDownload, kContextMenuDownload,
kContextMenuPause, kContextMenuPause,
kContextMenuResume, kContextMenuResume,

View File

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

View File

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

View File

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