aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-08-21 10:27:13 +0200
committerDan Gudmundsson <[email protected]>2012-08-21 10:27:13 +0200
commit73f042d16fc016fa6c1c3bded1b3333707fc668a (patch)
tree7d1fd57eb384cb337ae1dcae73f3ad99a5ac72c6 /lib/wx/src
parent8a165db14fd2e2f0a3239f55f96869bdb2f2c7c5 (diff)
parent1d197cd0219caec4d3619c931d5aa8c206379691 (diff)
downloadotp-73f042d16fc016fa6c1c3bded1b3333707fc668a.tar.gz
otp-73f042d16fc016fa6c1c3bded1b3333707fc668a.tar.bz2
otp-73f042d16fc016fa6c1c3bded1b3333707fc668a.zip
Merge branch 'dgud/dialyzer_fixes' into maint
* dgud/dialyzer_fixes: [et] Remove dead code (and fix dialyser warnings) [wx] Add callback option to event handler spec
Diffstat (limited to 'lib/wx/src')
-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),