aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxRegion.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wx/src/gen/wxRegion.erl')
-rw-r--r--lib/wx/src/gen/wxRegion.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/src/gen/wxRegion.erl b/lib/wx/src/gen/wxRegion.erl
index 0239558a5a..3397cc7e81 100644
--- a/lib/wx/src/gen/wxRegion.erl
+++ b/lib/wx/src/gen/wxRegion.erl
@@ -288,7 +288,7 @@ union(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H)
<<ThisRef:32/?UI,X:32/?UI,Y:32/?UI,W:32/?UI,H:32/?UI>>).
%% @doc Destroys this object, do not use object again
--spec destroy(This::wxRegion) -> ok.
+-spec destroy(This::wxRegion()) -> ok.
destroy(Obj=#wx_ref{type=Type}) ->
?CLASS(Type,wxRegion),
wxe_util:destroy(?DESTROY_OBJECT,Obj),