aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxCaret.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wx/src/gen/wxCaret.erl')
-rw-r--r--lib/wx/src/gen/wxCaret.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/src/gen/wxCaret.erl b/lib/wx/src/gen/wxCaret.erl
index a1f8c29a7f..57db5906f3 100644
--- a/lib/wx/src/gen/wxCaret.erl
+++ b/lib/wx/src/gen/wxCaret.erl
@@ -194,7 +194,7 @@ show(#wx_ref{type=ThisT,ref=ThisRef}, Options)
<<ThisRef:32/?UI, 0:32,BinOpt/binary>>).
%% @doc Destroys this object, do not use object again
--spec destroy(This::wxCaret) -> ok.
+-spec destroy(This::wxCaret()) -> ok.
destroy(Obj=#wx_ref{type=Type}) ->
?CLASS(Type,wxCaret),
wxe_util:destroy(?wxCaret_destruct,Obj),