aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_gen.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-12-13 12:51:51 +0100
committerDan Gudmundsson <[email protected]>2013-01-09 11:44:28 +0100
commitb6d75e15b9d6400a61f5ea29fa20c1c6376a4b32 (patch)
tree791621c4f18d2a9c38554e4be8e2de3cf9cf5f13 /lib/wx/api_gen/wx_gen.erl
parentc8b4d62cf92b3e0662adfb9e6a5d80d516413cde (diff)
downloadotp-b6d75e15b9d6400a61f5ea29fa20c1c6376a4b32.tar.gz
otp-b6d75e15b9d6400a61f5ea29fa20c1c6376a4b32.tar.bz2
otp-b6d75e15b9d6400a61f5ea29fa20c1c6376a4b32.zip
wx: Remove unnecessary casts
Diffstat (limited to 'lib/wx/api_gen/wx_gen.erl')
-rw-r--r--lib/wx/api_gen/wx_gen.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/wx/api_gen/wx_gen.erl b/lib/wx/api_gen/wx_gen.erl
index d3d0a78af2..2eb9d9d33d 100644
--- a/lib/wx/api_gen/wx_gen.erl
+++ b/lib/wx/api_gen/wx_gen.erl
@@ -726,11 +726,9 @@ parse_type2([N="wxTextPos"|R],Info,Opts,T) -> %%long
parse_type2(R,Info,Opts,T#type{name=N,base=int});
parse_type2([N="wxPrintQuality"|R],Info,Opts,T) ->
parse_type2(R,Info,Opts,T#type{name=N,base=int});
-parse_type2([N="wxPaperSize"|R],Info,Opts,T) ->
- parse_type2(R,Info,Opts,T#type{name=N,base=int});
parse_type2(["wxDataFormat"|_R],_Info,_Opts,T) ->
%% Hack Hack
- T#type{name="wxDataFormatId",base=int};
+ T#type{name="wxDataFormatId",base={enum,"wxDataFormatId"}};
parse_type2([N="wxArrayInt"|R],Info,Opts,T) ->
parse_type2(R,Info,Opts,T#type{name=N,base=int,single=array});
parse_type2([N="wxArrayDouble"|R],Info,Opts,T) ->