lib/glimmer/swt/message_box_proxy.rb in glimmer-dsl-swt-4.18.5.0 vs lib/glimmer/swt/message_box_proxy.rb in glimmer-dsl-swt-4.18.5.1
- old
+ new
@@ -33,9 +33,10 @@
include_package 'org.eclipse.swt.widgets'
attr_reader :swt_widget
def initialize(parent, style)
+ # TODO consider consolidating with DialogProxy if it makes sense
if parent.nil?
@temporary_parent = parent = Glimmer::SWT::ShellProxy.new.swt_widget
end
@swt_widget = MessageBox.new(parent, style)
end