aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_extra
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/api_gen/wx_extra
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/api_gen/wx_extra')
-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),