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