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