aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_gen_erl.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-02-17 13:07:28 +0100
committerDan Gudmundsson <[email protected]>2012-02-20 11:49:46 +0100
commit2c95eb0c575c95a2cdf3c2eacb562d1a5a8cfe08 (patch)
tree823354ee20475634f8abeb4bb2b4b0c404548ffa /lib/wx/api_gen/wx_gen_erl.erl
parent953ee650a80d863a85c99e82ef69501496db0ad6 (diff)
downloadotp-2c95eb0c575c95a2cdf3c2eacb562d1a5a8cfe08.tar.gz
otp-2c95eb0c575c95a2cdf3c2eacb562d1a5a8cfe08.tar.bz2
otp-2c95eb0c575c95a2cdf3c2eacb562d1a5a8cfe08.zip
[wx] Fix api bugs in wxDC
Some out arguments was in args.
Diffstat (limited to 'lib/wx/api_gen/wx_gen_erl.erl')
-rw-r--r--lib/wx/api_gen/wx_gen_erl.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/wx/api_gen/wx_gen_erl.erl b/lib/wx/api_gen/wx_gen_erl.erl
index 00bb7e20d0..b75ff8f7c6 100644
--- a/lib/wx/api_gen/wx_gen_erl.erl
+++ b/lib/wx/api_gen/wx_gen_erl.erl
@@ -307,11 +307,6 @@ gen_dest(#class{name=CName,abstract=Abs}, Ms) ->
false ->
case lists:keysearch(destructor,#method.method_type, lists:append(Ms)) of
{value, #method{method_type=destructor, id=Id}} ->
- case CName of
- "wxGraphicsCo" ++ _ ->
- io:format("parents ~p~n",[parents(CName)]);
- _ -> ok
- end,
case hd(reverse(parents(CName))) of
object ->
gen_dest2(CName, object);