aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/examples/simple/hello2.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-09-14 13:16:37 +0200
committerDan Gudmundsson <[email protected]>2017-09-14 13:16:37 +0200
commit6e74c9a7e86301eb22c3095c07fc771070d1ceed (patch)
tree33e1b340f75fac1631a04ce74a1b25adf900b8c8 /lib/wx/examples/simple/hello2.erl
parentfdc58a6b03fd238a6bd26403cac375f314a9383d (diff)
downloadotp-6e74c9a7e86301eb22c3095c07fc771070d1ceed.tar.gz
otp-6e74c9a7e86301eb22c3095c07fc771070d1ceed.tar.bz2
otp-6e74c9a7e86301eb22c3095c07fc771070d1ceed.zip
wx: Remove export_all in example code
Diffstat (limited to 'lib/wx/examples/simple/hello2.erl')
-rw-r--r--lib/wx/examples/simple/hello2.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/wx/examples/simple/hello2.erl b/lib/wx/examples/simple/hello2.erl
index 671b23d892..b9da622b6b 100644
--- a/lib/wx/examples/simple/hello2.erl
+++ b/lib/wx/examples/simple/hello2.erl
@@ -29,8 +29,9 @@
-module(hello2).
-include_lib("wx/include/wx.hrl").
--export([start/0]).
--compile(export_all).
+-export([start/0,
+ init/1, handle_info/2, handle_event/2, handle_call/3,
+ code_change/3, terminate/2]).
-behavoiur(wx_object).