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