aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxEvtHandler.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-08-21 10:28:42 +0200
committerDan Gudmundsson <[email protected]>2012-08-21 10:28:42 +0200
commitd07c8e98d6924471879034bf801e19658cabbd54 (patch)
tree6df4821982cbb835e583f3272087e327247f521a /lib/wx/src/gen/wxEvtHandler.erl
parentffb066c7523f05fee3d26d8a148ffd3a10d966ff (diff)
parent73f042d16fc016fa6c1c3bded1b3333707fc668a (diff)
downloadotp-d07c8e98d6924471879034bf801e19658cabbd54.tar.gz
otp-d07c8e98d6924471879034bf801e19658cabbd54.tar.bz2
otp-d07c8e98d6924471879034bf801e19658cabbd54.zip
Merge branch 'maint'
Diffstat (limited to 'lib/wx/src/gen/wxEvtHandler.erl')
-rw-r--r--lib/wx/src/gen/wxEvtHandler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/src/gen/wxEvtHandler.erl b/lib/wx/src/gen/wxEvtHandler.erl
index cf4a72da5a..22c203392c 100644
--- a/lib/wx/src/gen/wxEvtHandler.erl
+++ b/lib/wx/src/gen/wxEvtHandler.erl
@@ -80,7 +80,7 @@ connect(This, EventType) ->
%% {userData, term()} An erlang term that will be sent with the event. Default: [].
-spec connect(This::wxEvtHandler(), EventType::wxEventType(), [Option]) -> ok when
Option :: {id, integer()} | {lastId, integer()} | {skip, boolean()} |
- {callback, function()} | {userData, term()}.
+ callback | {callback, function()} | {userData, term()}.
connect(This=#wx_ref{type=ThisT}, EventType, Options) ->
EvH = parse_opts(Options, #evh{et=EventType}),
?CLASS(ThisT,wxEvtHandler),