aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/wxGridCellChoiceEditor.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wx/src/gen/wxGridCellChoiceEditor.erl')
-rw-r--r--lib/wx/src/gen/wxGridCellChoiceEditor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/src/gen/wxGridCellChoiceEditor.erl b/lib/wx/src/gen/wxGridCellChoiceEditor.erl
index d5487c3618..8f4a07a0bb 100644
--- a/lib/wx/src/gen/wxGridCellChoiceEditor.erl
+++ b/lib/wx/src/gen/wxGridCellChoiceEditor.erl
@@ -68,7 +68,7 @@ new(Choices, Options)
-spec setParameters(This, Params) -> 'ok' when
This::wxGridCellChoiceEditor(), Params::unicode:chardata().
setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params)
- when is_list(Params) ->
+ when ?is_chardata(Params) ->
?CLASS(ThisT,wxGridCellChoiceEditor),
Params_UC = unicode:characters_to_binary([Params,0]),
wxe_util:cast(?wxGridCellChoiceEditor_SetParameters,