summaryrefslogtreecommitdiff
path: root/lib/wx/examples/demo/demo.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wx/examples/demo/demo.erl')
-rw-r--r--lib/wx/examples/demo/demo.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/examples/demo/demo.erl b/lib/wx/examples/demo/demo.erl
index 6e1465973a..dfcec2ef1c 100644
--- a/lib/wx/examples/demo/demo.erl
+++ b/lib/wx/examples/demo/demo.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2009-2021. All Rights Reserved.
+%% Copyright Ericsson AB 2009-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.
@@ -82,7 +82,7 @@ init(Options) ->
wxMenuBar:append(MB, Help, "&Help"),
wxFrame:setMenuBar(Frame,MB),
- wxFrame:connect(Frame, command_menu_selected),
+ wxFrame:connect(Frame, command_menu_selected, [{skip, true}]),
wxFrame:connect(Frame, close_window),
_SB = wxFrame:createStatusBar(Frame,[]),