Displaying 2 results from an estimated 2 matches for "dialog2".
Did you mean:
dialog
2007 Jun 28
2
Keeping GUI responsive while processing data
...iles (.xls)|*.xls", Wx::SAVE|Wx::OVERWRITE_PROMPT)
file1 = @file1.get_value.to_s.strip
file2 = @file2.get_value.to_s.strip
if file1 == '''' or file2 == ''''
info = sprintf("Please make sure you have selected both files.")
dialog2 = Wx::MessageDialog.new(self, info, "Missing File?")
dialog2.show_modal()
elsif dialog.show_modal() == Wx::ID_OK
save_path = dialog.get_path()
puts save_path
puts file1
puts file2
$t = Thread.new {
ap = APBook.new
ap.run(f...
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...nt = ret_data.get_chosen_font
</ins><span class="cx"> msg = "Font = %s, %i pt" % [ font.get_face_name,
</span><span class="cx"> font.get_point_size ]
</span><span class="cx"> dialog2 = MessageDialog.new(self, msg, "Got font")
</span><span class="cx"> dialog2.show_modal()
</span><del>- # $myCanvas.refresh()
</del><ins>+ # $my_canvas.refresh()
</ins><span class="cx"> end
</span>...