aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxStyledTextCtrl.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-03-01 14:35:27 +0100
committerDan Gudmundsson <[email protected]>2012-03-01 14:35:27 +0100
commitdf8cd79bef0ca7178efcda97401c892d24f920bc (patch)
tree5e21c6a3d00b191646da7aa47b6ae0944627c37f /lib/wx/src/gen/wxStyledTextCtrl.erl
parent3fe585274070eb417ee435d5447389e123c667b4 (diff)
downloadotp-df8cd79bef0ca7178efcda97401c892d24f920bc.tar.gz
otp-df8cd79bef0ca7178efcda97401c892d24f920bc.tar.bz2
otp-df8cd79bef0ca7178efcda97401c892d24f920bc.zip
[wx] Fix bad type references
Diffstat (limited to 'lib/wx/src/gen/wxStyledTextCtrl.erl')
-rw-r--r--lib/wx/src/gen/wxStyledTextCtrl.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/src/gen/wxStyledTextCtrl.erl b/lib/wx/src/gen/wxStyledTextCtrl.erl
index 057e01ddd5..f6dc2176b7 100644
--- a/lib/wx/src/gen/wxStyledTextCtrl.erl
+++ b/lib/wx/src/gen/wxStyledTextCtrl.erl
@@ -252,7 +252,7 @@ addText(#wx_ref{type=ThisT,ref=ThisRef},Text)
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrladdstyledtext">external documentation</a>.
-spec addStyledText(This, Data) -> ok when
- This::wxStyledTextCtrl(), Data::wxMemoryBuffer:wxMemoryBuffer().
+ This::wxStyledTextCtrl(), Data::wx:wx_object().
addStyledText(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) ->
?CLASS(ThisT,wxStyledTextCtrl),
?CLASS(DataT,wxMemoryBuffer),
@@ -361,7 +361,7 @@ setSavePoint(#wx_ref{type=ThisT,ref=ThisRef}) ->
<<ThisRef:32/?UI>>).
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxstyledtextctrl.html#wxstyledtextctrlgetstyledtext">external documentation</a>.
--spec getStyledText(This, StartPos, EndPos) -> wxMemoryBuffer:wxMemoryBuffer() when
+-spec getStyledText(This, StartPos, EndPos) -> wx:wx_object() when
This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer().
getStyledText(#wx_ref{type=ThisT,ref=ThisRef},StartPos,EndPos)
when is_integer(StartPos),is_integer(EndPos) ->