diff options
author | Dan Gudmundsson <[email protected]> | 2017-09-14 13:16:37 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2017-09-14 13:16:37 +0200 |
commit | 6e74c9a7e86301eb22c3095c07fc771070d1ceed (patch) | |
tree | 33e1b340f75fac1631a04ce74a1b25adf900b8c8 /lib/wx/examples/simple/menu.erl | |
parent | fdc58a6b03fd238a6bd26403cac375f314a9383d (diff) | |
download | otp-6e74c9a7e86301eb22c3095c07fc771070d1ceed.tar.gz otp-6e74c9a7e86301eb22c3095c07fc771070d1ceed.tar.bz2 otp-6e74c9a7e86301eb22c3095c07fc771070d1ceed.zip |
wx: Remove export_all in example code
Diffstat (limited to 'lib/wx/examples/simple/menu.erl')
-rw-r--r-- | lib/wx/examples/simple/menu.erl | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/wx/examples/simple/menu.erl b/lib/wx/examples/simple/menu.erl index 479df1ef98..93573fb97d 100644 --- a/lib/wx/examples/simple/menu.erl +++ b/lib/wx/examples/simple/menu.erl @@ -29,7 +29,6 @@ -include_lib("wx/include/wx.hrl"). -export([start/0]). --compile(export_all). %%%Lots of IDs to declare! -define(menuID_FILE_QUIT, ?wxID_EXIT). @@ -228,36 +227,6 @@ create_menubar_menu() -> %% %% %% -create_submenu_menu() -> - SubMenuMenu = wxMenu:new(), - wxMenu:append(SubMenuMenu, wxMenuItem:new([ - {id, ?menuID_SUBMENU_NORMAL}, - {text, "&Normal submenu item"}, - {help, "Disabled submenu item"} - ])), - %% note different way of adding check menu item - wxMenu:appendCheckItem(SubMenuMenu, - ?menuID_SUBMENU_CHECK, - "&Check submenu item", - [{help, "Check submenu item"}]), - wxMenu:appendRadioItem(SubMenuMenu, - ?menuID_SUBMENU_RADIO_1, - "Radio item &1", - [{help, "Radio item"}]), - wxMenu:appendRadioItem(SubMenuMenu, - ?menuID_SUBMENU_RADIO_2, - "Radio item &2", - [{help, "Radio item"}]), - wxMenu:appendRadioItem(SubMenuMenu, - ?menuID_SUBMENU_RADIO_3, - "Radio item &3", - [{help, "Radio item"}]), - SubMenuMenu. - - -%% -%% -%% create_menu_menu() -> MenuMenu = wxMenu:new(), wxMenu:append(MenuMenu, wxMenuItem:new([ |