diff options
author | Wojtek Mach <wojtek@wojtekmach.pl> | 2022-03-17 12:58:07 +0100 |
---|---|---|
committer | Wojtek Mach <wojtek@wojtekmach.pl> | 2022-03-21 10:52:49 +0100 |
commit | 1db84d6b094ea232b43de38a10a255602b2a9f44 (patch) | |
tree | e3979e5e9690edb7aeed9ff81b4e745b252190b7 /lib/wx/c_src/gen/wxe_init.cpp | |
parent | c133d1fd7c3473eb74247836b22fb0a1923fe67a (diff) | |
download | erlang-1db84d6b094ea232b43de38a10a255602b2a9f44.tar.gz |
wx: Add macOS system menu ids
Ref: https://github.com/wxWidgets/wxWidgets/blob/v3.1.5/include/wx/defs.h#L1938:L1948
Co-authored-by: Dan Gudmundsson <dgud@erlang.org>
Diffstat (limited to 'lib/wx/c_src/gen/wxe_init.cpp')
-rw-r--r-- | lib/wx/c_src/gen/wxe_init.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/wx/c_src/gen/wxe_init.cpp b/lib/wx/c_src/gen/wxe_init.cpp index 12b0b418b0..4153f1e2b9 100644 --- a/lib/wx/c_src/gen/wxe_init.cpp +++ b/lib/wx/c_src/gen/wxe_init.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2021. All Rights Reserved. + * Copyright Ericsson AB 2008-2022. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -6664,6 +6664,12 @@ void WxeApp::init_consts(wxeMetaCommand& event) { { enif_make_atom(rt.env,"wxStandardID"), "wxID_MDI_WINDOW_PREV", rt.make_int(wxID_MDI_WINDOW_PREV) }, { enif_make_atom(rt.env,"wxStandardID"), "wxID_MDI_WINDOW_NEXT", rt.make_int(wxID_MDI_WINDOW_NEXT) }, { enif_make_atom(rt.env,"wxStandardID"), "wxID_MDI_WINDOW_LAST", rt.make_int(wxID_MDI_WINDOW_LAST) }, + { enif_make_atom(rt.env,"wxStandardID"), "wxID_OSX_MENU_FIRST", rt.make_int(wxID_OSX_MENU_FIRST) }, + { enif_make_atom(rt.env,"wxStandardID"), "wxID_OSX_HIDE", rt.make_int(wxID_OSX_HIDE) }, + { enif_make_atom(rt.env,"wxStandardID"), "wxID_OSX_HIDEOTHERS", rt.make_int(wxID_OSX_HIDEOTHERS) }, + { enif_make_atom(rt.env,"wxStandardID"), "wxID_OSX_SHOWALL", rt.make_int(wxID_OSX_SHOWALL) }, + { enif_make_atom(rt.env,"wxStandardID"), "wxID_OSX_SERVICES", rt.make_int(wxID_OSX_SERVICES) }, + { enif_make_atom(rt.env,"wxStandardID"), "wxID_OSX_MENU_LAST", rt.make_int(wxID_OSX_MENU_LAST) }, { enif_make_atom(rt.env,"wxStandardID"), "wxID_FILEDLGG", rt.make_int(wxID_FILEDLGG) }, { enif_make_atom(rt.env,"wxStandardID"), "wxID_FILECTRL", rt.make_int(wxID_FILECTRL) }, { enif_make_atom(rt.env,"wxStandardID"), "wxID_HIGHEST", rt.make_int(wxID_HIGHEST) }, |