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/wxCalendarDateAttr.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/wx/src/gen/wxCalendarDateAttr.erl') diff --git a/lib/wx/src/gen/wxCalendarDateAttr.erl b/lib/wx/src/gen/wxCalendarDateAttr.erl index c674aee8d6..cfedb401ce 100644 --- a/lib/wx/src/gen/wxCalendarDateAttr.erl +++ b/lib/wx/src/gen/wxCalendarDateAttr.erl @@ -189,7 +189,7 @@ isHoliday(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTextColour(This) -> wx:wx_colour() when +-spec getTextColour(This) -> wx:wx_colour4() when This::wxCalendarDateAttr(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), @@ -197,7 +197,7 @@ getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getBackgroundColour(This) -> wx:wx_colour() when +-spec getBackgroundColour(This) -> wx:wx_colour4() when This::wxCalendarDateAttr(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), @@ -205,7 +205,7 @@ getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getBorderColour(This) -> wx:wx_colour() when +-spec getBorderColour(This) -> wx:wx_colour4() when This::wxCalendarDateAttr(). getBorderColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), @@ -230,7 +230,7 @@ getBorder(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxCalendarDateAttr) -> ok. +-spec destroy(This::wxCalendarDateAttr()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCalendarDateAttr), wxe_util:destroy(?wxCalendarDateAttr_destroy,Obj), -- cgit v1.2.3