diff options
author | Dan Gudmundsson <[email protected]> | 2013-08-29 10:27:50 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2013-08-29 10:27:50 +0200 |
commit | 3bda52be882c0e3888cc571067cd7350b4ac2cfd (patch) | |
tree | 01b4d32dede084b166626fb7bc12623514940e95 /lib/wx/api_gen/wx_gen.erl | |
parent | 62fd1f53269d988ce4b978dbe49857e4d20509cf (diff) | |
parent | f910a7e636df45678c3f075172d4da5540e1b664 (diff) | |
download | otp-3bda52be882c0e3888cc571067cd7350b4ac2cfd.tar.gz otp-3bda52be882c0e3888cc571067cd7350b4ac2cfd.tar.bz2 otp-3bda52be882c0e3888cc571067cd7350b4ac2cfd.zip |
Merge branch 'dgud/wx/update-doxygen/OTP-11279' into maint
* dgud/wx/update-doxygen/OTP-11279:
wx: Add toolbar testcase
wx: Add character event test/example
wx: Add wxPanel:setFocusIgnoringChildren/1
wx: Add wxClipboardTextEvent
wx: Fix bug in wxStatusBar:getFieldRect/2
wx: Fix api generator
Diffstat (limited to 'lib/wx/api_gen/wx_gen.erl')
-rw-r--r-- | lib/wx/api_gen/wx_gen.erl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/wx/api_gen/wx_gen.erl b/lib/wx/api_gen/wx_gen.erl index 2eb9d9d33d..3ca8cd7d14 100644 --- a/lib/wx/api_gen/wx_gen.erl +++ b/lib/wx/api_gen/wx_gen.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2012. All Rights Reserved. +%% Copyright Ericsson AB 2008-2013. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -1350,7 +1350,11 @@ extract_enum3([#xmlElement{name=name,content=[#xmlText{value=Name}]}|R], Id, Acc end; extract_enum3([#xmlElement{name=initializer,content=Cs}|_],_Id,[{Name,_}|Acc]) -> - String = extract_def2(Cs), + String = case extract_def2(Cs) of + "= " ++ Str0 -> Str0; %% Doxygen 1.8.3.1 keeps the '=' sign + "=" ++ Str0 -> Str0; %% Doxygen 1.8.3.1 keeps the '=' sign + Str0 -> Str0 + end, Val0 = gen_util:tokens(String,"<& "), try case Val0 of |