aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxToggleButton.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/wxToggleButton.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/wxToggleButton.erl')
-rw-r--r--lib/wx/src/gen/wxToggleButton.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/src/gen/wxToggleButton.erl b/lib/wx/src/gen/wxToggleButton.erl
index 1d770b5ca5..ed2f564952 100644
--- a/lib/wx/src/gen/wxToggleButton.erl
+++ b/lib/wx/src/gen/wxToggleButton.erl
@@ -97,7 +97,7 @@ new(Parent,Id,Label)
Option :: {pos, {X::integer(), Y::integer()}}
| {size, {W::integer(), H::integer()}}
| {style, integer()}
- | {validator, wx:wx()}.
+ | {validator, wx:wx_object()}.
new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
when is_integer(Id),is_list(Label),is_list(Options) ->
?CLASS(ParentT,wxWindow),
@@ -125,7 +125,7 @@ create(This,Parent,Id,Label)
Option :: {pos, {X::integer(), Y::integer()}}
| {size, {W::integer(), H::integer()}}
| {style, integer()}
- | {validator, wx:wx()}.
+ | {validator, wx:wx_object()}.
create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options)
when is_integer(Id),is_list(Label),is_list(Options) ->
?CLASS(ThisT,wxToggleButton),