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 38b9be3906..ee1fd0016d 100644
--- a/lib/wx/src/gen/wxPalette.erl
+++ b/lib/wx/src/gen/wxPalette.erl
@@ -92,7 +92,7 @@ isOk(#wx_ref{type=ThisT,ref=ThisRef}) ->
%% @spec (This::wxPalette()) -> ok
%% @doc Destroys this object, do not use object again
-destroy(Obj=#wx_ref{type=Type}) ->
+destroy(Obj=#wx_ref{type=Type}) ->
?CLASS(Type,wxPalette),
wxe_util:destroy(?DESTROY_OBJECT,Obj),
ok.