wxruby3 0.9.4-x64-mingw-ucrt → 0.9.7-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/.wxconfig +9 -8
- data/INSTALL.md +315 -78
- data/README.md +32 -21
- 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/core/combo_ctrl.rb +171 -0
- data/lib/wx/core/ext.rb +22 -3
- data/lib/wx/doc/comboctrl.rb +128 -3
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +1 -1
- data/lib/wx/doc/gen/accessible.rb +1 -1
- data/lib/wx/doc/gen/activity_indicator.rb +1 -1
- data/lib/wx/doc/gen/animation.rb +1 -1
- data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +1 -1
- data/lib/wx/doc/gen/app_traits.rb +3 -55
- data/lib/wx/doc/gen/art_provider.rb +1 -3
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
- data/lib/wx/doc/gen/aui/aui_manager.rb +352 -349
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -37
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
- data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +1 -1
- data/lib/wx/doc/gen/bitmap_button.rb +1 -1
- data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +1 -1
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +1 -1
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +1 -1
- data/lib/wx/doc/gen/caret.rb +1 -1
- data/lib/wx/doc/gen/check_box.rb +1 -1
- data/lib/wx/doc/gen/check_list_box.rb +1 -1
- data/lib/wx/doc/gen/choice.rb +1 -1
- data/lib/wx/doc/gen/choicebook.rb +1 -1
- data/lib/wx/doc/gen/client_dc.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
- data/lib/wx/doc/gen/colour.rb +1 -2
- data/lib/wx/doc/gen/colour_dialog.rb +2 -2
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
- data/lib/wx/doc/gen/combo_box.rb +4 -3
- data/lib/wx/doc/gen/combo_ctrl.rb +92 -228
- data/lib/wx/doc/gen/command_link_button.rb +1 -1
- data/lib/wx/doc/gen/config_base.rb +1 -1
- data/lib/wx/doc/gen/context_help_button.rb +1 -1
- data/lib/wx/doc/gen/control.rb +1 -1
- data/lib/wx/doc/gen/control_with_items.rb +1 -1
- data/lib/wx/doc/gen/core.rb +5 -5
- data/lib/wx/doc/gen/cursor.rb +1 -1
- data/lib/wx/doc/gen/data_format.rb +1 -1
- data/lib/wx/doc/gen/data_object.rb +1 -1
- data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
- data/lib/wx/doc/gen/date_event.rb +1 -1
- data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dc.rb +1 -4
- data/lib/wx/doc/gen/defs.rb +1 -1
- data/lib/wx/doc/gen/dial_up_event.rb +1 -1
- data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
- data/lib/wx/doc/gen/dialog.rb +1 -2
- data/lib/wx/doc/gen/dir_dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/drag_drop.rb +1 -1
- data/lib/wx/doc/gen/drag_image.rb +1 -1
- data/lib/wx/doc/gen/editable_list_box.rb +1 -1
- data/lib/wx/doc/gen/event.rb +1 -1
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_filter.rb +1 -1
- data/lib/wx/doc/gen/events.rb +3 -25
- data/lib/wx/doc/gen/evt_handler.rb +1 -1
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/file_dialog.rb +1 -3
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +54 -62
- data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_system.rb +2 -59
- data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
- 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 +1 -1
- data/lib/wx/doc/gen/font.rb +1 -1
- data/lib/wx/doc/gen/font_data.rb +1 -1
- data/lib/wx/doc/gen/font_dialog.rb +1 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/font_picker_event.rb +1 -1
- data/lib/wx/doc/gen/frame.rb +1 -2
- data/lib/wx/doc/gen/fs_file.rb +1 -1
- data/lib/wx/doc/gen/functions.rb +1 -1
- data/lib/wx/doc/gen/gauge.rb +1 -1
- data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -1
- data/lib/wx/doc/gen/gdi_common.rb +3 -3
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
- data/lib/wx/doc/gen/graphics_context.rb +1 -1
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +2716 -2724
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
- data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
- data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
- data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
- data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
- data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
- data/lib/wx/doc/gen/grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl.rb +1 -2
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/help_controller.rb +1 -1
- data/lib/wx/doc/gen/help_provider.rb +1 -1
- data/lib/wx/doc/gen/html/html_cell.rb +515 -511
- data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
- data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
- data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
- data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
- data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
- data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
- data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
- data/lib/wx/doc/gen/html/html_printout.rb +94 -90
- data/lib/wx/doc/gen/html/html_window.rb +406 -402
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
- data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
- data/lib/wx/doc/gen/icon.rb +1 -1
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +1 -3
- data/lib/wx/doc/gen/image_list.rb +1 -1
- data/lib/wx/doc/gen/info_bar.rb +1 -1
- data/lib/wx/doc/gen/keyboard_state.rb +1 -1
- data/lib/wx/doc/gen/list_box.rb +1 -1
- data/lib/wx/doc/gen/list_ctrl.rb +1 -2
- data/lib/wx/doc/gen/list_event.rb +1 -1
- data/lib/wx/doc/gen/listbook.rb +1 -1
- data/lib/wx/doc/gen/locale.rb +1 -1
- data/lib/wx/doc/gen/log.rb +1 -1
- data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/mdi_frame.rb +1 -1
- data/lib/wx/doc/gen/media_ctrl.rb +1 -7
- data/lib/wx/doc/gen/media_event.rb +1 -1
- data/lib/wx/doc/gen/memory_dc.rb +1 -1
- data/lib/wx/doc/gen/menu.rb +1 -3
- data/lib/wx/doc/gen/menu_bar.rb +1 -1
- data/lib/wx/doc/gen/menu_item.rb +1 -1
- data/lib/wx/doc/gen/message_dialog.rb +1 -1
- data/lib/wx/doc/gen/mini_frame.rb +1 -1
- data/lib/wx/doc/gen/mirror_dc.rb +1 -1
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +1 -2
- data/lib/wx/doc/gen/num_validator.rb +1 -1
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +1 -1
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
- data/lib/wx/doc/gen/paint_dc.rb +1 -1
- data/lib/wx/doc/gen/palette.rb +1 -1
- data/lib/wx/doc/gen/panel.rb +1 -1
- data/lib/wx/doc/gen/pen.rb +1 -1
- data/lib/wx/doc/gen/persistence_manager.rb +1 -1
- data/lib/wx/doc/gen/persistent_object.rb +1 -1
- data/lib/wx/doc/gen/persistent_window.rb +1 -1
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
- data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
- data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
- data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
- data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1938
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -273
- data/lib/wx/doc/gen/pg/property_grid.rb +708 -706
- data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -384
- data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -265
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -144
- data/lib/wx/doc/gen/picker_base.rb +1 -1
- data/lib/wx/doc/gen/platform_info.rb +1 -1
- data/lib/wx/doc/gen/popup_window.rb +1 -1
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
- data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -18
- data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
- data/lib/wx/doc/gen/prt/print_data.rb +637 -633
- data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
- data/lib/wx/doc/gen/prt/printer.rb +484 -480
- data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
- data/lib/wx/doc/gen/radio_box.rb +1 -1
- data/lib/wx/doc/gen/radio_button.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
- data/lib/wx/doc/gen/rearrange_list.rb +1 -1
- data/lib/wx/doc/gen/region.rb +1 -1
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -85
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -279
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -44
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
- data/lib/wx/doc/gen/sash_event.rb +1 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
- data/lib/wx/doc/gen/sash_window.rb +1 -1
- data/lib/wx/doc/gen/scaled_dc.rb +1 -1
- data/lib/wx/doc/gen/screen_dc.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +1 -2
- data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
- data/lib/wx/doc/gen/scrolled_control.rb +1 -1
- data/lib/wx/doc/gen/scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/search_ctrl.rb +1 -1
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/sizer.rb +1 -2
- data/lib/wx/doc/gen/sizer_item.rb +1 -1
- data/lib/wx/doc/gen/slider.rb +1 -2
- data/lib/wx/doc/gen/spin_button.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
- data/lib/wx/doc/gen/spin_double_event.rb +1 -1
- data/lib/wx/doc/gen/spin_event.rb +1 -1
- data/lib/wx/doc/gen/splash_screen.rb +2 -2
- data/lib/wx/doc/gen/splitter_event.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +1 -1
- data/lib/wx/doc/gen/static_bitmap.rb +1 -1
- data/lib/wx/doc/gen/static_box.rb +1 -1
- data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
- data/lib/wx/doc/gen/static_line.rb +1 -1
- data/lib/wx/doc/gen/static_text.rb +1 -1
- data/lib/wx/doc/gen/status_bar.rb +1 -1
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4199
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7508
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
- data/lib/wx/doc/gen/system_options.rb +1 -1
- data/lib/wx/doc/gen/system_settings.rb +1 -1
- data/lib/wx/doc/gen/task_bar_button.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon.rb +1 -2
- data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
- data/lib/wx/doc/gen/text_attr.rb +1 -1
- data/lib/wx/doc/gen/text_ctrl.rb +1 -6
- data/lib/wx/doc/gen/text_entry.rb +1 -1
- data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/text_validator.rb +1 -1
- data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/timer.rb +1 -1
- data/lib/wx/doc/gen/timer_event.rb +1 -1
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +1 -1
- data/lib/wx/doc/gen/tool_bar.rb +1 -1
- data/lib/wx/doc/gen/tool_tip.rb +1 -1
- data/lib/wx/doc/gen/toolbook.rb +1 -1
- data/lib/wx/doc/gen/top_level_window.rb +1 -1
- data/lib/wx/doc/gen/tree_ctrl.rb +1 -3
- data/lib/wx/doc/gen/tree_event.rb +1 -1
- data/lib/wx/doc/gen/treebook.rb +1 -1
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +1 -1
- data/lib/wx/doc/gen/v_list_box.rb +1 -1
- data/lib/wx/doc/gen/v_scrolled_window.rb +1 -2
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -1
- data/lib/wx/doc/gen/window.rb +1 -1
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/window_disabler.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +1 -2
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/wizard_page.rb +1 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
- data/lib/wx/doc/gen/xml_node.rb +1 -1
- data/lib/wx/doc/gen/xml_resource.rb +1 -1
- data/lib/wx/doc/owner_drawn_combobox.rb +5 -1
- data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/base.rb +6 -4
- data/lib/wx/wxruby/cmd/sampler.rb +39 -29
- data/lib/wx/wxruby/cmd/setup.rb +122 -0
- data/lib/wx/wxruby/cmd/test.rb +56 -6
- 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/install.rb +2 -0
- data/rakelib/lib/config/linux.rb +24 -2
- data/rakelib/lib/config/macosx.rb +16 -0
- data/rakelib/lib/config/mingw.rb +133 -9
- data/rakelib/lib/config/pkgman/arch.rb +53 -0
- data/rakelib/lib/config/pkgman/base.rb +169 -0
- data/rakelib/lib/config/pkgman/debian.rb +66 -0
- data/rakelib/lib/config/pkgman/macosx.rb +183 -0
- data/rakelib/lib/config/pkgman/rhel.rb +54 -0
- data/rakelib/lib/config/pkgman/suse.rb +54 -0
- data/rakelib/lib/config/unixish.rb +36 -19
- data/rakelib/lib/config.rb +254 -61
- data/rakelib/prepost.rake +9 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
- data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
- data/tests/test_combo_ctrl.rb +196 -0
- metadata +25 -4
@@ -0,0 +1,171 @@
|
|
1
|
+
# Copyright (c) 2023 M.J.N. Corino, The Netherlands
|
2
|
+
#
|
3
|
+
# This software is released under the MIT license.
|
4
|
+
|
5
|
+
|
6
|
+
module Wx
|
7
|
+
|
8
|
+
module ComboPopup
|
9
|
+
|
10
|
+
def self.included(mod)
|
11
|
+
unless mod == Wx::ComboPopupWx
|
12
|
+
mod.class_eval { include Wx::ComboPopup::Methods }
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
module Methods
|
17
|
+
# Returns pointer to the associated parent {Wx::ComboCtrl}.
|
18
|
+
# @return [Wx::ComboCtrl]
|
19
|
+
# def get_combo_ctrl; end
|
20
|
+
|
21
|
+
# The including class must implement this to initialize its internal variables.
|
22
|
+
#
|
23
|
+
# This method is called immediately after construction finishes. m_combo member variable has been initialized before the call.
|
24
|
+
# @return [void]
|
25
|
+
def init
|
26
|
+
end
|
27
|
+
|
28
|
+
# The including 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.
|
29
|
+
#
|
30
|
+
# It is more efficient, but on the other hand it is often more convenient to have the control created immediately.
|
31
|
+
#
|
32
|
+
# <div class="wxrb-remark">
|
33
|
+
# <b>Remark:</b>
|
34
|
+
# <p>Base implementation returns false.
|
35
|
+
# </p>
|
36
|
+
# </div>
|
37
|
+
# @return [Boolean]
|
38
|
+
def lazy_create
|
39
|
+
false
|
40
|
+
end
|
41
|
+
|
42
|
+
# The including class must implement this to create the popup control.
|
43
|
+
#
|
44
|
+
# true if the call succeeded, false otherwise.
|
45
|
+
# @param parent [Wx::Window]
|
46
|
+
# @return [Boolean]
|
47
|
+
def create(parent)
|
48
|
+
false
|
49
|
+
end
|
50
|
+
|
51
|
+
# You only need to implement this member function if you create your popup class in non-standard way.
|
52
|
+
#
|
53
|
+
# The default implementation can handle both multiple-inherited popup control (as seen in {Wx::ComboCtrl} samples) and one allocated separately in heap.
|
54
|
+
# If you do completely re-implement this function, make sure it calls Destroy() for the popup control and also deletes this object (usually as the last thing).
|
55
|
+
# @return [void]
|
56
|
+
def destroy_popup
|
57
|
+
end
|
58
|
+
|
59
|
+
# Implement to customize matching of value string to an item container entry.
|
60
|
+
#
|
61
|
+
# <div class="wxrb-remark">
|
62
|
+
# <b>Remark:</b>
|
63
|
+
# <p>Default implementation always return true and does not alter trueItem.
|
64
|
+
# </p>
|
65
|
+
# </div>
|
66
|
+
# @param item [String] String entered, usually by user or from SetValue() call.
|
67
|
+
# @param trueItem [Boolean] if true the true item string should be returned in case matching but different
|
68
|
+
# @return [Boolean, String] Returns true if a match is found or false if not. If trueItem == true and 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 returned as the match result.
|
69
|
+
def find_item(item, trueItem=false)
|
70
|
+
true
|
71
|
+
end
|
72
|
+
|
73
|
+
# The including class may implement this to return adjusted size for the popup control, according to the variables given.
|
74
|
+
#
|
75
|
+
# <div class="wxrb-remark">
|
76
|
+
# <b>Remark:</b>
|
77
|
+
# <p>This function is called each time popup is about to be shown.
|
78
|
+
# </p>
|
79
|
+
# </div>
|
80
|
+
# @param minWidth [Integer] Preferred minimum width.
|
81
|
+
# @param prefHeight [Integer] Preferred height. May be -1 to indicate no preference.
|
82
|
+
# @param maxHeight [Integer] Max height for window, as limited by screen size.
|
83
|
+
# @return [Wx::Size]
|
84
|
+
def get_adjusted_size(minWidth, prefHeight, maxHeight)
|
85
|
+
Wx::Size.new(minWidth, prefHeight)
|
86
|
+
end
|
87
|
+
|
88
|
+
# The including class must implement this to return pointer to the associated control created in {Wx::ComboPopup#create}.
|
89
|
+
# @return [Wx::Window]
|
90
|
+
def get_control
|
91
|
+
end
|
92
|
+
|
93
|
+
# The including class must implement this to receive string value changes from {Wx::ComboCtrl}.
|
94
|
+
# @param value [String]
|
95
|
+
# @return [void]
|
96
|
+
def set_string_value(value)
|
97
|
+
end
|
98
|
+
|
99
|
+
# The including class must implement this to return string representation of the value.
|
100
|
+
# @return [String]
|
101
|
+
def get_string_value
|
102
|
+
nil
|
103
|
+
end
|
104
|
+
|
105
|
+
# The including class may implement this to do something when the parent {Wx::ComboCtrl} gets double-clicked.
|
106
|
+
# @return [void]
|
107
|
+
def on_combo_double_click
|
108
|
+
end
|
109
|
+
|
110
|
+
# The including class may implement this to receive key down events from the parent {Wx::ComboCtrl}.
|
111
|
+
#
|
112
|
+
# Events not handled should be skipped, as usual.
|
113
|
+
# @param event [Wx::KeyEvent]
|
114
|
+
# @return [void]
|
115
|
+
def on_combo_key_event(event)
|
116
|
+
event.skip
|
117
|
+
end
|
118
|
+
|
119
|
+
# The including class may implement this to receive char events from the parent {Wx::ComboCtrl}.
|
120
|
+
#
|
121
|
+
# Events not handled should be skipped, as usual.
|
122
|
+
# @param event [Wx::KeyEvent]
|
123
|
+
# @return [void]
|
124
|
+
def on_combo_char_event(event)
|
125
|
+
event.skip
|
126
|
+
end
|
127
|
+
|
128
|
+
# The including class may implement this to do special processing when popup is hidden.
|
129
|
+
# @return [void]
|
130
|
+
def on_dismiss
|
131
|
+
end
|
132
|
+
|
133
|
+
# The including class may implement this to do special processing when popup is shown.
|
134
|
+
# @return [void]
|
135
|
+
def on_popup
|
136
|
+
end
|
137
|
+
|
138
|
+
# The including class may implement this to paint the parent {Wx::ComboCtrl}.
|
139
|
+
# This is called to custom paint in the combo control itself (ie. not the popup).
|
140
|
+
#
|
141
|
+
# Default implementation draws value as string.
|
142
|
+
# @param dc [Wx::DC]
|
143
|
+
# @param rect [Wx::Rect]
|
144
|
+
# @return [void]
|
145
|
+
def paint_combo_control(dc, rect)
|
146
|
+
combo = get_combo_ctrl
|
147
|
+
if combo.get_window_style.allbits?(Wx::CB_READONLY) # ie. no textctrl
|
148
|
+
combo.prepare_background(dc, rect,0)
|
149
|
+
|
150
|
+
dc.draw_text(combo.get_value,
|
151
|
+
rect.x + combo.get_margin_left,
|
152
|
+
(rect.height-dc.get_char_height)/2 + rect.y)
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
end
|
157
|
+
|
158
|
+
end
|
159
|
+
|
160
|
+
class ComboPopupWx
|
161
|
+
|
162
|
+
include ComboPopup
|
163
|
+
|
164
|
+
# this method has not been wrapped as a default popup control will always already have been
|
165
|
+
# initialized before returned from #get_combo_control
|
166
|
+
# just do nothing here (or should we raise an exception?)
|
167
|
+
def init; end
|
168
|
+
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|
data/lib/wx/core/ext.rb
CHANGED
@@ -28,18 +28,37 @@ module Wx
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
|
+
class Value
|
32
|
+
def initialize(code, block)
|
33
|
+
@code = code
|
34
|
+
@block = block
|
35
|
+
end
|
36
|
+
|
37
|
+
def value
|
38
|
+
@block ? @block.call : Kernel.eval(@code || 'nil')
|
39
|
+
end
|
40
|
+
|
41
|
+
def to_s
|
42
|
+
@code || ''
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
31
46
|
def delayed_constants
|
32
47
|
@delayed_constants ||= ::Hash.new
|
33
48
|
end
|
34
49
|
|
35
50
|
public
|
36
51
|
|
37
|
-
def add_delayed_constant(mod, sym, &block)
|
38
|
-
delayed_constants[Key.new(mod,sym)] = block
|
52
|
+
def add_delayed_constant(mod, sym, code='', &block)
|
53
|
+
delayed_constants[Key.new(mod,sym)] = Value.new(code, block)
|
54
|
+
end
|
55
|
+
|
56
|
+
def delayed_constants_for(mod)
|
57
|
+
delayed_constants.select { |k,v| k.mod == mod }
|
39
58
|
end
|
40
59
|
|
41
60
|
def load_delayed_constants
|
42
|
-
delayed_constants.each_pair { |key,
|
61
|
+
delayed_constants.each_pair { |key, val| key.mod.const_set(key.sym, val.value) }
|
43
62
|
delayed_constants.clear # cleanup
|
44
63
|
end
|
45
64
|
|
data/lib/wx/doc/comboctrl.rb
CHANGED
@@ -7,11 +7,136 @@
|
|
7
7
|
|
8
8
|
module Wx
|
9
9
|
|
10
|
-
class
|
10
|
+
# In order to use a custom popup with {Wx::ComboCtrl}, a class must include {Wx::ComboPopup}.
|
11
|
+
#
|
12
|
+
# For more information on how to use it, see {Wx::ComboCtrl Setting Custom Popup for Wx::ComboCtrl}.
|
13
|
+
module ComboPopup
|
11
14
|
|
12
|
-
|
15
|
+
# Returns pointer to the associated parent {Wx::ComboCtrl}.
|
16
|
+
# @return [Wx::ComboCtrl]
|
17
|
+
def get_combo_ctrl; end
|
13
18
|
|
14
|
-
|
19
|
+
# The including class must implement this to initialize its internal variables.
|
20
|
+
#
|
21
|
+
# This method is called immediately after construction finishes. m_combo member variable has been initialized before the call.
|
22
|
+
# @return [void]
|
23
|
+
def init; end
|
24
|
+
|
25
|
+
# The including 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.
|
26
|
+
#
|
27
|
+
# It is more efficient, but on the other hand it is often more convenient to have the control created immediately.
|
28
|
+
#
|
29
|
+
# <div class="wxrb-remark">
|
30
|
+
# <b>Remark:</b>
|
31
|
+
# <p>Base implementation returns false.
|
32
|
+
# </p>
|
33
|
+
# </div>
|
34
|
+
# @return [Boolean]
|
35
|
+
def lazy_create; end
|
36
|
+
|
37
|
+
# The including class must implement this to create the popup control.
|
38
|
+
#
|
39
|
+
# true if the call succeeded, false otherwise.
|
40
|
+
# @param parent [Wx::Window]
|
41
|
+
# @return [Boolean]
|
42
|
+
def create(parent) end
|
43
|
+
|
44
|
+
# You only need to implement this member function if you create your popup class in non-standard way.
|
45
|
+
#
|
46
|
+
# The default implementation can handle both multiple-inherited popup control (as seen in {Wx::ComboCtrl} samples) and one allocated separately in heap.
|
47
|
+
# If you do completely re-implement this function, make sure it calls Destroy() for the popup control and also deletes this object (usually as the last thing).
|
48
|
+
# @return [void]
|
49
|
+
def destroy_popup; end
|
50
|
+
|
51
|
+
# Implement to customize matching of value string to an item container entry.
|
52
|
+
#
|
53
|
+
# <div class="wxrb-remark">
|
54
|
+
# <b>Remark:</b>
|
55
|
+
# <p>Default implementation always return true and does not alter trueItem.
|
56
|
+
# </p>
|
57
|
+
# </div>
|
58
|
+
# @param item [String] String entered, usually by user or from SetValue() call.
|
59
|
+
# @param trueItem [Boolean] if true the true item string should be returned in case matching but different
|
60
|
+
# @return [Boolean, String] Returns true if a match is found or false if not. If trueItem == true and 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 returned as the match result.
|
61
|
+
def find_item(item, trueItem=false) end
|
62
|
+
|
63
|
+
# The including class may implement this to return adjusted size for the popup control, according to the variables given.
|
64
|
+
#
|
65
|
+
# <div class="wxrb-remark">
|
66
|
+
# <b>Remark:</b>
|
67
|
+
# <p>This function is called each time popup is about to be shown.
|
68
|
+
# </p>
|
69
|
+
# </div>
|
70
|
+
# @param minWidth [Integer] Preferred minimum width.
|
71
|
+
# @param prefHeight [Integer] Preferred height. May be -1 to indicate no preference.
|
72
|
+
# @param maxHeight [Integer] Max height for window, as limited by screen size.
|
73
|
+
# @return [Wx::Size]
|
74
|
+
def get_adjusted_size(minWidth, prefHeight, maxHeight) end
|
75
|
+
|
76
|
+
# The including class must implement this to return pointer to the associated control created in {Wx::ComboPopup#create}.
|
77
|
+
# @return [Wx::Window]
|
78
|
+
def get_control; end
|
79
|
+
|
80
|
+
# The including class must implement this to receive string value changes from {Wx::ComboCtrl}.
|
81
|
+
# @param value [String]
|
82
|
+
# @return [void]
|
83
|
+
def set_string_value(value) end
|
84
|
+
|
85
|
+
# The including class must implement this to return string representation of the value.
|
86
|
+
# @return [String]
|
87
|
+
def get_string_value; end
|
88
|
+
|
89
|
+
# The including class may implement this to do something when the parent {Wx::ComboCtrl} gets double-clicked.
|
90
|
+
# @return [void]
|
91
|
+
def on_combo_double_click; end
|
92
|
+
|
93
|
+
# The including class may implement this to receive key down events from the parent {Wx::ComboCtrl}.
|
94
|
+
#
|
95
|
+
# Events not handled should be skipped, as usual.
|
96
|
+
# @param event [Wx::KeyEvent]
|
97
|
+
# @return [void]
|
98
|
+
def on_combo_key_event(event) end
|
99
|
+
|
100
|
+
# The including class may implement this to receive char events from the parent {Wx::ComboCtrl}.
|
101
|
+
#
|
102
|
+
# Events not handled should be skipped, as usual.
|
103
|
+
# @param event [Wx::KeyEvent]
|
104
|
+
# @return [void]
|
105
|
+
def on_combo_char_event(event) end
|
106
|
+
|
107
|
+
# The including class may implement this to do special processing when popup is hidden.
|
108
|
+
# @return [void]
|
109
|
+
def on_dismiss; end
|
110
|
+
|
111
|
+
# The including class may implement this to do special processing when popup is shown.
|
112
|
+
# @return [void]
|
113
|
+
def on_popup; end
|
114
|
+
|
115
|
+
# The including class may implement this to paint the parent {Wx::ComboCtrl}.
|
116
|
+
# This is called to custom paint in the combo control itself (ie. not the popup).
|
117
|
+
#
|
118
|
+
# Default implementation draws value as string.
|
119
|
+
# @param dc [Wx::DC]
|
120
|
+
# @param rect [Wx::Rect]
|
121
|
+
# @return [void]
|
122
|
+
def paint_combo_control(dc, rect) end
|
123
|
+
|
124
|
+
end
|
125
|
+
|
126
|
+
# A Ruby interface class for default comboctrl popup classes used by {Wx::OwnerDrawnComboBox} and
|
127
|
+
# {Wx::RichTextStyleListBox}.
|
128
|
+
#
|
129
|
+
# If no custom popup control has been installed with {Wx::ComboCtrl#SetPopupControl} an instance of this
|
130
|
+
# class will be returned when {Wx::ComboCtrl#GetPopupControl} is called for either of the widgets mentioned
|
131
|
+
# above.
|
132
|
+
# <div class="wxrb-remark">
|
133
|
+
# <b>Remark:</b>
|
134
|
+
# <p>This is an abstract class that cannot be derived from.
|
135
|
+
# </p>
|
136
|
+
# </div>
|
137
|
+
class ComboPopupWx
|
138
|
+
|
139
|
+
include ComboPopup
|
15
140
|
|
16
141
|
end
|
17
142
|
|
data/lib/wx/doc/gen/animation.rb
CHANGED
data/lib/wx/doc/gen/app.rb
CHANGED
@@ -107,14 +107,6 @@ module Wx
|
|
107
107
|
#
|
108
108
|
class ResourceCat < Wx::Enum
|
109
109
|
|
110
|
-
# No special category, this is the default.
|
111
|
-
#
|
112
|
-
ResourceCat_None = Wx::StandardPaths::ResourceCat.new(0)
|
113
|
-
|
114
|
-
# Message catalog resources category.
|
115
|
-
#
|
116
|
-
ResourceCat_Messages = Wx::StandardPaths::ResourceCat.new(1)
|
117
|
-
|
118
110
|
end # ResourceCat
|
119
111
|
|
120
112
|
# Possible values for userDir parameter of {Wx::StandardPaths#get_user_dir}.
|
@@ -123,34 +115,6 @@ module Wx
|
|
123
115
|
#
|
124
116
|
class Dir < Wx::Enum
|
125
117
|
|
126
|
-
# Directory for caching files.
|
127
|
-
#
|
128
|
-
Dir_Cache = Wx::StandardPaths::Dir.new(0)
|
129
|
-
|
130
|
-
# Directory containing user documents.
|
131
|
-
#
|
132
|
-
Dir_Documents = Wx::StandardPaths::Dir.new(1)
|
133
|
-
|
134
|
-
# Directory containing files on the users desktop.
|
135
|
-
#
|
136
|
-
Dir_Desktop = Wx::StandardPaths::Dir.new(2)
|
137
|
-
|
138
|
-
# Directory for downloaded files.
|
139
|
-
#
|
140
|
-
Dir_Downloads = Wx::StandardPaths::Dir.new(3)
|
141
|
-
|
142
|
-
# Directory containing music files.
|
143
|
-
#
|
144
|
-
Dir_Music = Wx::StandardPaths::Dir.new(4)
|
145
|
-
|
146
|
-
# Directory containing picture files.
|
147
|
-
#
|
148
|
-
Dir_Pictures = Wx::StandardPaths::Dir.new(5)
|
149
|
-
|
150
|
-
# Directory containing video files.
|
151
|
-
#
|
152
|
-
Dir_Videos = Wx::StandardPaths::Dir.new(6)
|
153
|
-
|
154
118
|
end # Dir
|
155
119
|
|
156
120
|
# Possible values for {Wx::StandardPaths#set_file_layout} argument.
|
@@ -159,14 +123,6 @@ module Wx
|
|
159
123
|
#
|
160
124
|
class FileLayout < Wx::Enum
|
161
125
|
|
162
|
-
# Use the classic file layout.
|
163
|
-
#
|
164
|
-
FileLayout_Classic = Wx::StandardPaths::FileLayout.new(0)
|
165
|
-
|
166
|
-
# Use a XDG styled file layout.
|
167
|
-
#
|
168
|
-
FileLayout_XDG = Wx::StandardPaths::FileLayout.new(1)
|
169
|
-
|
170
126
|
end # FileLayout
|
171
127
|
|
172
128
|
# Possible values for {Wx::StandardPaths#make_config_file_name} naming convention argument.
|
@@ -175,14 +131,6 @@ module Wx
|
|
175
131
|
#
|
176
132
|
class ConfigFileConv < Wx::Enum
|
177
133
|
|
178
|
-
# Use the class Unix dot-file convention.
|
179
|
-
#
|
180
|
-
ConfigFileConv_Dot = Wx::StandardPaths::ConfigFileConv.new(0)
|
181
|
-
|
182
|
-
# Use <code></code>.conf extension for the file names.
|
183
|
-
#
|
184
|
-
ConfigFileConv_Ext = Wx::StandardPaths::ConfigFileConv.new(1)
|
185
|
-
|
186
134
|
end # ConfigFileConv
|
187
135
|
|
188
136
|
# MSW-specific function undoing the effect of {Wx::StandardPaths#ignore_app_sub_dir} calls.
|
@@ -269,7 +217,7 @@ module Wx
|
|
269
217
|
# @param lang [String]
|
270
218
|
# @param category [Wx::StandardPaths::ResourceCat]
|
271
219
|
# @return [String]
|
272
|
-
def get_localized_resources_dir(lang, category=
|
220
|
+
def get_localized_resources_dir(lang, category=RESOURCE_CAT_NONE) end
|
273
221
|
alias_method :localized_resources_dir, :get_localized_resources_dir
|
274
222
|
|
275
223
|
# Return the directory where the loadable modules (plugins) live.
|
@@ -404,7 +352,7 @@ module Wx
|
|
404
352
|
# @param basename [String]
|
405
353
|
# @param conv [Wx::StandardPaths::ConfigFileConv]
|
406
354
|
# @return [String]
|
407
|
-
def make_config_file_name(basename, conv=
|
355
|
+
def make_config_file_name(basename, conv=CONFIG_FILE_CONV_EXT) end
|
408
356
|
|
409
357
|
# Returns reference to the unique global standard paths object.
|
410
358
|
# @return [Wx::StandardPaths]
|
@@ -428,4 +376,4 @@ module Wx
|
|
428
376
|
end # StandardPaths
|
429
377
|
|
430
378
|
|
431
|
-
end
|
379
|
+
end
|
@@ -289,7 +289,6 @@ module Wx
|
|
289
289
|
# There's another way of taking advantage of this class: you can use it in your code and use platform native icons as provided by {Wx::ArtProvider.get_bitmap_bundle} or {Wx::ArtProvider.get_icon}.
|
290
290
|
#
|
291
291
|
# ## Identifying art resources
|
292
|
-
#
|
293
292
|
# Every bitmap and icon bundle are known to {Wx::ArtProvider} under a unique ID that is used when requesting a resource from it. The ID is represented by the {Wx::ArtID} type and can have one of these predefined values (you can see bitmaps represented by these constants in the Art Provider Sample):
|
294
293
|
#
|
295
294
|
# - {Wx::ART_ERROR}
|
@@ -417,7 +416,6 @@ module Wx
|
|
417
416
|
# </div>
|
418
417
|
#
|
419
418
|
# ## Clients
|
420
|
-
#
|
421
419
|
# The client is the entity that calls {Wx::ArtProvider}'s {Wx::ArtProvider.get_bitmap} or {Wx::ArtProvider.get_icon} function. It is represented by {Wx::ClientID} type and can have one of these values:
|
422
420
|
#
|
423
421
|
# - {Wx::ART_TOOLBAR}
|
@@ -604,4 +602,4 @@ module Wx
|
|
604
602
|
end # ArtProvider
|
605
603
|
|
606
604
|
|
607
|
-
end
|
605
|
+
end
|