aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_extra/wxEvtHandler.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-06-28 10:53:15 +0200
committerDan Gudmundsson <[email protected]>2012-06-28 10:53:15 +0200
commit11c1dc2449da78f4ecb9f45da4ffdd3be112adc1 (patch)
tree54ed1aaaf9a6a25743786baa2544ea846283e84c /lib/wx/api_gen/wx_extra/wxEvtHandler.erl
parent5a12a0605b06a4971f7005b26f6591de9c69837d (diff)
downloadotp-11c1dc2449da78f4ecb9f45da4ffdd3be112adc1.tar.gz
otp-11c1dc2449da78f4ecb9f45da4ffdd3be112adc1.tar.bz2
otp-11c1dc2449da78f4ecb9f45da4ffdd3be112adc1.zip
[wx] Add callback option to event handler spec
Diffstat (limited to 'lib/wx/api_gen/wx_extra/wxEvtHandler.erl')
-rw-r--r--lib/wx/api_gen/wx_extra/wxEvtHandler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/api_gen/wx_extra/wxEvtHandler.erl b/lib/wx/api_gen/wx_extra/wxEvtHandler.erl
index 23a34225ca..c5802af679 100644
--- a/lib/wx/api_gen/wx_extra/wxEvtHandler.erl
+++ b/lib/wx/api_gen/wx_extra/wxEvtHandler.erl
@@ -61,7 +61,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),