aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxChoicebook.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wx/src/gen/wxChoicebook.erl')
-rw-r--r--lib/wx/src/gen/wxChoicebook.erl14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/wx/src/gen/wxChoicebook.erl b/lib/wx/src/gen/wxChoicebook.erl
index 556170befa..921e1e2882 100644
--- a/lib/wx/src/gen/wxChoicebook.erl
+++ b/lib/wx/src/gen/wxChoicebook.erl
@@ -115,7 +115,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options)
%% @equiv addPage(This,Page,Text, [])
-spec addPage(This, Page, Text) -> boolean() when
- This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string().
+ This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::unicode:chardata().
addPage(This,Page,Text)
when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) ->
@@ -123,7 +123,7 @@ addPage(This,Page,Text)
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookaddpage">external documentation</a>.
-spec addPage(This, Page, Text, [Option]) -> boolean() when
- This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string(),
+ This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(),
Option :: {bSelect, boolean()}
| {imageId, integer()}.
addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options)
@@ -263,7 +263,7 @@ getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N)
<<ThisRef:32/?UI,N:32/?UI>>).
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookgetpagetext">external documentation</a>.
--spec getPageText(This, N) -> string() when
+-spec getPageText(This, N) -> unicode:charlist() when
This::wxChoicebook(), N::integer().
getPageText(#wx_ref{type=ThisT,ref=ThisRef},N)
when is_integer(N) ->
@@ -291,7 +291,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY})
%% @equiv insertPage(This,N,Page,Text, [])
-spec insertPage(This, N, Page, Text) -> boolean() when
- This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string().
+ This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata().
insertPage(This,N,Page,Text)
when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) ->
@@ -299,7 +299,7 @@ insertPage(This,N,Page,Text)
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebookinsertpage">external documentation</a>.
-spec insertPage(This, N, Page, Text, [Option]) -> boolean() when
- This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(),
+ This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(),
Option :: {bSelect, boolean()}
| {imageId, integer()}.
insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options)
@@ -343,7 +343,7 @@ setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId)
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxchoicebook.html#wxchoicebooksetpagetext">external documentation</a>.
-spec setPageText(This, N, StrText) -> boolean() when
- This::wxChoicebook(), N::integer(), StrText::string().
+ This::wxChoicebook(), N::integer(), StrText::unicode:chardata().
setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText)
when is_integer(N),is_list(StrText) ->
?CLASS(ThisT,wxChoicebook),
@@ -370,7 +370,7 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N)
<<ThisRef:32/?UI,N:32/?UI>>).
%% @doc Destroys this object, do not use object again
--spec destroy(This::wxChoicebook) -> ok.
+-spec destroy(This::wxChoicebook()) -> ok.
destroy(Obj=#wx_ref{type=Type}) ->
?CLASS(Type,wxChoicebook),
wxe_util:destroy(?DESTROY_OBJECT,Obj),