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