aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxArtProvider.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-02-21 16:05:37 +0100
committerDan Gudmundsson <[email protected]>2012-02-22 09:41:06 +0100
commit217343d158afe60a5a6a15e8b894b6fd62611ad3 (patch)
treefcc6d24f7fae59e455ffbb0b2931349a63d3c599 /lib/wx/src/gen/wxArtProvider.erl
parent2c95eb0c575c95a2cdf3c2eacb562d1a5a8cfe08 (diff)
downloadotp-217343d158afe60a5a6a15e8b894b6fd62611ad3.tar.gz
otp-217343d158afe60a5a6a15e8b894b6fd62611ad3.tar.bz2
otp-217343d158afe60a5a6a15e8b894b6fd62611ad3.zip
[wx] Fix spec errors
Diffstat (limited to 'lib/wx/src/gen/wxArtProvider.erl')
-rw-r--r--lib/wx/src/gen/wxArtProvider.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/wx/src/gen/wxArtProvider.erl b/lib/wx/src/gen/wxArtProvider.erl
index 584e240879..1515c46f9f 100644
--- a/lib/wx/src/gen/wxArtProvider.erl
+++ b/lib/wx/src/gen/wxArtProvider.erl
@@ -36,7 +36,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}).
-type wxArtProvider() :: wx:wx_object().
%% @equiv getBitmap(Id, [])
-spec getBitmap(Id) -> wxBitmap:wxBitmap() when
- Id::string().
+ Id::unicode:chardata().
getBitmap(Id)
when is_list(Id) ->
@@ -44,8 +44,8 @@ getBitmap(Id)
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxartprovider.html#wxartprovidergetbitmap">external documentation</a>.
-spec getBitmap(Id, [Option]) -> wxBitmap:wxBitmap() when
- Id::string(),
- Option :: {client, string()}
+ Id::unicode:chardata(),
+ Option :: {client, unicode:chardata()}
| {size, {W::integer(), H::integer()}}.
getBitmap(Id, Options)
when is_list(Id),is_list(Options) ->
@@ -59,7 +59,7 @@ getBitmap(Id, Options)
%% @equiv getIcon(Id, [])
-spec getIcon(Id) -> wxIcon:wxIcon() when
- Id::string().
+ Id::unicode:chardata().
getIcon(Id)
when is_list(Id) ->
@@ -67,8 +67,8 @@ getIcon(Id)
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxartprovider.html#wxartprovidergeticon">external documentation</a>.
-spec getIcon(Id, [Option]) -> wxIcon:wxIcon() when
- Id::string(),
- Option :: {client, string()}
+ Id::unicode:chardata(),
+ Option :: {client, unicode:chardata()}
| {size, {W::integer(), H::integer()}}.
getIcon(Id, Options)
when is_list(Id),is_list(Options) ->