aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_gen_cpp.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-10-05 16:06:11 +0200
committerDan Gudmundsson <[email protected]>2016-10-05 16:06:11 +0200
commit0bac72a18e8a5f6a46baae9c9ac73bde32948ff6 (patch)
tree8aaca3b6bc3ebc2c220e0c3786f5645e92898729 /lib/wx/api_gen/wx_gen_cpp.erl
parent7af3910bb06433f7c9182db11d853823f202c2b6 (diff)
parent1de609cb262ff34216dce8fbefdb9a153bdd2c93 (diff)
downloadotp-0bac72a18e8a5f6a46baae9c9ac73bde32948ff6.tar.gz
otp-0bac72a18e8a5f6a46baae9c9ac73bde32948ff6.tar.bz2
otp-0bac72a18e8a5f6a46baae9c9ac73bde32948ff6.zip
Merge branch 'maint'
* maint: wx: add wxWindowDragAcceptFiles wx: Add simple dropfiles support
Diffstat (limited to 'lib/wx/api_gen/wx_gen_cpp.erl')
-rw-r--r--lib/wx/api_gen/wx_gen_cpp.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/wx/api_gen/wx_gen_cpp.erl b/lib/wx/api_gen/wx_gen_cpp.erl
index 84d3990786..0a0b1f9209 100644
--- a/lib/wx/api_gen/wx_gen_cpp.erl
+++ b/lib/wx/api_gen/wx_gen_cpp.erl
@@ -1079,6 +1079,13 @@ build_ret(Name,_,#type{base=string,single=true}) ->
w(" rt.add(~s);~n",[Name]);
build_ret(Name,_,#type{name="wxArrayString", single=array}) ->
w(" rt.add(~s);~n", [Name]);
+build_ret(Name,_,#type{name="wxString", single={list,Variable}}) ->
+ Obj = case Name of
+ "ev->" ++ _ -> "ev";
+ _ -> "This"
+ end,
+ w(" wxArrayString tmpArrayStr(~s->~s, ~s);~n", [Obj,Variable,Name]),
+ w(" rt.add(tmpArrayStr);~n", []);
build_ret(Name,In,T) ->
?error({nyi, Name,In, T}).