lib/shoes/swt/radio.rb in shoes-swt-4.0.0.pre4 vs lib/shoes/swt/radio.rb in shoes-swt-4.0.0.pre5
- old
+ new
@@ -7,13 +7,13 @@
attr_accessor :group
# Create a radio button
#
# @param [Shoes::Radio] dsl The Shoes DSL radio this represents
- # @param [::Swt::Widgets::Composite] parent The parent element of this button
+ # @param [::Swt::Widgets::Composite] app The app element of this button
# @param [Proc] blk The block of code to call when this button is activated
- def initialize(dsl, parent)
- super(dsl, parent, ::Swt::SWT::RADIO)
+ def initialize(dsl, app)
+ super(dsl, app, ::Swt::SWT::RADIO)
self.group = dsl.group
end
def group=(value)
group_lookup = RadioGroup.group_lookup