lib/wx/rtc/keyword_defs.rb in wxruby3-0.9.8 vs lib/wx/rtc/keyword_defs.rb in wxruby3-1.0.1
- old
+ new
@@ -10,10 +10,10 @@
# Wx::RTC sub package for wxRuby3
Wx::define_keyword_ctors(Wx::RTC::RichTextCtrl) do
wx_ctor_params :id, :value => ''
wx_ctor_params :pos, :size, :style => Wx::TE_MULTILINE
- wx_ctor_params :validator, :name => 'textCtrl'
+ wx_ctor_params :validator, :name => Wx::TEXT_CTRL_NAME_STR
end
Wx::define_keyword_ctors(Wx::RTC::RichTextStyleListBox) do
wx_ctor_params :id, :pos, :size, :style
end