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/wxColourPickerCtrl.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/wx/src/gen/wxColourPickerCtrl.erl') diff --git a/lib/wx/src/gen/wxColourPickerCtrl.erl b/lib/wx/src/gen/wxColourPickerCtrl.erl index 91889006f9..d9e0d20df8 100644 --- a/lib/wx/src/gen/wxColourPickerCtrl.erl +++ b/lib/wx/src/gen/wxColourPickerCtrl.erl @@ -149,7 +149,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O <>). %% @doc See external documentation. --spec getColour(This) -> wx:wx_colour() when +-spec getColour(This) -> wx:wx_colour4() when This::wxColourPickerCtrl(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxColourPickerCtrl), @@ -158,7 +158,7 @@ getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setColour(This, Text) -> boolean() when - This::wxColourPickerCtrl(), Text::string(); + This::wxColourPickerCtrl(), Text::unicode:chardata(); (This, Col) -> ok when This::wxColourPickerCtrl(), Col::wx:wx_colour(). setColour(#wx_ref{type=ThisT,ref=ThisRef},Text) @@ -174,7 +174,7 @@ setColour(#wx_ref{type=ThisT,ref=ThisRef},Col) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxColourPickerCtrl) -> ok. +-spec destroy(This::wxColourPickerCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxColourPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), -- cgit v1.2.3