wxruby3 0.9.0-x64-mingw-ucrt → 0.9.2-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/aui/aui_tab_ctrl.rb +18 -0
- data/lib/wx/aui/auinotebook.rb +6 -2
- data/lib/wx/aui/require.rb +1 -0
- data/lib/wx/core/app.rb +2 -2
- data/lib/wx/core/collapsible_pane.rb +1 -1
- data/lib/wx/core/const.rb +83 -0
- data/lib/wx/core/controlwithitems.rb +8 -6
- data/lib/wx/core/events/evt_list.rb +24 -0
- data/lib/wx/core/menu.rb +10 -0
- data/lib/wx/core/notebook.rb +6 -2
- data/lib/wx/core/sizer.rb +11 -0
- data/lib/wx/core/task_bar_button.rb +19 -0
- data/lib/wx/core/textctrl.rb +11 -1
- data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
- data/lib/wx/core/window.rb +10 -0
- data/lib/wx/doc/app.rb +48 -38
- data/lib/wx/doc/art_locator.rb +47 -43
- data/lib/wx/doc/aui/auimanager.rb +16 -8
- data/lib/wx/doc/aui/auinotebook.rb +20 -5
- data/lib/wx/doc/clipboard.rb +11 -7
- data/lib/wx/doc/colour_dialog.rb +14 -10
- data/lib/wx/doc/const.rb +66 -66
- data/lib/wx/doc/controlwithitems.rb +17 -7
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/event.rb +0 -6
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/functions.rb +9 -9
- data/lib/wx/doc/gc_dc.rb +6 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
- data/lib/wx/doc/gen/accelerator.rb +14 -5
- data/lib/wx/doc/gen/accessible.rb +35 -47
- data/lib/wx/doc/gen/activity_indicator.rb +6 -7
- data/lib/wx/doc/gen/animation.rb +7 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +8 -9
- data/lib/wx/doc/gen/any_button.rb +6 -1
- data/lib/wx/doc/gen/app.rb +7 -5
- data/lib/wx/doc/gen/app_traits.rb +27 -10
- data/lib/wx/doc/gen/art_provider.rb +20 -8
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +3 -2
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +8 -3
- data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
- data/lib/wx/doc/gen/aui/event_list.rb +164 -160
- data/lib/wx/doc/gen/banner_window.rb +3 -3
- data/lib/wx/doc/gen/bitmap.rb +34 -17
- data/lib/wx/doc/gen/bitmap_button.rb +13 -10
- data/lib/wx/doc/gen/bitmap_combo_box.rb +16 -12
- data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
- data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
- data/lib/wx/doc/gen/box_sizer.rb +0 -1
- data/lib/wx/doc/gen/brush.rb +5 -2
- data/lib/wx/doc/gen/busy_info.rb +2 -2
- data/lib/wx/doc/gen/button.rb +25 -13
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +18 -15
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +4 -3
- data/lib/wx/doc/gen/caret.rb +0 -1
- data/lib/wx/doc/gen/check_box.rb +9 -9
- data/lib/wx/doc/gen/check_list_box.rb +8 -9
- data/lib/wx/doc/gen/choice.rb +18 -11
- data/lib/wx/doc/gen/choicebook.rb +6 -7
- data/lib/wx/doc/gen/client_dc.rb +5 -2
- data/lib/wx/doc/gen/clipboard.rb +7 -3
- data/lib/wx/doc/gen/collapsible_pane.rb +8 -9
- data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
- data/lib/wx/doc/gen/colour.rb +8 -4
- data/lib/wx/doc/gen/colour_dialog.rb +6 -8
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +11 -12
- data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
- data/lib/wx/doc/gen/combo_box.rb +20 -17
- data/lib/wx/doc/gen/combo_ctrl.rb +100 -37
- data/lib/wx/doc/gen/command_link_button.rb +6 -7
- data/lib/wx/doc/gen/context_help_button.rb +7 -3
- data/lib/wx/doc/gen/control.rb +12 -10
- data/lib/wx/doc/gen/control_with_items.rb +0 -1
- data/lib/wx/doc/gen/core.rb +4 -4
- data/lib/wx/doc/gen/cursor.rb +6 -8
- data/lib/wx/doc/gen/data_format.rb +6 -1
- data/lib/wx/doc/gen/data_object.rb +16 -14
- data/lib/wx/doc/gen/date_event.rb +2 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +14 -10
- data/lib/wx/doc/gen/dc.rb +155 -37
- data/lib/wx/doc/gen/defs.rb +54 -54
- data/lib/wx/doc/gen/dial_up_event.rb +41 -0
- data/lib/wx/doc/gen/dial_up_manager.rb +137 -0
- data/lib/wx/doc/gen/dialog.rb +35 -15
- data/lib/wx/doc/gen/dir_dialog.rb +17 -5
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +11 -12
- data/lib/wx/doc/gen/drag_drop.rb +11 -10
- data/lib/wx/doc/gen/drag_image.rb +6 -2
- data/lib/wx/doc/gen/editable_list_box.rb +4 -4
- data/lib/wx/doc/gen/event.rb +42 -20
- data/lib/wx/doc/gen/event_blocker.rb +1 -3
- data/lib/wx/doc/gen/event_list.rb +1656 -1624
- data/lib/wx/doc/gen/events.rb +170 -181
- data/lib/wx/doc/gen/evt_handler.rb +11 -3
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +209 -0
- data/lib/wx/doc/gen/file_ctrl_event.rb +79 -0
- data/lib/wx/doc/gen/file_dialog.rb +32 -15
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
- data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
- data/lib/wx/doc/gen/file_picker_ctrl.rb +10 -11
- data/lib/wx/doc/gen/file_system.rb +38 -15
- data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/font.rb +31 -20
- data/lib/wx/doc/gen/font_data.rb +3 -4
- data/lib/wx/doc/gen/font_dialog.rb +1 -2
- data/lib/wx/doc/gen/font_picker_ctrl.rb +8 -9
- data/lib/wx/doc/gen/font_picker_event.rb +2 -3
- data/lib/wx/doc/gen/frame.rb +60 -19
- data/lib/wx/doc/gen/fs_file.rb +17 -10
- data/lib/wx/doc/gen/gauge.rb +13 -10
- data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -2
- data/lib/wx/doc/gen/gdi_common.rb +30 -11
- data/lib/wx/doc/gen/gdi_object.rb +0 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +8 -9
- data/lib/wx/doc/gen/graphics_context.rb +59 -12
- data/lib/wx/doc/gen/graphics_object.rb +11 -6
- data/lib/wx/doc/gen/grid/event_list.rb +168 -164
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +29 -7
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
- data/lib/wx/doc/gen/grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
- data/lib/wx/doc/gen/header_ctrl.rb +7 -14
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
- data/lib/wx/doc/gen/help_controller.rb +42 -3
- data/lib/wx/doc/gen/help_provider.rb +12 -3
- data/lib/wx/doc/gen/html/event_list.rb +41 -37
- data/lib/wx/doc/gen/html/html_cell.rb +23 -6
- data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
- data/lib/wx/doc/gen/html/html_easy_printing.rb +8 -3
- data/lib/wx/doc/gen/html/html_help_controller.rb +47 -2
- data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
- data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
- data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +10 -12
- data/lib/wx/doc/gen/html/html_printout.rb +1 -2
- data/lib/wx/doc/gen/html/html_window.rb +13 -7
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +9 -9
- data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
- data/lib/wx/doc/gen/icon.rb +5 -29
- data/lib/wx/doc/gen/icon_location.rb +0 -1
- data/lib/wx/doc/gen/image.rb +83 -17
- data/lib/wx/doc/gen/image_list.rb +15 -6
- data/lib/wx/doc/gen/info_bar.rb +2 -2
- data/lib/wx/doc/gen/keyboard_state.rb +0 -1
- data/lib/wx/doc/gen/list_box.rb +33 -21
- data/lib/wx/doc/gen/list_ctrl.rb +79 -32
- data/lib/wx/doc/gen/list_event.rb +3 -4
- data/lib/wx/doc/gen/listbook.rb +6 -7
- data/lib/wx/doc/gen/locale.rb +46 -4
- data/lib/wx/doc/gen/log.rb +16 -12
- data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
- data/lib/wx/doc/gen/mdi_frame.rb +32 -11
- data/lib/wx/doc/gen/media_ctrl.rb +28 -20
- data/lib/wx/doc/gen/media_event.rb +5 -4
- data/lib/wx/doc/gen/memory_dc.rb +6 -6
- data/lib/wx/doc/gen/menu.rb +37 -23
- data/lib/wx/doc/gen/menu_bar.rb +52 -12
- data/lib/wx/doc/gen/menu_item.rb +117 -95
- data/lib/wx/doc/gen/message_dialog.rb +7 -8
- data/lib/wx/doc/gen/mini_frame.rb +13 -7
- data/lib/wx/doc/gen/mirror_dc.rb +0 -2
- data/lib/wx/doc/gen/mouse_state.rb +0 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +19 -11
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +0 -1
- data/lib/wx/doc/gen/paint_dc.rb +0 -1
- data/lib/wx/doc/gen/palette.rb +0 -1
- data/lib/wx/doc/gen/panel.rb +19 -10
- data/lib/wx/doc/gen/pen.rb +17 -8
- data/lib/wx/doc/gen/pg/event_list.rb +97 -93
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
- data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
- data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
- data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
- data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
- data/lib/wx/doc/gen/pg/property_grid.rb +83 -22
- data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +212 -34
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +42 -12
- data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
- data/lib/wx/doc/gen/picker_base.rb +12 -5
- data/lib/wx/doc/gen/platform_info.rb +4 -9
- data/lib/wx/doc/gen/popup_window.rb +2 -5
- data/lib/wx/doc/gen/progress_dialog.rb +1 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +15 -5
- data/lib/wx/doc/gen/prt/event_list.rb +8 -4
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +2 -2
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +4 -1
- data/lib/wx/doc/gen/prt/print_data.rb +4 -3
- data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/printer.rb +50 -11
- data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
- data/lib/wx/doc/gen/radio_box.rb +13 -14
- data/lib/wx/doc/gen/radio_button.rb +15 -11
- data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
- data/lib/wx/doc/gen/rearrange_ctrl.rb +3 -4
- data/lib/wx/doc/gen/rearrange_list.rb +5 -6
- data/lib/wx/doc/gen/region.rb +75 -17
- data/lib/wx/doc/gen/region_iterator.rb +0 -1
- data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +12 -9
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +3 -5
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +4 -5
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +3 -3
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +14 -14
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +3 -3
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +3 -4
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +3 -4
- data/lib/wx/doc/gen/sash_event.rb +12 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +13 -6
- data/lib/wx/doc/gen/sash_window.rb +4 -5
- data/lib/wx/doc/gen/screen_dc.rb +0 -1
- data/lib/wx/doc/gen/scroll_bar.rb +21 -12
- data/lib/wx/doc/gen/scrolled_canvas.rb +34 -12
- data/lib/wx/doc/gen/scrolled_control.rb +34 -12
- data/lib/wx/doc/gen/scrolled_window.rb +34 -12
- data/lib/wx/doc/gen/search_ctrl.rb +10 -11
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/sizer.rb +12 -7
- data/lib/wx/doc/gen/sizer_item.rb +5 -2
- data/lib/wx/doc/gen/slider.rb +29 -19
- data/lib/wx/doc/gen/spin_button.rb +16 -11
- data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
- data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
- data/lib/wx/doc/gen/spin_double_event.rb +3 -4
- data/lib/wx/doc/gen/spin_event.rb +3 -3
- data/lib/wx/doc/gen/splash_screen.rb +1 -2
- data/lib/wx/doc/gen/splitter_event.rb +3 -4
- data/lib/wx/doc/gen/splitter_window.rb +78 -20
- data/lib/wx/doc/gen/static_bitmap.rb +12 -7
- data/lib/wx/doc/gen/static_box.rb +13 -11
- data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
- data/lib/wx/doc/gen/static_line.rb +5 -6
- data/lib/wx/doc/gen/static_text.rb +7 -8
- data/lib/wx/doc/gen/status_bar.rb +21 -11
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +41 -15
- data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
- data/lib/wx/doc/gen/system_options.rb +6 -6
- data/lib/wx/doc/gen/system_settings.rb +2 -3
- data/lib/wx/doc/gen/task_bar_button.rb +312 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
- data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
- data/lib/wx/doc/gen/text_attr.rb +20 -5
- data/lib/wx/doc/gen/text_ctrl.rb +92 -27
- data/lib/wx/doc/gen/text_entry.rb +31 -11
- data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
- data/lib/wx/doc/gen/text_validator.rb +43 -10
- data/lib/wx/doc/gen/time_picker_ctrl.rb +7 -8
- data/lib/wx/doc/gen/timer.rb +6 -2
- data/lib/wx/doc/gen/timer_event.rb +1 -2
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +7 -8
- data/lib/wx/doc/gen/tool_bar.rb +99 -26
- data/lib/wx/doc/gen/tool_tip.rb +35 -5
- data/lib/wx/doc/gen/toolbook.rb +3 -4
- data/lib/wx/doc/gen/top_level_window.rb +71 -25
- data/lib/wx/doc/gen/tree_ctrl.rb +42 -18
- data/lib/wx/doc/gen/tree_event.rb +3 -4
- data/lib/wx/doc/gen/treebook.rb +7 -4
- data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
- data/lib/wx/doc/gen/utils.rb +39 -7
- data/lib/wx/doc/gen/v_list_box.rb +8 -4
- data/lib/wx/doc/gen/v_scrolled_window.rb +8 -6
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -0
- data/lib/wx/doc/gen/window.rb +200 -50
- data/lib/wx/doc/gen/window_dc.rb +0 -1
- data/lib/wx/doc/gen/window_disabler.rb +5 -2
- data/lib/wx/doc/gen/with_images.rb +6 -1
- data/lib/wx/doc/gen/wizard.rb +4 -4
- data/lib/wx/doc/gen/wizard_event.rb +3 -4
- data/lib/wx/doc/gen/wizard_page.rb +2 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
- data/lib/wx/doc/gen/xml_node.rb +19 -4
- data/lib/wx/doc/gen/xml_resource.rb +18 -5
- data/lib/wx/doc/graphics_context.rb +1 -0
- data/lib/wx/doc/grid/grid.rb +22 -1
- data/lib/wx/doc/help_controller.rb +11 -7
- data/lib/wx/doc/html/html_help_controller.rb +12 -4
- data/lib/wx/doc/list_ctrl.rb +33 -29
- data/lib/wx/doc/menu.rb +20 -0
- data/lib/wx/doc/notebook.rb +21 -0
- data/lib/wx/doc/pg/events.rb +13 -9
- data/lib/wx/doc/pg/pg_property.rb +18 -0
- data/lib/wx/doc/progress_dialog.rb +36 -32
- data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
- data/lib/wx/doc/prt/print_data.rb +13 -5
- data/lib/wx/doc/prt/print_dialog.rb +31 -23
- data/lib/wx/doc/prt/printer.rb +20 -12
- data/lib/wx/doc/radio_box.rb +19 -15
- data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
- data/lib/wx/doc/region_iterator.rb +32 -28
- data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
- data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
- data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
- data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
- data/lib/wx/doc/sizer.rb +20 -0
- data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
- data/lib/wx/doc/stream.rb +39 -35
- data/lib/wx/doc/system_settings.rb +30 -26
- data/lib/wx/doc/text_validator.rb +12 -8
- data/lib/wx/doc/textctrl.rb +16 -0
- data/lib/wx/doc/tree_ctrl.rb +95 -0
- data/lib/wx/doc/treebook.rb +9 -5
- data/lib/wx/doc/v_list_box.rb +9 -5
- data/lib/wx/doc/variant.rb +164 -160
- data/lib/wx/doc/window.rb +57 -42
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/keyword_defs.rb +43 -6
- data/lib/wx/pg/pg_property.rb +22 -0
- data/lib/wx/rtc/require.rb +3 -0
- data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
- data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
- data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
- data/lib/wx/stc/require.rb +1 -0
- data/lib/wx/stc/styled_text_ctrl.rb +25 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/lib/config/linux.rb +0 -3
- data/rakelib/lib/config/macosx.rb +1 -1
- data/rakelib/lib/config/mingw.rb +1 -1
- data/rakelib/lib/config/unixish.rb +1 -1
- data/rakelib/lib/config.rb +14 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
- data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
- data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
- data/rakelib/yard/templates/default/tags/setup.rb +16 -0
- data/rakelib/yard/yard-custom-templates.rb +3 -0
- data/samples/text/richtext.rb +0 -30
- data/samples/treectrl/treectrl.rb +1 -1
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_app_exit_exception.rb +36 -0
- data/tests/test_app_init_exception.rb +20 -0
- data/tests/test_book_controls.rb +29 -0
- data/tests/test_exceptions.rb +41 -0
- data/tests/test_list_ctrl.rb +1 -1
- data/tests/test_media_ctrl.rb +38 -0
- data/tests/test_menu.rb +69 -0
- data/tests/test_pg.rb +27 -0
- data/tests/test_richtext.rb +45 -0
- data/tests/test_sizer.rb +59 -0
- data/tests/test_std_controls.rb +78 -1
- data/tests/test_styled_text_ctrl.rb +46 -0
- data/tests/test_tree_ctrl.rb +138 -0
- data/tests/test_window.rb +12 -0
- data/tests/testapp_noframe.rb +1 -1
- metadata +38 -3
data/lib/wx/doc/gen/combo_box.rb
CHANGED
@@ -11,7 +11,7 @@ module Wx
|
|
11
11
|
# A combobox permits a single selection only. Combobox items are numbered from zero.
|
12
12
|
# If you need a customized combobox, have a look at {Wx::ComboCtrl}, {Wx::OwnerDrawnComboBox}, {Wx::ComboPopup} and the ready-to-use {Wx::BitmapComboBox}.
|
13
13
|
# Please refer to {Wx::TextEntry} documentation for the description of methods operating with the text entry part of the combobox and to {Wx::ItemContainer} for the methods operating with the list of strings. Notice that at least under MSW {Wx::ComboBox} doesn't behave correctly if it contains strings differing in case only so portable programs should avoid adding such strings to this control.
|
14
|
-
#
|
14
|
+
# ### Styles
|
15
15
|
#
|
16
16
|
# This class supports the following styles:
|
17
17
|
#
|
@@ -25,7 +25,7 @@ module Wx
|
|
25
25
|
#
|
26
26
|
# - {Wx::TE_PROCESS_ENTER}: The control will generate the event {Wx::EVT_TEXT_ENTER} that can be handled by the program. Otherwise, i.e. either if this style not specified at all, or it is used, but there is no event handler for this event or the event handler called {Wx::Event#skip} to avoid overriding the default handling, pressing Enter key is either processed internally by the control or used to activate the default button of the dialog, if any.
|
27
27
|
#
|
28
|
-
#
|
28
|
+
# ### Events emitted by this class
|
29
29
|
#
|
30
30
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
|
31
31
|
# Event handler methods for events emitted by this class:
|
@@ -36,15 +36,13 @@ module Wx
|
|
36
36
|
#
|
37
37
|
# - {Wx::EvtHandler#evt_text_enter}(id, meth = nil, &block): Process a {Wx::EVT_TEXT_ENTER} event, when RETURN is pressed in the combobox (notice that the combobox must have been created with {Wx::TE_PROCESS_ENTER} style to receive this event).
|
38
38
|
#
|
39
|
-
# - {Wx::EvtHandler#evt_combobox_dropdown}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX_DROPDOWN} event, which is generated when the list box part of the combo box is shown (drops down). Notice that this event is only supported by
|
39
|
+
# - {Wx::EvtHandler#evt_combobox_dropdown}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX_DROPDOWN} event, which is generated when the list box part of the combo box is shown (drops down). Notice that this event is only supported by WXMSW, WXGTK with GTK+ 2.10 or later, and WXOSX/Cocoa.
|
40
40
|
#
|
41
41
|
# - {Wx::EvtHandler#evt_combobox_closeup}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX_CLOSEUP} event, which is generated when the list box of the combo box disappears (closes up). This event is only generated for the same platforms as {Wx::EVT_COMBOBOX_DROPDOWN} above.
|
42
42
|
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
# </td><td> wxGTK Appearance
|
47
|
-
# </td><td> wxOSX Appearance
|
43
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
44
|
+
# </td><td> WXGTK Appearance
|
45
|
+
# </td><td> WXOSX Appearance
|
48
46
|
# </td></tr></table></div>
|
49
47
|
# @see Wx::ListBox
|
50
48
|
# @see Wx::TextCtrl
|
@@ -52,11 +50,12 @@ module Wx
|
|
52
50
|
# @see Wx::CommandEvent
|
53
51
|
#
|
54
52
|
#
|
53
|
+
# @wxrb_require USE_COMBOBOX
|
55
54
|
class ComboBox < ControlWithItems
|
56
55
|
|
57
56
|
include Wx::TextEntry
|
58
57
|
|
59
|
-
# @overload create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=((
|
58
|
+
# @overload create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=((CONST Wx::STRING *) nil), style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
60
59
|
# Creates the combobox for two-step construction.
|
61
60
|
# Derived classes should call or replace this function. See {Wx::ComboBox#initialize} for further details.
|
62
61
|
# @param parent [Wx::Window]
|
@@ -69,7 +68,7 @@ module Wx
|
|
69
68
|
# @param validator [Wx::Validator]
|
70
69
|
# @param name [String]
|
71
70
|
# @return [Boolean]
|
72
|
-
# @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
71
|
+
# @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
73
72
|
# Creates the combobox for two-step construction.
|
74
73
|
# Derived classes should call or replace this function. See {Wx::ComboBox#initialize} for further details.
|
75
74
|
# @param parent [Wx::Window]
|
@@ -87,7 +86,7 @@ module Wx
|
|
87
86
|
# @overload initialize()
|
88
87
|
# Default constructor.
|
89
88
|
# @return [Wx::ComboBox]
|
90
|
-
# @overload initialize(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
89
|
+
# @overload initialize(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
91
90
|
# Constructor, creating and showing a combobox.
|
92
91
|
#
|
93
92
|
# @see Wx::ComboBox#create
|
@@ -102,7 +101,7 @@ module Wx
|
|
102
101
|
# @param validator [Wx::Validator] Window validator.
|
103
102
|
# @param name [String] Window name.
|
104
103
|
# @return [Wx::ComboBox]
|
105
|
-
# @overload initialize(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
104
|
+
# @overload initialize(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
106
105
|
# Constructor, creating and showing a combobox.
|
107
106
|
#
|
108
107
|
# @see Wx::ComboBox#create
|
@@ -126,7 +125,11 @@ module Wx
|
|
126
125
|
alias_method :current_selection, :get_current_selection
|
127
126
|
|
128
127
|
# Same as {Wx::TextEntry#get_insertion_point}.
|
129
|
-
#
|
128
|
+
# <div class="wxrb-note">
|
129
|
+
# <b>Note:</b>
|
130
|
+
# <p>Under WXMSW, this function always returns 0 if the combobox doesn't have the focus.
|
131
|
+
# </p>
|
132
|
+
# </div>
|
130
133
|
# @return [Integer]
|
131
134
|
def get_insertion_point; end
|
132
135
|
alias_method :insertion_point, :get_insertion_point
|
@@ -168,14 +171,14 @@ module Wx
|
|
168
171
|
alias_method :value=, :set_value
|
169
172
|
|
170
173
|
# Shows the list box portion of the combo box.
|
171
|
-
# Currently this method is implemented in
|
172
|
-
# Notice that calling this function will generate a {Wx::EVT_COMBOBOX_DROPDOWN} event except under
|
174
|
+
# Currently this method is implemented in WXMSW, WXGTK and WXOSX/Cocoa.
|
175
|
+
# Notice that calling this function will generate a {Wx::EVT_COMBOBOX_DROPDOWN} event except under WXOSX where generation of this event is not supported at all.
|
173
176
|
# @return [void]
|
174
177
|
def popup; end
|
175
178
|
|
176
179
|
# Hides the list box portion of the combo box.
|
177
|
-
# Currently this method is implemented in
|
178
|
-
# Notice that calling this function will generate a {Wx::EVT_COMBOBOX_CLOSEUP} event except under
|
180
|
+
# Currently this method is implemented in WXMSW, WXGTK and WXOSX/Cocoa.
|
181
|
+
# Notice that calling this function will generate a {Wx::EVT_COMBOBOX_CLOSEUP} event except under WXOSX where generation of this event is not supported at all.
|
179
182
|
# @return [void]
|
180
183
|
def dismiss; end
|
181
184
|
|
@@ -18,6 +18,7 @@ module Wx
|
|
18
18
|
#
|
19
19
|
#
|
20
20
|
#
|
21
|
+
# @wxrb_require USE_COMBOCTRL
|
21
22
|
class OwnerDrawnComboBoxPaintingFlags < Wx::Enum
|
22
23
|
|
23
24
|
# Combo control is being painted, instead of a list item.
|
@@ -41,15 +42,15 @@ module Wx
|
|
41
42
|
# A combo control is a generic combobox that allows totally custom popup.
|
42
43
|
# In addition it has other customization features. For instance, position and size of the dropdown button can be changed.
|
43
44
|
#
|
44
|
-
#
|
45
|
+
# ## Setting Custom Popup for wxComboCtrl
|
45
46
|
#
|
46
47
|
# {Wx::ComboCtrl} needs to be told somehow which control to use and this is done by {Wx::ComboCtrl#set_popup_control}. However, we need something more than just a {Wx::Control} in this method as, for example, we need to call SetStringValue("initial text value") and {Wx::Control} doesn't have such method. So we also need a {Wx::ComboPopup} which is an interface which must be implemented by a control to be usable as a popup.
|
47
48
|
# We couldn't derive {Wx::ComboPopup} from {Wx::Control} as this would make it impossible to have a class deriving from a wxWidgets control and from it, so instead it is just a mix-in.
|
48
49
|
# Here's a minimal sample of {Wx::ListView} popup:
|
49
50
|
#
|
50
51
|
# ```
|
51
|
-
#
|
52
|
-
#
|
52
|
+
# \#include <wx/combo.h>
|
53
|
+
# \#include <wx/listctrl.h>
|
53
54
|
#
|
54
55
|
# class wxListViewComboPopup : public wxListView, public wxComboPopup
|
55
56
|
# {
|
@@ -131,7 +132,7 @@ module Wx
|
|
131
132
|
# popupCtrl->InsertItem(popupCtrl->GetItemCount(), "Third Item");
|
132
133
|
# ```
|
133
134
|
#
|
134
|
-
#
|
135
|
+
# ### Styles
|
135
136
|
#
|
136
137
|
# This class supports the following styles:
|
137
138
|
#
|
@@ -145,7 +146,7 @@ module Wx
|
|
145
146
|
#
|
146
147
|
# - {Wx::CC_STD_BUTTON}: Drop button will behave more like a standard push button.
|
147
148
|
#
|
148
|
-
#
|
149
|
+
# ### Events emitted by this class
|
149
150
|
#
|
150
151
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
|
151
152
|
# Event handler methods for events emitted by this class:
|
@@ -158,11 +159,9 @@ module Wx
|
|
158
159
|
#
|
159
160
|
# - {Wx::EvtHandler#evt_combobox_closeup}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX_CLOSEUP} event, which is generated when the popup window of the combo control disappears (closes up). You should avoid adding or deleting items in this event.
|
160
161
|
#
|
161
|
-
#
|
162
|
-
#
|
163
|
-
#
|
164
|
-
# </td><td> wxGTK Appearance
|
165
|
-
# </td><td> wxOSX Appearance
|
162
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
163
|
+
# </td><td> WXGTK Appearance
|
164
|
+
# </td><td> WXOSX Appearance
|
166
165
|
# </td></tr></table></div>
|
167
166
|
# @see Wx::ComboBox
|
168
167
|
# @see Wx::Choice
|
@@ -171,6 +170,7 @@ module Wx
|
|
171
170
|
# @see Wx::CommandEvent
|
172
171
|
#
|
173
172
|
#
|
173
|
+
# @wxrb_require USE_COMBOCTRL
|
174
174
|
class ComboCtrl < Control
|
175
175
|
|
176
176
|
include Wx::TextEntry
|
@@ -194,7 +194,7 @@ module Wx
|
|
194
194
|
# @overload initialize()
|
195
195
|
# Default constructor.
|
196
196
|
# @return [Wx::ComboCtrl]
|
197
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
197
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
198
198
|
# Constructor, creating and showing a combo control.
|
199
199
|
#
|
200
200
|
# @see Wx::ComboCtrl#create
|
@@ -225,7 +225,7 @@ module Wx
|
|
225
225
|
# @param validator [Wx::Validator]
|
226
226
|
# @param name [String]
|
227
227
|
# @return [Boolean]
|
228
|
-
def create(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
228
|
+
def create(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR) end
|
229
229
|
|
230
230
|
# Copies the selected text to the clipboard and removes the selection.
|
231
231
|
# @return [void]
|
@@ -304,7 +304,11 @@ module Wx
|
|
304
304
|
alias_method :hint, :get_hint
|
305
305
|
|
306
306
|
# Returns the insertion point for the combo control's text field.
|
307
|
-
#
|
307
|
+
# <div class="wxrb-note">
|
308
|
+
# <b>Note:</b>
|
309
|
+
# <p>Under Windows, this function always returns 0 if the combo control doesn't have the focus.
|
310
|
+
# </p>
|
311
|
+
# </div>
|
308
312
|
# @return [Integer]
|
309
313
|
def get_insertion_point; end
|
310
314
|
alias_method :insertion_point, :get_insertion_point
|
@@ -316,7 +320,12 @@ module Wx
|
|
316
320
|
|
317
321
|
# Returns the margins used by the control.
|
318
322
|
# The x field of the returned point is the horizontal margin and the y field is the vertical one.
|
319
|
-
#
|
323
|
+
#
|
324
|
+
# <div class="wxrb-remark">
|
325
|
+
# <b>Remark:</b>
|
326
|
+
# <p>If given margin cannot be accurately determined, its value will be set to -1.
|
327
|
+
# </p>
|
328
|
+
# </div>>
|
320
329
|
# @see Wx::ComboCtrl#set_margins
|
321
330
|
# @return [Wx::Point]
|
322
331
|
def get_margins; end
|
@@ -371,7 +380,12 @@ module Wx
|
|
371
380
|
|
372
381
|
# Implement in a derived class to define what happens on dropdown button click.
|
373
382
|
# Default action is to show the popup.
|
374
|
-
#
|
383
|
+
#
|
384
|
+
# <div class="wxrb-note">
|
385
|
+
# <b>Note:</b>
|
386
|
+
# <p>If you implement this to do something else than show the popup, you must then also implement {Wx::ComboCtrl#do_set_popup_control} to always return NULL.
|
387
|
+
# </p>
|
388
|
+
# </div>
|
375
389
|
# @return [void]
|
376
390
|
def on_button_click; end
|
377
391
|
|
@@ -485,14 +499,22 @@ module Wx
|
|
485
499
|
alias_method :popup_control=, :set_popup_control
|
486
500
|
|
487
501
|
# Extends popup size horizontally, relative to the edges of the combo control.
|
488
|
-
#
|
502
|
+
# <div class="wxrb-remark">
|
503
|
+
# <b>Remark:</b>
|
504
|
+
# <p>Popup minimum width may override arguments. It is up to the popup to fully take this into account.
|
505
|
+
# </p>
|
506
|
+
# </div>>
|
489
507
|
# @param extLeft [Integer] How many pixel to extend beyond the left edge of the control. Default is 0.
|
490
508
|
# @param extRight [Integer] How many pixel to extend beyond the right edge of the control. Default is 0.
|
491
509
|
# @return [void]
|
492
510
|
def set_popup_extents(extLeft, extRight) end
|
493
511
|
|
494
512
|
# Sets preferred maximum height of the popup.
|
495
|
-
#
|
513
|
+
# <div class="wxrb-remark">
|
514
|
+
# <b>Remark:</b>
|
515
|
+
# <p>Value -1 indicates the default.
|
516
|
+
# </p>
|
517
|
+
# </div>>
|
496
518
|
# @param height [Integer]
|
497
519
|
# @return [void]
|
498
520
|
def set_popup_max_height(height) end
|
@@ -500,7 +522,12 @@ module Wx
|
|
500
522
|
|
501
523
|
# Sets minimum width of the popup.
|
502
524
|
# If wider than combo control, it will extend to the left.
|
503
|
-
#
|
525
|
+
#
|
526
|
+
# <div class="wxrb-remark">
|
527
|
+
# <b>Remark:</b>
|
528
|
+
# <p>Value -1 indicates the default. Also, popup implementation may choose to ignore this.
|
529
|
+
# </p>
|
530
|
+
# </div>>
|
504
531
|
# @param width [Integer]
|
505
532
|
# @return [void]
|
506
533
|
def set_popup_min_width(width) end
|
@@ -536,7 +563,11 @@ module Wx
|
|
536
563
|
alias_method :text_ctrl_style=, :set_text_ctrl_style
|
537
564
|
|
538
565
|
# Sets the text for the combo control text field.
|
539
|
-
#
|
566
|
+
# <div class="wxrb-note">
|
567
|
+
# <b>Note:</b>
|
568
|
+
# <p>For a combo control with {Wx::CB_READONLY} style the string must be accepted by the popup (for instance, exist in the dropdown list), otherwise the call to {Wx::ComboCtrl#set_value} is ignored.
|
569
|
+
# </p>
|
570
|
+
# </div>
|
540
571
|
# @param value [String]
|
541
572
|
# @return [void]
|
542
573
|
def set_value(value) end
|
@@ -579,7 +610,12 @@ module Wx
|
|
579
610
|
|
580
611
|
# This member function is not normally called in application code.
|
581
612
|
# Instead, it can be implemented in a derived class to return default {Wx::ComboPopup}, in case popup is NULL.
|
582
|
-
#
|
613
|
+
#
|
614
|
+
# <div class="wxrb-note">
|
615
|
+
# <b>Note:</b>
|
616
|
+
# <p>If you have implemented {Wx::ComboCtrl#on_button_click} to do something else than show the popup, then {Wx::ComboCtrl#do_set_popup_control} must always set popup to NULL.
|
617
|
+
# </p>
|
618
|
+
# </div>
|
583
619
|
# @param popup [Wx::ComboPopup]
|
584
620
|
# @return [void]
|
585
621
|
def do_set_popup_control(popup) end
|
@@ -595,7 +631,6 @@ module Wx
|
|
595
631
|
|
596
632
|
# In order to use a custom popup with {Wx::ComboCtrl}, an interface class must be derived from {Wx::ComboPopup}.
|
597
633
|
# For more information on how to use it, see Setting Custom Popup for wxComboCtrl.
|
598
|
-
# ===
|
599
634
|
#
|
600
635
|
# Category: {Wx::Controls}
|
601
636
|
# @see Wx::ComboCtrl
|
@@ -603,6 +638,7 @@ module Wx
|
|
603
638
|
#
|
604
639
|
#
|
605
640
|
# @note In wxRuby this is a mixin module instead of a (base) class.
|
641
|
+
# @wxrb_require USE_COMBOCTRL
|
606
642
|
module ComboPopup
|
607
643
|
|
608
644
|
# Default constructor.
|
@@ -627,14 +663,22 @@ module Wx
|
|
627
663
|
def dismiss; end
|
628
664
|
|
629
665
|
# Implement to customize matching of value string to an item container entry.
|
630
|
-
#
|
666
|
+
# <div class="wxrb-remark">
|
667
|
+
# <b>Remark:</b>
|
668
|
+
# <p>Default implementation always return true and does not alter trueItem.
|
669
|
+
# </p>
|
670
|
+
# </div>>
|
631
671
|
# @param item [String] String entered, usually by user or from SetValue() call.
|
632
672
|
# @param trueItem [String] When item matches an entry, but the entry's string representation is not exactly the same (case mismatch, for example), then the true item string should be written back to here, if it is not a NULL pointer.
|
633
673
|
# @return [Boolean]
|
634
674
|
def find_item(item, trueItem=nil) end
|
635
675
|
|
636
676
|
# The derived class may implement this to return adjusted size for the popup control, according to the variables given.
|
637
|
-
#
|
677
|
+
# <div class="wxrb-remark">
|
678
|
+
# <b>Remark:</b>
|
679
|
+
# <p>This function is called each time popup is about to be shown.
|
680
|
+
# </p>
|
681
|
+
# </div>>
|
638
682
|
# @param minWidth [Integer] Preferred minimum width.
|
639
683
|
# @param prefHeight [Integer] Preferred height. May be -1 to indicate no preference.
|
640
684
|
# @param maxHeight [Integer] Max height for window, as limited by screen size.
|
@@ -670,7 +714,12 @@ module Wx
|
|
670
714
|
|
671
715
|
# The derived class may implement this to return true if it wants to delay call to {Wx::ComboPopup#create} until the popup is shown for the first time.
|
672
716
|
# It is more efficient, but on the other hand it is often more convenient to have the control created immediately.
|
673
|
-
#
|
717
|
+
#
|
718
|
+
# <div class="wxrb-remark">
|
719
|
+
# <b>Remark:</b>
|
720
|
+
# <p>Base implementation returns false.
|
721
|
+
# </p>
|
722
|
+
# </div>>
|
674
723
|
# @return [Boolean]
|
675
724
|
def lazy_create; end
|
676
725
|
|
@@ -710,7 +759,7 @@ module Wx
|
|
710
759
|
# {Wx::OwnerDrawnComboBox} is a combobox with owner-drawn list items.
|
711
760
|
# In essence, it is a {Wx::ComboCtrl} with {Wx::VListBox} popup and {Wx::ControlWithItems} interface.
|
712
761
|
# Implementing item drawing and measuring is similar to {Wx::VListBox}. Application needs to subclass {Wx::OwnerDrawnComboBox} and implement {Wx::OwnerDrawnComboBox#on_draw_item}, {Wx::OwnerDrawnComboBox#on_measure_item} and {Wx::OwnerDrawnComboBox#on_measure_item_width}.
|
713
|
-
#
|
762
|
+
# ### Styles
|
714
763
|
#
|
715
764
|
# This class supports the following styles:
|
716
765
|
#
|
@@ -718,18 +767,16 @@ module Wx
|
|
718
767
|
#
|
719
768
|
# - {Wx::ODCB_STD_CONTROL_PAINT}: Control itself is not custom painted using OnDrawItem. Even if this style is not used, writable {Wx::OwnerDrawnComboBox} is never custom painted unless {Wx::OwnerDrawnComboBox#set_custom_paint_width} is called.
|
720
769
|
#
|
721
|
-
#
|
770
|
+
# ### Events emitted by this class
|
722
771
|
#
|
723
772
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
|
724
773
|
# Event handler methods for events emitted by this class:
|
725
774
|
#
|
726
775
|
# - {Wx::EvtHandler#evt_combobox}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX} event, when an item on the list is selected. Note that calling {Wx::OwnerDrawnComboBox#get_value} returns the new value of selection.
|
727
776
|
#
|
728
|
-
#
|
729
|
-
#
|
730
|
-
#
|
731
|
-
# </td><td> wxGTK Appearance
|
732
|
-
# </td><td> wxOSX Appearance
|
777
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
778
|
+
# </td><td> WXGTK Appearance
|
779
|
+
# </td><td> WXOSX Appearance
|
733
780
|
# </td></tr></table></div>
|
734
781
|
# @see Wx::ComboCtrl window styles and Window Styles.
|
735
782
|
#
|
@@ -741,12 +788,18 @@ module Wx
|
|
741
788
|
# @see Wx::CommandEvent
|
742
789
|
#
|
743
790
|
#
|
791
|
+
# @wxrb_require USE_COMBOCTRL
|
744
792
|
class OwnerDrawnComboBox < ComboCtrl
|
745
793
|
|
746
|
-
# @overload create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
794
|
+
# @overload create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
747
795
|
# Creates the combobox for two-step construction.
|
748
796
|
# See {Wx::OwnerDrawnComboBox#initialize} for further details.
|
749
|
-
#
|
797
|
+
#
|
798
|
+
# <div class="wxrb-remark">
|
799
|
+
# <b>Remark:</b>
|
800
|
+
# <p>Derived classes should call or replace this function.
|
801
|
+
# </p>
|
802
|
+
# </div>>
|
750
803
|
# @param parent [Wx::Window]
|
751
804
|
# @param id [Integer]
|
752
805
|
# @param value [String]
|
@@ -756,10 +809,15 @@ module Wx
|
|
756
809
|
# @param validator [Wx::Validator]
|
757
810
|
# @param name [String]
|
758
811
|
# @return [Boolean]
|
759
|
-
# @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
812
|
+
# @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
760
813
|
# Creates the combobox for two-step construction.
|
761
814
|
# See {Wx::OwnerDrawnComboBox#initialize} for further details.
|
762
|
-
#
|
815
|
+
#
|
816
|
+
# <div class="wxrb-remark">
|
817
|
+
# <b>Remark:</b>
|
818
|
+
# <p>Derived classes should call or replace this function.
|
819
|
+
# </p>
|
820
|
+
# </div>>
|
763
821
|
# @param parent [Wx::Window]
|
764
822
|
# @param id [Integer]
|
765
823
|
# @param value [String]
|
@@ -775,7 +833,7 @@ module Wx
|
|
775
833
|
# @overload initialize()
|
776
834
|
# Default constructor.
|
777
835
|
# @return [Wx::OwnerDrawnComboBox]
|
778
|
-
# @overload initialize(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=("
|
836
|
+
# @overload initialize(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=("COMBO_BOX"))
|
779
837
|
# Constructor, creating and showing a owner-drawn combobox.
|
780
838
|
#
|
781
839
|
# @see Wx::OwnerDrawnComboBox#create
|
@@ -924,7 +982,12 @@ module Wx
|
|
924
982
|
|
925
983
|
# This method is used to draw the items background and, maybe, a border around it.
|
926
984
|
# The base class version implements a reasonable default behaviour which consists in drawing the selected item with the standard background colour and drawing a border around the item if it is either selected or current.
|
927
|
-
#
|
985
|
+
#
|
986
|
+
# <div class="wxrb-remark">
|
987
|
+
# <b>Remark:</b>
|
988
|
+
# <p>flags has the same meaning as with {Wx::OwnerDrawnComboBox#on_draw_item}.
|
989
|
+
# </p>
|
990
|
+
# </div>>
|
928
991
|
# @param dc [Wx::DC]
|
929
992
|
# @param rect [Wx::Rect]
|
930
993
|
# @param item [Integer]
|
@@ -13,23 +13,22 @@ module Wx
|
|
13
13
|
# {Wx::CommandLinkButton} generates the same event as {Wx::Button} but doesn't support any of {Wx::Button}-specific styles nor adds any new styles of its own.
|
14
14
|
# Currently this class uses native implementation under Windows Vista and later versions and a generic implementation for the other platforms and earlier Windows versions.
|
15
15
|
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
# </td><td> wxGTK Appearance
|
20
|
-
# </td><td> wxOSX Appearance
|
16
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
17
|
+
# </td><td> WXGTK Appearance
|
18
|
+
# </td><td> WXOSX Appearance
|
21
19
|
# </td></tr></table></div>
|
22
20
|
# @see Wx::Button
|
23
21
|
# @see Wx::BitmapButton
|
24
22
|
#
|
25
23
|
#
|
24
|
+
# @wxrb_require USE_BUTTON
|
26
25
|
class CommandLinkButton < Button
|
27
26
|
|
28
27
|
# @overload initialize()
|
29
28
|
# Default constructor.
|
30
29
|
# Use {Wx::CommandLinkButton#create} to really create the control.
|
31
30
|
# @return [Wx::CommandLinkButton]
|
32
|
-
# @overload initialize(parent, id, mainLabel=(''), note=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
31
|
+
# @overload initialize(parent, id, mainLabel=(''), note=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR)
|
33
32
|
# Constructor really creating a command Link button.
|
34
33
|
# The button will be decorated with stock icons under GTK+ 2.
|
35
34
|
# @see Wx::CommandLinkButton#create
|
@@ -58,7 +57,7 @@ module Wx
|
|
58
57
|
# @param validator [Wx::Validator]
|
59
58
|
# @param name [String]
|
60
59
|
# @return [Boolean]
|
61
|
-
def create(parent, id, mainLabel=(''), note=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
60
|
+
def create(parent, id, mainLabel=(''), note=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR) end
|
62
61
|
|
63
62
|
# Sets a new main label and note for the button.
|
64
63
|
# Neither of the arguments can be empty, if you need to change just the label or just the note, use {Wx::CommandLinkButton#set_main_label} or {Wx::CommandLinkButton#set_note} instead of this function.
|
@@ -9,17 +9,21 @@ module Wx
|
|
9
9
|
# Instances of this class may be used to add a question mark button that when pressed, puts the application into context-help mode.
|
10
10
|
# It does this by creating a {Wx::ContextHelp} object which itself generates a {Wx::EVT_HELP} event when the user clicks on a window.
|
11
11
|
# On Windows, you may add a question-mark icon to a dialog by use of the {Wx::DIALOG_EX_CONTEXTHELP} extra style, but on other platforms you will have to add a button explicitly, usually next to OK, Cancel or similar buttons.
|
12
|
-
# ===
|
13
12
|
#
|
14
13
|
# Category: {Wx::HELP}
|
15
14
|
# @see Wx::BitmapButton
|
16
15
|
# @see Wx::ContextHelp
|
17
16
|
#
|
18
17
|
#
|
18
|
+
# @wxrb_require USE_HELP
|
19
19
|
class ContextHelpButton < BitmapButton
|
20
20
|
|
21
21
|
# Constructor, creating and showing a context help button.
|
22
|
-
#
|
22
|
+
# <div class="wxrb-remark">
|
23
|
+
# <b>Remark:</b>
|
24
|
+
# <p>Normally you only need pass the parent window to the constructor, and use the defaults for the remaining parameters.
|
25
|
+
# </p>
|
26
|
+
# </div>>
|
23
27
|
# @param parent [Wx::Window] Parent window. Must not be NULL.
|
24
28
|
# @param id [Integer] Button identifier. Defaults to {Wx::StandardID::ID_CONTEXT_HELP}.
|
25
29
|
# @param pos [Array(Integer, Integer), Wx::Point] Button position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
|
@@ -48,7 +52,6 @@ module Wx
|
|
48
52
|
# - Create a {Wx::ContextHelpButton}, whose predefined behaviour is to create a context help object. Normally you will write your application so that this button is only added to a dialog for non-Windows platforms (use {Wx::DIALOG_EX_CONTEXTHELP} on Windows).
|
49
53
|
#
|
50
54
|
# Note that on macOS, the cursor does not change when in context-sensitive help mode.
|
51
|
-
# ===
|
52
55
|
#
|
53
56
|
# Category: {Wx::HELP}
|
54
57
|
# @see Wx::HelpEvent
|
@@ -56,6 +59,7 @@ module Wx
|
|
56
59
|
# @see Wx::ContextHelpButton
|
57
60
|
#
|
58
61
|
#
|
62
|
+
# @wxrb_require USE_HELP
|
59
63
|
class ContextHelp < Object
|
60
64
|
|
61
65
|
# Constructs a context help object, calling {Wx::ContextHelp#begin_context_help} if doNow is true (the default).
|
data/lib/wx/doc/gen/control.rb
CHANGED
@@ -8,7 +8,7 @@ module Wx
|
|
8
8
|
|
9
9
|
# This is the base class for a control or "widget".
|
10
10
|
# A control is generally a small window which processes user input and/or displays one or more item of data.
|
11
|
-
#
|
11
|
+
# ### Events emitted by this class
|
12
12
|
#
|
13
13
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::ClipboardTextEvent} events.
|
14
14
|
# Event handler methods for events emitted by this class:
|
@@ -19,15 +19,13 @@ module Wx
|
|
19
19
|
#
|
20
20
|
# - {Wx::EvtHandler#evt_text_paste}(id, meth = nil, &block): Clipboard content was pasted into the control.
|
21
21
|
#
|
22
|
-
# ===
|
23
|
-
#
|
24
22
|
# Category: {Wx::Controls}
|
25
23
|
# @see Wx::Validator
|
26
24
|
#
|
27
25
|
#
|
28
26
|
class Control < Window
|
29
27
|
|
30
|
-
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
28
|
+
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CONTROL_NAME_STR)
|
31
29
|
# Constructs a control.
|
32
30
|
# @param parent [Wx::Window] Pointer to a parent window.
|
33
31
|
# @param id [Integer] Control identifier. If {Wx::StandardID::ID_ANY}, will automatically create an identifier.
|
@@ -50,7 +48,7 @@ module Wx
|
|
50
48
|
# @param validator [Wx::Validator]
|
51
49
|
# @param name [String]
|
52
50
|
# @return [Boolean]
|
53
|
-
def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
51
|
+
def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CONTROL_NAME_STR) end
|
54
52
|
|
55
53
|
# Simulates the effect of the user issuing a command to the item.
|
56
54
|
#
|
@@ -86,7 +84,7 @@ module Wx
|
|
86
84
|
# postcode.get_text_extent("99999")))
|
87
85
|
# ```
|
88
86
|
#
|
89
|
-
# Currently this method is only implemented for {Wx::TextCtrl}, {Wx::ComboBox} and {Wx::Choice} in
|
87
|
+
# Currently this method is only implemented for {Wx::TextCtrl}, {Wx::ComboBox} and {Wx::Choice} in WXMSW and WXGTK.
|
90
88
|
#
|
91
89
|
# The size that the control should have to leave the area of the specified size for its text. May return {Wx::DEFAULT_SIZE} if this method is not implemented for this particular control under the current platform.
|
92
90
|
# @param xlen [Integer] The horizontal extent of the area to leave for text, in pixels.
|
@@ -138,7 +136,7 @@ module Wx
|
|
138
136
|
# "<span foreground='red'>breakfast</span> "+
|
139
137
|
# "available <big>HERE</big>")
|
140
138
|
# ```
|
141
|
-
# would show the string using bold, red and big for the corresponding words under
|
139
|
+
# would show the string using bold, red and big for the corresponding words under WXGTK but will simply show the string "Bed & breakfast
|
142
140
|
# available HERE" on the other platforms. In any case, the "B" of "Bed" will be underlined to indicate that it can be used as a mnemonic for this control.
|
143
141
|
# The supported tags are:
|
144
142
|
# <b>Tag</b>
|
@@ -214,14 +212,18 @@ module Wx
|
|
214
212
|
#
|
215
213
|
# true if the new label was set (even if markup in it was ignored) or false if we failed to parse the markup. In this case the label remains unchanged.
|
216
214
|
#
|
217
|
-
# Currently {Wx::Button} supports markup in all major ports (
|
218
|
-
# @param markup [String] String containing markup for the label. It may contain markup tags described above and newline characters but currently only
|
215
|
+
# Currently {Wx::Button} supports markup in all major ports (WXMSW, WXGTK and WXOSX/Cocoa) while {Wx::StaticText} supports it in WXGTK and WXOSX and its generic version (which can be used under MSW if markup support is required). Extending support to more controls is planned in the future.
|
216
|
+
# @param markup [String] String containing markup for the label. It may contain markup tags described above and newline characters but currently only WXGTK and WXOSX support multiline labels with markup, the generic implementation (also used in WXMSW) only handles single line markup labels. Notice that the string must be well-formed (e.g. all tags must be correctly closed) and won't be shown at all otherwise.
|
219
217
|
# @return [Boolean]
|
220
218
|
def set_label_markup(markup) end
|
221
219
|
alias_method :label_markup=, :set_label_markup
|
222
220
|
|
223
221
|
# Returns the given str string without mnemonics ("&" characters).
|
224
|
-
#
|
222
|
+
# <div class="wxrb-note">
|
223
|
+
# <b>Note:</b>
|
224
|
+
# <p>This function is identical to {Wx::Control#get_label_text} and is provided mostly for symmetry with {Wx::Control.escape_mnemonics}.
|
225
|
+
# </p>
|
226
|
+
# </div>
|
225
227
|
# @param str [String]
|
226
228
|
# @return [String]
|
227
229
|
def self.remove_mnemonics(str) end
|
data/lib/wx/doc/gen/core.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
module Wx
|
8
8
|
|
9
9
|
# wxRuby version string
|
10
|
-
Wx::WXRUBY_VERSION = '0.9.
|
10
|
+
Wx::WXRUBY_VERSION = '0.9.2'
|
11
11
|
|
12
12
|
# wxRuby version release type (alpha, beta, rc)
|
13
13
|
Wx::WXRUBY_RELEASE_TYPE = ''
|
@@ -16,10 +16,10 @@ module Wx
|
|
16
16
|
# wxRuby minor version number
|
17
17
|
Wx::WXRUBY_MINOR = 9
|
18
18
|
# wxRuby release number
|
19
|
-
Wx::WXRUBY_RELEASE =
|
19
|
+
Wx::WXRUBY_RELEASE = 2
|
20
20
|
|
21
21
|
# Convenience string for WxWidgets version info
|
22
|
-
WXWIDGETS_VERSION = '3.2.
|
22
|
+
WXWIDGETS_VERSION = '3.2.4'
|
23
23
|
|
24
24
|
# Integer constant reflecting the major version of the wxWidgets release used to build wxRuby
|
25
25
|
WXWIDGETS_MAJOR_VERSION = 3
|
@@ -28,7 +28,7 @@ module Wx
|
|
28
28
|
WXWIDGETS_MINOR_VERSION = 2
|
29
29
|
|
30
30
|
# Integer constant reflecting the release number of the wxWidgets release used to build wxRuby
|
31
|
-
WXWIDGETS_RELEASE_NUMBER =
|
31
|
+
WXWIDGETS_RELEASE_NUMBER = 4
|
32
32
|
|
33
33
|
# Integer constant reflecting the sub-release number of the wxWidgets release used to build wxRuby
|
34
34
|
WXWIDGETS_SUBRELEASE_NUMBER = 0
|