aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxMultiChoiceDialog.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/wxMultiChoiceDialog.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/wxMultiChoiceDialog.erl')
-rw-r--r--lib/wx/src/gen/wxMultiChoiceDialog.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/wx/src/gen/wxMultiChoiceDialog.erl b/lib/wx/src/gen/wxMultiChoiceDialog.erl
index 7c19a1ca42..04cbb832ea 100644
--- a/lib/wx/src/gen/wxMultiChoiceDialog.erl
+++ b/lib/wx/src/gen/wxMultiChoiceDialog.erl
@@ -94,7 +94,7 @@ new() ->
%% @equiv new(Parent,Message,Caption,Choices, [])
-spec new(Parent, Message, Caption, Choices) -> wxMultiChoiceDialog() when
- Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]].
+ Parent::wxWindow:wxWindow(), Message::unicode:chardata(), Caption::unicode:chardata(), Choices::[[unicode:chardata()]].
new(Parent,Message,Caption,Choices)
when is_record(Parent, wx_ref),is_list(Message),is_list(Caption),is_list(Choices) ->
@@ -102,7 +102,7 @@ new(Parent,Message,Caption,Choices)
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxmultichoicedialog.html#wxmultichoicedialogwxmultichoicedialog">external documentation</a>.
-spec new(Parent, Message, Caption, Choices, [Option]) -> wxMultiChoiceDialog() when
- Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]],
+ Parent::wxWindow:wxWindow(), Message::unicode:chardata(), Caption::unicode:chardata(), Choices::[[unicode:chardata()]],
Option :: {style, integer()}
| {pos, {X::integer(), Y::integer()}}.
new(#wx_ref{type=ParentT,ref=ParentRef},Message,Caption,Choices, Options)
@@ -138,7 +138,7 @@ setSelections(#wx_ref{type=ThisT,ref=ThisRef},Selections)
(<< <<C:32/?I>> || C <- Selections>>)/binary, 0:(((0+length(Selections)) rem 2)*32)>>).
%% @doc Destroys this object, do not use object again
--spec destroy(This::wxMultiChoiceDialog) -> ok.
+-spec destroy(This::wxMultiChoiceDialog()) -> ok.
destroy(Obj=#wx_ref{type=Type}) ->
?CLASS(Type,wxMultiChoiceDialog),
wxe_util:destroy(?DESTROY_OBJECT,Obj),