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