search for: on_modal_dlg

Displaying 2 results from an estimated 2 matches for "on_modal_dlg".

2007 Sep 05
6
centering MessageDialog
Hi, is there any way to center the default Wx::MessageDialog or Wx::message_box on parent (owner) instead of screen? I haven''t found any constant other than Wx::DEFAULT_POSITION. thanks for your help. fabio. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
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.
...+ evt_menu(DIALOGS_FILE_OPEN2) {|event| on_file_open2(event) } + evt_menu(DIALOGS_FILES_OPEN) {|event| on_files_open(event) } + evt_menu(DIALOGS_FILE_SAVE) {|event| on_file_save(event) } + evt_menu(DIALOGS_DIR_CHOOSE) {|event| on_dir_choose(event) } + evt_menu(DIALOGS_MODAL) {|event| on_modal_dlg(event) } + evt_menu(DIALOGS_MODELESS) {|event| on_modeless_dlg(event) } + evt_menu(DIALOGS_TIP) {|event| on_show_tip(event) } + evt_menu(DIALOGS_PROGRESS) {|event| on_show_progress(event) } + evt_menu(DIALOGS_BUSYINFO) {|event| on_show_busy_info(event) } + evt_menu(DIALOGS_FIND) {|ev...