From 217343d158afe60a5a6a15e8b894b6fd62611ad3 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Tue, 21 Feb 2012 16:05:37 +0100 Subject: [wx] Fix spec errors --- lib/wx/src/gen/wxGridCellNumberEditor.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/wx/src/gen/wxGridCellNumberEditor.erl') diff --git a/lib/wx/src/gen/wxGridCellNumberEditor.erl b/lib/wx/src/gen/wxGridCellNumberEditor.erl index c3ac0c41d5..68d5670367 100644 --- a/lib/wx/src/gen/wxGridCellNumberEditor.erl +++ b/lib/wx/src/gen/wxGridCellNumberEditor.erl @@ -61,7 +61,7 @@ new(Options) <>). %% @doc See external documentation. --spec getValue(This) -> string() when +-spec getValue(This) -> unicode:charlist() when This::wxGridCellNumberEditor(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellNumberEditor), @@ -70,7 +70,7 @@ getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setParameters(This, Params) -> ok when - This::wxGridCellNumberEditor(), Params::string(). + This::wxGridCellNumberEditor(), Params::unicode:chardata(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellNumberEditor), @@ -79,7 +79,7 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellNumberEditor) -> ok. +-spec destroy(This::wxGridCellNumberEditor()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellNumberEditor), wxe_util:destroy(?wxGridCellNumberEditor_destroy,Obj), -- cgit v1.2.3