wxruby3 0.9.1-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.
Files changed (455) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/ext/wxbase32u_gcc_custom.dll +0 -0
  4. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  5. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  6. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  7. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  18. data/lib/wx/aui/aui_tab_ctrl.rb +18 -0
  19. data/lib/wx/aui/auinotebook.rb +6 -2
  20. data/lib/wx/aui/require.rb +1 -0
  21. data/lib/wx/core/app.rb +2 -2
  22. data/lib/wx/core/collapsible_pane.rb +1 -1
  23. data/lib/wx/core/controlwithitems.rb +8 -6
  24. data/lib/wx/core/menu.rb +10 -0
  25. data/lib/wx/core/notebook.rb +6 -2
  26. data/lib/wx/core/sizer.rb +11 -0
  27. data/lib/wx/core/task_bar_button.rb +19 -0
  28. data/lib/wx/core/textctrl.rb +11 -1
  29. data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
  30. data/lib/wx/core/window.rb +10 -0
  31. data/lib/wx/doc/app.rb +48 -38
  32. data/lib/wx/doc/art_locator.rb +47 -43
  33. data/lib/wx/doc/aui/auimanager.rb +16 -8
  34. data/lib/wx/doc/aui/auinotebook.rb +20 -5
  35. data/lib/wx/doc/clipboard.rb +11 -7
  36. data/lib/wx/doc/colour_dialog.rb +14 -10
  37. data/lib/wx/doc/controlwithitems.rb +17 -7
  38. data/lib/wx/doc/data_object.rb +2 -2
  39. data/lib/wx/doc/evthandler.rb +113 -108
  40. data/lib/wx/doc/font.rb +1 -0
  41. data/lib/wx/doc/gc_dc.rb +6 -1
  42. data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
  43. data/lib/wx/doc/gen/accelerator.rb +14 -5
  44. data/lib/wx/doc/gen/accessible.rb +35 -47
  45. data/lib/wx/doc/gen/activity_indicator.rb +4 -5
  46. data/lib/wx/doc/gen/animation.rb +7 -3
  47. data/lib/wx/doc/gen/animation_ctrl.rb +6 -7
  48. data/lib/wx/doc/gen/any_button.rb +6 -1
  49. data/lib/wx/doc/gen/app.rb +7 -5
  50. data/lib/wx/doc/gen/app_traits.rb +27 -10
  51. data/lib/wx/doc/gen/art_provider.rb +19 -7
  52. data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
  53. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
  54. data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
  55. data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
  56. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +1 -0
  57. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
  58. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +6 -1
  59. data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
  60. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
  61. data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
  62. data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
  63. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
  64. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
  65. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
  66. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
  67. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
  68. data/lib/wx/doc/gen/aui/event_list.rb +164 -160
  69. data/lib/wx/doc/gen/banner_window.rb +1 -1
  70. data/lib/wx/doc/gen/bitmap.rb +33 -16
  71. data/lib/wx/doc/gen/bitmap_button.rb +11 -8
  72. data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -8
  73. data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
  74. data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
  75. data/lib/wx/doc/gen/box_sizer.rb +0 -1
  76. data/lib/wx/doc/gen/brush.rb +5 -2
  77. data/lib/wx/doc/gen/busy_info.rb +2 -2
  78. data/lib/wx/doc/gen/button.rb +23 -11
  79. data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
  80. data/lib/wx/doc/gen/calendar_ctrl.rb +16 -13
  81. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  82. data/lib/wx/doc/gen/calendar_event.rb +4 -3
  83. data/lib/wx/doc/gen/caret.rb +0 -1
  84. data/lib/wx/doc/gen/check_box.rb +7 -7
  85. data/lib/wx/doc/gen/check_list_box.rb +5 -6
  86. data/lib/wx/doc/gen/choice.rb +16 -9
  87. data/lib/wx/doc/gen/choicebook.rb +6 -7
  88. data/lib/wx/doc/gen/client_dc.rb +5 -2
  89. data/lib/wx/doc/gen/clipboard.rb +7 -3
  90. data/lib/wx/doc/gen/collapsible_pane.rb +6 -7
  91. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
  92. data/lib/wx/doc/gen/colour.rb +8 -4
  93. data/lib/wx/doc/gen/colour_dialog.rb +6 -8
  94. data/lib/wx/doc/gen/colour_picker_ctrl.rb +9 -10
  95. data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
  96. data/lib/wx/doc/gen/combo_box.rb +16 -13
  97. data/lib/wx/doc/gen/combo_ctrl.rb +95 -32
  98. data/lib/wx/doc/gen/command_link_button.rb +4 -5
  99. data/lib/wx/doc/gen/context_help_button.rb +7 -3
  100. data/lib/wx/doc/gen/control.rb +10 -8
  101. data/lib/wx/doc/gen/control_with_items.rb +0 -1
  102. data/lib/wx/doc/gen/core.rb +4 -4
  103. data/lib/wx/doc/gen/cursor.rb +6 -8
  104. data/lib/wx/doc/gen/data_format.rb +6 -1
  105. data/lib/wx/doc/gen/data_object.rb +15 -13
  106. data/lib/wx/doc/gen/date_event.rb +2 -2
  107. data/lib/wx/doc/gen/date_picker_ctrl.rb +12 -8
  108. data/lib/wx/doc/gen/dc.rb +155 -37
  109. data/lib/wx/doc/gen/defs.rb +51 -51
  110. data/lib/wx/doc/gen/dial_up_event.rb +1 -2
  111. data/lib/wx/doc/gen/dial_up_manager.rb +13 -5
  112. data/lib/wx/doc/gen/dialog.rb +33 -13
  113. data/lib/wx/doc/gen/dir_dialog.rb +17 -5
  114. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
  115. data/lib/wx/doc/gen/dir_picker_ctrl.rb +9 -10
  116. data/lib/wx/doc/gen/drag_drop.rb +11 -10
  117. data/lib/wx/doc/gen/drag_image.rb +6 -2
  118. data/lib/wx/doc/gen/editable_list_box.rb +2 -2
  119. data/lib/wx/doc/gen/event.rb +35 -19
  120. data/lib/wx/doc/gen/event_blocker.rb +1 -3
  121. data/lib/wx/doc/gen/event_list.rb +1656 -1652
  122. data/lib/wx/doc/gen/events.rb +162 -169
  123. data/lib/wx/doc/gen/evt_handler.rb +11 -3
  124. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  125. data/lib/wx/doc/gen/file_ctrl.rb +19 -10
  126. data/lib/wx/doc/gen/file_ctrl_event.rb +3 -4
  127. data/lib/wx/doc/gen/file_dialog.rb +31 -14
  128. data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
  129. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
  130. data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
  131. data/lib/wx/doc/gen/file_picker_ctrl.rb +8 -9
  132. data/lib/wx/doc/gen/file_system.rb +38 -15
  133. data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
  134. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  135. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  136. data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -1
  137. data/lib/wx/doc/gen/font.rb +31 -20
  138. data/lib/wx/doc/gen/font_data.rb +3 -4
  139. data/lib/wx/doc/gen/font_dialog.rb +1 -2
  140. data/lib/wx/doc/gen/font_picker_ctrl.rb +6 -7
  141. data/lib/wx/doc/gen/font_picker_event.rb +2 -3
  142. data/lib/wx/doc/gen/frame.rb +56 -15
  143. data/lib/wx/doc/gen/fs_file.rb +17 -10
  144. data/lib/wx/doc/gen/gauge.rb +11 -8
  145. data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
  146. data/lib/wx/doc/gen/gcdc.rb +1 -2
  147. data/lib/wx/doc/gen/gdi_common.rb +30 -11
  148. data/lib/wx/doc/gen/gdi_object.rb +0 -1
  149. data/lib/wx/doc/gen/generic_dir_ctrl.rb +6 -7
  150. data/lib/wx/doc/gen/graphics_context.rb +58 -11
  151. data/lib/wx/doc/gen/graphics_object.rb +11 -6
  152. data/lib/wx/doc/gen/grid/event_list.rb +168 -164
  153. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
  154. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
  155. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
  156. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  157. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
  158. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
  159. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
  160. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  161. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  162. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  163. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
  164. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  165. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  166. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
  167. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
  168. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
  169. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
  170. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
  171. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
  172. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
  173. data/lib/wx/doc/gen/grid/grid_ctrl.rb +27 -5
  174. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
  175. data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
  176. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
  177. data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
  178. data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
  179. data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
  180. data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
  181. data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
  182. data/lib/wx/doc/gen/grid_sizer.rb +0 -1
  183. data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
  184. data/lib/wx/doc/gen/header_ctrl.rb +4 -11
  185. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
  186. data/lib/wx/doc/gen/help_controller.rb +3 -3
  187. data/lib/wx/doc/gen/help_provider.rb +12 -3
  188. data/lib/wx/doc/gen/html/event_list.rb +41 -37
  189. data/lib/wx/doc/gen/html/html_cell.rb +23 -6
  190. data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
  191. data/lib/wx/doc/gen/html/html_easy_printing.rb +7 -2
  192. data/lib/wx/doc/gen/html/html_help_controller.rb +8 -2
  193. data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
  194. data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
  195. data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
  196. data/lib/wx/doc/gen/html/html_list_box.rb +5 -7
  197. data/lib/wx/doc/gen/html/html_printout.rb +1 -2
  198. data/lib/wx/doc/gen/html/html_window.rb +12 -6
  199. data/lib/wx/doc/gen/hyperlink_ctrl.rb +7 -7
  200. data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
  201. data/lib/wx/doc/gen/icon.rb +5 -29
  202. data/lib/wx/doc/gen/icon_location.rb +0 -1
  203. data/lib/wx/doc/gen/image.rb +83 -17
  204. data/lib/wx/doc/gen/image_list.rb +15 -6
  205. data/lib/wx/doc/gen/info_bar.rb +2 -2
  206. data/lib/wx/doc/gen/keyboard_state.rb +0 -1
  207. data/lib/wx/doc/gen/list_box.rb +29 -17
  208. data/lib/wx/doc/gen/list_ctrl.rb +76 -29
  209. data/lib/wx/doc/gen/list_event.rb +3 -4
  210. data/lib/wx/doc/gen/listbook.rb +6 -7
  211. data/lib/wx/doc/gen/locale.rb +46 -4
  212. data/lib/wx/doc/gen/log.rb +16 -12
  213. data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
  214. data/lib/wx/doc/gen/mdi_frame.rb +28 -7
  215. data/lib/wx/doc/gen/media_ctrl.rb +26 -18
  216. data/lib/wx/doc/gen/media_event.rb +5 -4
  217. data/lib/wx/doc/gen/memory_dc.rb +6 -6
  218. data/lib/wx/doc/gen/menu.rb +37 -23
  219. data/lib/wx/doc/gen/menu_bar.rb +52 -12
  220. data/lib/wx/doc/gen/menu_item.rb +41 -19
  221. data/lib/wx/doc/gen/message_dialog.rb +7 -8
  222. data/lib/wx/doc/gen/mini_frame.rb +11 -5
  223. data/lib/wx/doc/gen/mirror_dc.rb +0 -2
  224. data/lib/wx/doc/gen/mouse_state.rb +0 -1
  225. data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
  226. data/lib/wx/doc/gen/non_owned_window.rb +1 -1
  227. data/lib/wx/doc/gen/notebook.rb +17 -9
  228. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  229. data/lib/wx/doc/gen/object.rb +0 -1
  230. data/lib/wx/doc/gen/paint_dc.rb +0 -1
  231. data/lib/wx/doc/gen/palette.rb +0 -1
  232. data/lib/wx/doc/gen/panel.rb +17 -8
  233. data/lib/wx/doc/gen/pen.rb +17 -8
  234. data/lib/wx/doc/gen/pg/event_list.rb +97 -93
  235. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
  236. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
  237. data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
  238. data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
  239. data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
  240. data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
  241. data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
  242. data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
  243. data/lib/wx/doc/gen/pg/property_grid.rb +81 -20
  244. data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
  245. data/lib/wx/doc/gen/pg/property_grid_interface.rb +214 -36
  246. data/lib/wx/doc/gen/pg/property_grid_manager.rb +40 -10
  247. data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
  248. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
  249. data/lib/wx/doc/gen/picker_base.rb +12 -5
  250. data/lib/wx/doc/gen/platform_info.rb +4 -9
  251. data/lib/wx/doc/gen/popup_window.rb +2 -5
  252. data/lib/wx/doc/gen/progress_dialog.rb +1 -0
  253. data/lib/wx/doc/gen/property_sheet_dialog.rb +13 -3
  254. data/lib/wx/doc/gen/prt/event_list.rb +8 -4
  255. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
  256. data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
  257. data/lib/wx/doc/gen/prt/preview_frame.rb +1 -1
  258. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +3 -0
  259. data/lib/wx/doc/gen/prt/print_data.rb +4 -3
  260. data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
  261. data/lib/wx/doc/gen/prt/printer.rb +50 -11
  262. data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
  263. data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
  264. data/lib/wx/doc/gen/radio_box.rb +9 -10
  265. data/lib/wx/doc/gen/radio_button.rb +13 -9
  266. data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
  267. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
  268. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
  269. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
  270. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
  271. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
  272. data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
  273. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
  274. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
  275. data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
  276. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
  277. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
  278. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
  279. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
  280. data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -2
  281. data/lib/wx/doc/gen/rearrange_list.rb +3 -4
  282. data/lib/wx/doc/gen/region.rb +75 -17
  283. data/lib/wx/doc/gen/region_iterator.rb +0 -1
  284. data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
  285. data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
  286. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
  287. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
  288. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
  289. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +10 -7
  290. data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
  291. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -4
  292. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +2 -3
  293. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
  294. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
  295. data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
  296. data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
  297. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
  298. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +2 -2
  299. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +5 -5
  300. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +1 -1
  301. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +2 -3
  302. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +1 -2
  303. data/lib/wx/doc/gen/sash_event.rb +9 -4
  304. data/lib/wx/doc/gen/sash_layout_window.rb +11 -4
  305. data/lib/wx/doc/gen/sash_window.rb +3 -4
  306. data/lib/wx/doc/gen/screen_dc.rb +0 -1
  307. data/lib/wx/doc/gen/scroll_bar.rb +19 -10
  308. data/lib/wx/doc/gen/scrolled_canvas.rb +32 -10
  309. data/lib/wx/doc/gen/scrolled_control.rb +32 -10
  310. data/lib/wx/doc/gen/scrolled_window.rb +32 -10
  311. data/lib/wx/doc/gen/search_ctrl.rb +8 -9
  312. data/lib/wx/doc/gen/simplebook.rb +1 -1
  313. data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
  314. data/lib/wx/doc/gen/sizer.rb +12 -7
  315. data/lib/wx/doc/gen/sizer_item.rb +5 -2
  316. data/lib/wx/doc/gen/slider.rb +27 -17
  317. data/lib/wx/doc/gen/spin_button.rb +15 -10
  318. data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
  319. data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
  320. data/lib/wx/doc/gen/spin_double_event.rb +3 -4
  321. data/lib/wx/doc/gen/spin_event.rb +3 -3
  322. data/lib/wx/doc/gen/splash_screen.rb +1 -2
  323. data/lib/wx/doc/gen/splitter_event.rb +3 -4
  324. data/lib/wx/doc/gen/splitter_window.rb +76 -18
  325. data/lib/wx/doc/gen/static_bitmap.rb +10 -5
  326. data/lib/wx/doc/gen/static_box.rb +9 -7
  327. data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
  328. data/lib/wx/doc/gen/static_line.rb +3 -4
  329. data/lib/wx/doc/gen/static_text.rb +5 -6
  330. data/lib/wx/doc/gen/status_bar.rb +19 -9
  331. data/lib/wx/doc/gen/stc/event_list.rb +212 -208
  332. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +39 -13
  333. data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
  334. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
  335. data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
  336. data/lib/wx/doc/gen/system_options.rb +6 -6
  337. data/lib/wx/doc/gen/system_settings.rb +2 -3
  338. data/lib/wx/doc/gen/task_bar_button.rb +312 -0
  339. data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
  340. data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
  341. data/lib/wx/doc/gen/text_attr.rb +20 -5
  342. data/lib/wx/doc/gen/text_ctrl.rb +90 -25
  343. data/lib/wx/doc/gen/text_entry.rb +31 -11
  344. data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
  345. data/lib/wx/doc/gen/text_validator.rb +43 -10
  346. data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -6
  347. data/lib/wx/doc/gen/timer.rb +6 -2
  348. data/lib/wx/doc/gen/timer_event.rb +1 -2
  349. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  350. data/lib/wx/doc/gen/toggle_button.rb +5 -6
  351. data/lib/wx/doc/gen/tool_bar.rb +98 -25
  352. data/lib/wx/doc/gen/tool_tip.rb +35 -5
  353. data/lib/wx/doc/gen/toolbook.rb +3 -4
  354. data/lib/wx/doc/gen/top_level_window.rb +69 -23
  355. data/lib/wx/doc/gen/tree_ctrl.rb +40 -16
  356. data/lib/wx/doc/gen/tree_event.rb +3 -4
  357. data/lib/wx/doc/gen/treebook.rb +7 -4
  358. data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
  359. data/lib/wx/doc/gen/utils.rb +39 -7
  360. data/lib/wx/doc/gen/v_list_box.rb +6 -2
  361. data/lib/wx/doc/gen/v_scrolled_window.rb +6 -4
  362. data/lib/wx/doc/gen/validator.rb +1 -1
  363. data/lib/wx/doc/gen/variant.rb +1 -0
  364. data/lib/wx/doc/gen/window.rb +195 -45
  365. data/lib/wx/doc/gen/window_dc.rb +0 -1
  366. data/lib/wx/doc/gen/window_disabler.rb +5 -2
  367. data/lib/wx/doc/gen/with_images.rb +6 -1
  368. data/lib/wx/doc/gen/wizard.rb +4 -4
  369. data/lib/wx/doc/gen/wizard_event.rb +3 -4
  370. data/lib/wx/doc/gen/wizard_page.rb +2 -2
  371. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  372. data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
  373. data/lib/wx/doc/gen/xml_node.rb +19 -4
  374. data/lib/wx/doc/gen/xml_resource.rb +18 -5
  375. data/lib/wx/doc/graphics_context.rb +1 -0
  376. data/lib/wx/doc/grid/grid.rb +22 -1
  377. data/lib/wx/doc/help_controller.rb +11 -7
  378. data/lib/wx/doc/html/html_help_controller.rb +12 -4
  379. data/lib/wx/doc/list_ctrl.rb +33 -29
  380. data/lib/wx/doc/menu.rb +20 -0
  381. data/lib/wx/doc/notebook.rb +21 -0
  382. data/lib/wx/doc/pg/events.rb +13 -9
  383. data/lib/wx/doc/pg/pg_property.rb +18 -0
  384. data/lib/wx/doc/progress_dialog.rb +36 -32
  385. data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
  386. data/lib/wx/doc/prt/print_data.rb +13 -5
  387. data/lib/wx/doc/prt/print_dialog.rb +31 -23
  388. data/lib/wx/doc/prt/printer.rb +20 -12
  389. data/lib/wx/doc/radio_box.rb +19 -15
  390. data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
  391. data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
  392. data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
  393. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
  394. data/lib/wx/doc/region_iterator.rb +32 -28
  395. data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
  396. data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
  397. data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
  398. data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
  399. data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
  400. data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
  401. data/lib/wx/doc/sizer.rb +20 -0
  402. data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
  403. data/lib/wx/doc/stream.rb +39 -35
  404. data/lib/wx/doc/system_settings.rb +30 -26
  405. data/lib/wx/doc/text_validator.rb +12 -8
  406. data/lib/wx/doc/textctrl.rb +16 -0
  407. data/lib/wx/doc/tree_ctrl.rb +95 -0
  408. data/lib/wx/doc/treebook.rb +9 -5
  409. data/lib/wx/doc/v_list_box.rb +9 -5
  410. data/lib/wx/doc/variant.rb +164 -160
  411. data/lib/wx/doc/window.rb +57 -47
  412. data/lib/wx/doc/window_disabler.rb +10 -6
  413. data/lib/wx/grid/grid.rb +27 -4
  414. data/lib/wx/pg/pg_property.rb +22 -0
  415. data/lib/wx/rtc/require.rb +3 -0
  416. data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
  417. data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
  418. data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
  419. data/lib/wx/stc/require.rb +1 -0
  420. data/lib/wx/stc/styled_text_ctrl.rb +25 -0
  421. data/lib/wx/version.rb +1 -1
  422. data/lib/wxruby_aui.so +0 -0
  423. data/lib/wxruby_core.so +0 -0
  424. data/lib/wxruby_grid.so +0 -0
  425. data/lib/wxruby_html.so +0 -0
  426. data/lib/wxruby_pg.so +0 -0
  427. data/lib/wxruby_prt.so +0 -0
  428. data/lib/wxruby_rbn.so +0 -0
  429. data/lib/wxruby_rtc.so +0 -0
  430. data/lib/wxruby_stc.so +0 -0
  431. data/rakelib/lib/config/linux.rb +0 -3
  432. data/rakelib/lib/config/macosx.rb +2 -2
  433. data/rakelib/lib/config/mingw.rb +1 -1
  434. data/rakelib/lib/config/unixish.rb +1 -1
  435. data/rakelib/lib/config.rb +14 -4
  436. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
  437. data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
  438. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
  439. data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
  440. data/rakelib/yard/templates/default/tags/setup.rb +16 -0
  441. data/rakelib/yard/yard-custom-templates.rb +3 -0
  442. data/samples/treectrl/treectrl.rb +1 -1
  443. data/tests/media/beep_lo.wav +0 -0
  444. data/tests/test_list_ctrl.rb +1 -1
  445. data/tests/test_media_ctrl.rb +38 -0
  446. data/tests/test_menu.rb +69 -0
  447. data/tests/test_pg.rb +27 -0
  448. data/tests/test_richtext.rb +45 -0
  449. data/tests/test_sizer.rb +16 -0
  450. data/tests/test_std_controls.rb +42 -1
  451. data/tests/test_styled_text_ctrl.rb +46 -0
  452. data/tests/test_tree_ctrl.rb +138 -0
  453. data/tests/test_window.rb +12 -0
  454. data/tests/testapp_noframe.rb +1 -1
  455. metadata +28 -3
@@ -169,6 +169,7 @@ module Wx
169
169
  #
170
170
  #
171
171
  #
172
+ # @wxrb_require USE_LISTCTRL
172
173
  class ListColumnFormat < Wx::Enum
173
174
 
174
175
  #
@@ -319,13 +320,23 @@ module Wx
319
320
  # Virtual list control can be used as a normal one except that no operations which can take time proportional to the number of items in the control happen this is required to allow having a practically infinite number of items. For example, in a multiple selection virtual list control, the selections won't be sent when many items are selected at once because this could mean iterating over all the items.
320
321
  # Using many of {Wx::ListCtrl} features is shown in the corresponding sample.
321
322
  # To intercept events from a list control, use the event table macros described in {Wx::ListEvent}.
322
- # The native wxOSX implementation for report mode that was added in wxWidgets 2.8 was removed in wxWidgets 3.1, meaning for wxWidgets 3.1+ wxOSX uses the generic implementation for all modes.
323
323
  #
324
- # == Column Ordering
324
+ # <div class="wxrb-note">
325
+ # <b>Note:</b>
326
+ # <p>The native WXOSX implementation for report mode that was added in wxWidgets 2.8 was removed in wxWidgets 3.1, meaning for wxWidgets 3.1+ WXOSX uses the generic implementation for all modes.
327
+ # </p>
328
+ # </div>
329
+ #
330
+ # ## Column Ordering
325
331
  #
326
332
  # By default, the columns of a list control appear on the screen in order of their indices, i.e. column 0 appears first, then column 1 next, and so on. However this can be changed by using the {Wx::ListCtrl#set_columns_order} function to arbitrarily reorder the columns visual order.
327
333
  # The user can also rearrange the columns interactively by dragging them. In this case, the index of the column is not the same as its order and the functions {Wx::ListCtrl#get_column_order} and {Wx::ListCtrl#get_column_index_from_order} should be used to translate between them.
328
- # All the other functions still work with the column indices, i.e. the visual positioning of the columns on screen doesn't affect the code setting or getting their values for example.
334
+ #
335
+ # <div class="wxrb-note">
336
+ # <b>Note:</b>
337
+ # <p>All the other functions still work with the column indices, i.e. the visual positioning of the columns on screen doesn't affect the code setting or getting their values for example.
338
+ # </p>
339
+ # </div>
329
340
  #
330
341
  # Example of reordering columns:
331
342
  # ```ruby
@@ -341,7 +352,7 @@ module Wx
341
352
  # # 1 and 2 respectively
342
353
  # ```
343
354
  #
344
- # === Styles
355
+ # ### Styles
345
356
  #
346
357
  # This class supports the following styles:
347
358
  #
@@ -375,7 +386,7 @@ module Wx
375
386
  #
376
387
  # - {Wx::LC_VRULES}: Draws light vertical rules between columns in report mode.
377
388
  #
378
- # === Events emitted by this class
389
+ # ### Events emitted by this class
379
390
  #
380
391
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::ListEvent} events.
381
392
  # Event handler methods for events emitted by this class:
@@ -424,13 +435,15 @@ module Wx
424
435
  #
425
436
  # - {Wx::EvtHandler#evt_list_item_unchecked}(id, meth = nil, &block): The item has been unchecked. Processes a {Wx::EVT_LIST_ITEM_UNCHECKED} event type (new since wxWidgets 3.1.0).
426
437
  #
427
- # Under wxMSW this control uses {Wx::SystemThemedControl} for an explorer style appearance by default since wxWidgets 3.1.0. If this is not desired, you can call Wx::SystemThemedControl::EnableSystemTheme with false argument to disable this.
438
+ # <div class="wxrb-note">
439
+ # <b>Note:</b>
440
+ # <p>Under WXMSW this control uses {Wx::SystemThemedControl} for an explorer style appearance by default since wxWidgets 3.1.0. If this is not desired, you can call Wx::SystemThemedControl::EnableSystemTheme with false argument to disable this.
441
+ # </p>
442
+ # </div>
428
443
  #
429
- # ===
430
- #
431
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
432
- # </td><td> wxGTK Appearance
433
- # </td><td> wxOSX Appearance
444
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
445
+ # </td><td> WXGTK Appearance
446
+ # </td><td> WXOSX Appearance
434
447
  # </td></tr></table></div>
435
448
  # @see wxListCtrl Overview
436
449
  # @see Wx::ListView
@@ -442,6 +455,7 @@ module Wx
442
455
  # @see Wx::EditableListBox
443
456
  #
444
457
  #
458
+ # @wxrb_require USE_LISTCTRL
445
459
  class ListCtrl < Control
446
460
 
447
461
  # @overload initialize()
@@ -482,7 +496,11 @@ module Wx
482
496
  def arrange(flag=Wx::LIST_ALIGN_DEFAULT) end
483
497
 
484
498
  # Deletes all items and all columns.
485
- # This sends an event of type {Wx::EVT_LIST_DELETE_ALL_ITEMS} under all platforms.
499
+ # <div class="wxrb-note">
500
+ # <b>Note:</b>
501
+ # <p>This sends an event of type {Wx::EVT_LIST_DELETE_ALL_ITEMS} under all platforms.
502
+ # </p>
503
+ # </div>
486
504
  # @return [void]
487
505
  def clear_all; end
488
506
 
@@ -530,7 +548,7 @@ module Wx
530
548
  def enable_alternate_row_colours(enable=true) end
531
549
 
532
550
  # Enable or disable a beep if there is no match for the currently entered text when searching for the item from keyboard.
533
- # The default is to not beep in this case except in wxMSW where the beep is always generated by the native control and cannot be disabled, i.e. calls to this function do nothing there.
551
+ # The default is to not beep in this case except in WXMSW where the beep is always generated by the native control and cannot be disabled, i.e. calls to this function do nothing there.
534
552
  # @param on [Boolean]
535
553
  # @return [void]
536
554
  def enable_bell_on_no_match(on=true) end
@@ -538,7 +556,7 @@ module Wx
538
556
  # Finish editing the label.
539
557
  # This method allows one to programmatically end editing a list control item in place. Usually it will only be called when editing is in progress, i.e. if {Wx::ListCtrl#get_edit_control} returns non-NULL. In particular, do not call it from EVT_LIST_BEGIN_LABEL_EDIT handler as the edit control is not yet fully created by then, just veto the event in this handler instead to prevent the editing from even starting.
540
558
  # Notice that calling this method will result in EVT_LIST_END_LABEL_EDIT event being generated.
541
- # Currently only implemented in wxMSW.
559
+ # Currently only implemented in WXMSW.
542
560
  #
543
561
  # true if item editing was finished or false if no item as being edited.
544
562
  # @param cancel [Boolean] If true, discard the changes made by user, as if Escape key was pressed. Otherwise, accept the changes as if Return was pressed.
@@ -601,7 +619,12 @@ module Wx
601
619
 
602
620
  # Returns the edit control being currently used to edit a label.
603
621
  # Returns NULL if no label is being edited.
604
- # It is currently only implemented for wxMSW and the generic version, not for the native macOS version.
622
+ #
623
+ # <div class="wxrb-note">
624
+ # <b>Note:</b>
625
+ # <p>It is currently only implemented for WXMSW and the generic version, not for the native macOS version.
626
+ # </p>
627
+ # </div>
605
628
  # @return [Wx::TextCtrl]
606
629
  def get_edit_control; end
607
630
  alias_method :edit_control, :get_edit_control
@@ -702,7 +725,11 @@ module Wx
702
725
  # - {Wx::LIST_NEXT_LEFT}: Searches for an item to the left of the specified item.
703
726
  # - {Wx::LIST_NEXT_RIGHT}: Searches for an item to the right of the specified item.
704
727
  #
705
- # this parameter is only supported by wxMSW currently and ignored on other platforms.
728
+ # <div class="wxrb-note">
729
+ # <b>Note:</b>
730
+ # <p>this parameter is only supported by WXMSW currently and ignored on other platforms.
731
+ # </p>
732
+ # </div>
706
733
  #
707
734
  # state can be a bitlist of the following:
708
735
  #
@@ -781,7 +808,7 @@ module Wx
781
808
  # - {Wx::LIST_HITTEST_ONITEMSTATEICON}: Over the checkbox of an item.
782
809
  # - {Wx::LIST_HITTEST_ONITEM}: Combination of {Wx::LIST_HITTEST_ONITEMICON}, {Wx::LIST_HITTEST_ONITEMLABEL}, {Wx::LIST_HITTEST_ONITEMSTATEICON}.
783
810
  #
784
- # If ptrSubItem is not NULL and the {Wx::ListCtrl} is in the report mode the subitem (or column) number will also be provided. This feature is only available in version 2.7.0 or higher and is currently only implemented under wxMSW and requires at least comctl32.dll of version 4.70 on the host system or the value stored in ptrSubItem will be always -1. To compile this feature into wxWidgets library you need to have access to commctrl.h of version 4.70 that is provided by Microsoft.
811
+ # If ptrSubItem is not NULL and the {Wx::ListCtrl} is in the report mode the subitem (or column) number will also be provided. This feature is only available in version 2.7.0 or higher and is currently only implemented under WXMSW and requires at least comctl32.dll of version 4.70 on the host system or the value stored in ptrSubItem will be always -1. To compile this feature into wxWidgets library you need to have access to commctrl.h of version 4.70 that is provided by Microsoft.
785
812
  # @param point [Array(Integer, Integer), Wx::Point]
786
813
  # @return [Array(Integer,Integer)]
787
814
  def hit_test(point) end
@@ -859,7 +886,12 @@ module Wx
859
886
 
860
887
  # Scrolls the list control.
861
888
  # If in icon, small icon or report view mode, dx specifies the number of pixels to scroll. If in list view mode, dx specifies the number of columns to scroll. dy always specifies the number of pixels to scroll vertically.
862
- # This method is currently only implemented in the Windows version.
889
+ #
890
+ # <div class="wxrb-note">
891
+ # <b>Note:</b>
892
+ # <p>This method is currently only implemented in the Windows version.
893
+ # </p>
894
+ # </div>
863
895
  # @param dx [Integer]
864
896
  # @param dy [Integer]
865
897
  # @return [Boolean]
@@ -867,7 +899,12 @@ module Wx
867
899
 
868
900
  # Sets the background colour.
869
901
  # Note that the {Wx::Window#get_background_colour} function of {Wx::Window} base class can be used to retrieve the current background colour.
870
- # If alternate row colouring is enabled, then call {Wx::ListCtrl#enable_alternate_row_colours} again after changing the background colour. This will update the alternate row color to match the new background colour.
902
+ #
903
+ # <div class="wxrb-note">
904
+ # <b>Note:</b>
905
+ # <p>If alternate row colouring is enabled, then call {Wx::ListCtrl#enable_alternate_row_colours} again after changing the background colour. This will update the alternate row color to match the new background colour.
906
+ # </p>
907
+ # </div>
871
908
  # @param col [Wx::Colour,String,Symbol]
872
909
  # @return [Boolean]
873
910
  def set_background_colour(col) end
@@ -892,7 +929,7 @@ module Wx
892
929
 
893
930
  # Change the font and the colours used for the list control header.
894
931
  # This method can be used to change the appearance of the header shown by the control in report mode (unless {Wx::LC_NO_HEADER} style is used).
895
- # Currently it is implemented only for wxMSW and does nothing in the other ports.
932
+ # Currently it is implemented only for WXMSW and does nothing in the other ports.
896
933
  #
897
934
  # true if the attributes have been updated or false if this is not supported by the current platform.
898
935
  # @param attr [Wx::ItemAttr] The object containing the font and text and background colours to use. It may be default, i.e. not specify any custom font nor colours, to reset any previously set custom attribute.
@@ -1088,9 +1125,14 @@ module Wx
1088
1125
  def extend_rules_and_alternate_colour(extend=true) end
1089
1126
 
1090
1127
  # Show the sort indicator of a specific column in a specific direction.
1091
- # Sort indicators are only shown in report view and in the native wxMSW version override any column icon, i.e. if the sort indicator is shown for a column, no (other) icon is shown.
1128
+ # Sort indicators are only shown in report view and in the native WXMSW version override any column icon, i.e. if the sort indicator is shown for a column, no (other) icon is shown.
1092
1129
  # This function should typically be called from EVT_LIST_COL_CLICK handler.
1093
- # This does not actually sort the list, use {Wx::ListCtrl#sort_items} for this.
1130
+ #
1131
+ # <div class="wxrb-note">
1132
+ # <b>Note:</b>
1133
+ # <p>This does not actually sort the list, use {Wx::ListCtrl#sort_items} for this.
1134
+ # </p>
1135
+ # </div>
1094
1136
  # @param col [Integer] The column to set the sort indicator for. If <code>-1</code> is given, then the currently shown sort indicator will be removed.
1095
1137
  # @param ascending [Boolean] If true or false show the sort indicator corresponding to ascending or descending sort order respectively.
1096
1138
  # @return [void]
@@ -1153,7 +1195,12 @@ module Wx
1153
1195
  # This function may be overridden in the derived class for a control with {Wx::LC_VIRTUAL} style.
1154
1196
  # It should return the attribute for the for the specified item and column or NULL to use the default appearance parameters.
1155
1197
  # The base class version returns <code>OnGetItemAttr(item)</code>.
1156
- # Currently this function is only called under wxMSW, the other ports only support {Wx::ListCtrl#on_get_item_attr}
1198
+ #
1199
+ # <div class="wxrb-note">
1200
+ # <b>Note:</b>
1201
+ # <p>Currently this function is only called under WXMSW, the other ports only support {Wx::ListCtrl#on_get_item_attr}
1202
+ # </p>
1203
+ # </div>
1157
1204
  # @see Wx::ListCtrl#on_get_item_attr
1158
1205
  # @see Wx::ListCtrl#on_get_item_text
1159
1206
  # @see Wx::ListCtrl#on_get_item_image
@@ -1236,12 +1283,12 @@ module Wx
1236
1283
  # - {Wx::LIST_MASK_FORMAT}: The column format field is valid.
1237
1284
  #
1238
1285
  # The {Wx::ListItem} object can also contain item-specific colour and font information: for this you need to call one of {Wx::ListItem#set_text_colour}, {Wx::ListItem#set_background_colour} or {Wx::ListItem#set_font} functions on it passing it the colour/font to use. If the colour/font is not specified, the default list control colour/font is used.
1239
- # ===
1240
1286
  #
1241
1287
  # Category: Data Structures
1242
1288
  # @see Wx::ListCtrl
1243
1289
  #
1244
1290
  #
1291
+ # @wxrb_require USE_LISTCTRL
1245
1292
  class ListItem < Object
1246
1293
 
1247
1294
  # Sets client data for the item.
@@ -1413,12 +1460,12 @@ module Wx
1413
1460
 
1414
1461
  # Represents the attributes (colour, font, ...) of an item of a control with multiple items such as e.g.
1415
1462
  # {Wx::ListCtrl}.
1416
- # ===
1417
1463
  #
1418
1464
  # Category: Data Structures
1419
1465
  # @see wxListCtrl Overview
1420
1466
  #
1421
1467
  #
1468
+ # @wxrb_require USE_LISTCTRL
1422
1469
  class ItemAttr < ::Object
1423
1470
 
1424
1471
  # @overload initialize()
@@ -1503,15 +1550,15 @@ module Wx
1503
1550
  # This class currently simply presents a simpler to use interface for the {Wx::ListCtrl} it can be thought of as a façade for that complicated class.
1504
1551
  # Using it is preferable to using {Wx::ListCtrl} directly whenever possible because in the future some ports might implement {Wx::ListView} but not the full set of {Wx::ListCtrl} features.
1505
1552
  # Other than different interface, this class is identical to {Wx::ListCtrl}. In particular, it uses the same events, same window styles and so on.
1506
- # ===
1507
1553
  #
1508
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
1509
- # </td><td> wxGTK Appearance
1510
- # </td><td> wxOSX Appearance
1554
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
1555
+ # </td><td> WXGTK Appearance
1556
+ # </td><td> WXOSX Appearance
1511
1557
  # </td></tr></table></div>
1512
1558
  # @see Wx::ListView#set_column_image
1513
1559
  #
1514
1560
  #
1561
+ # @wxrb_require USE_LISTCTRL
1515
1562
  class ListView < ListCtrl
1516
1563
 
1517
1564
  # @overload initialize()
@@ -7,7 +7,7 @@
7
7
  module Wx
8
8
 
9
9
  # A list event holds information about events associated with {Wx::ListCtrl} objects.
10
- # === Events using this class
10
+ # ### Events using this class
11
11
  #
12
12
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::ListEvent} events.
13
13
  # Event handler methods:
@@ -56,16 +56,15 @@ module Wx
56
56
  #
57
57
  # - {Wx::EvtHandler#evt_list_item_unchecked}(id, meth = nil, &block): The item has been unchecked (new since wxWidgets 3.1.0).
58
58
  #
59
- # ===
60
- #
61
59
  # Category: {Wx::Events}
62
60
  # @see Wx::ListCtrl
63
61
  #
64
62
  #
63
+ # @wxrb_require USE_LISTCTRL
65
64
  class ListEvent < NotifyEvent
66
65
 
67
66
  # Constructor.
68
- # @param commandType [Wx::CommandLinkButton::EventType]
67
+ # @param commandType [Wx::Slider::EventType]
69
68
  # @param id [Integer]
70
69
  # @return [Wx::ListEvent]
71
70
  def initialize(commandType=Wx::EVT_NULL, id=0) end
@@ -35,7 +35,7 @@ module Wx
35
35
  # {Wx::Listbook} is a class similar to {Wx::Notebook} but which uses a {Wx::ListCtrl} to show the labels instead of the tabs.
36
36
  # The underlying {Wx::ListCtrl} displays page labels in a one-column report view by default. Calling Wx::BookCtrl::SetImageList will implicitly switch the control to use an icon view.
37
37
  # For usage documentation of this class, please refer to the base abstract class {Wx::BookCtrl}. You can also use the Notebook Sample to see {Wx::Listbook} in action.
38
- # === Styles
38
+ # ### Styles
39
39
  #
40
40
  # This class supports the following styles:
41
41
  #
@@ -49,7 +49,7 @@ module Wx
49
49
  #
50
50
  # - {Wx::LB_BOTTOM}: Place labels below the page area.
51
51
  #
52
- # === Events emitted by this class
52
+ # ### Events emitted by this class
53
53
  #
54
54
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::BookCtrlEvent} events.
55
55
  # Event handler methods for events emitted by this class:
@@ -58,17 +58,16 @@ module Wx
58
58
  #
59
59
  # - {Wx::EvtHandler#evt_listbook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::EVT_LISTBOOK_PAGE_CHANGING} event. This event can be vetoed.
60
60
  #
61
- # ===
62
- #
63
- # Category: Book Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
64
- # </td><td> wxGTK Appearance
65
- # </td><td> wxOSX Appearance
61
+ # Category: Book Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
62
+ # </td><td> WXGTK Appearance
63
+ # </td><td> WXOSX Appearance
66
64
  # </td></tr></table></div>
67
65
  # @see Wx::BookCtrl
68
66
  # @see Wx::Notebook
69
67
  # @see Notebook Sample
70
68
  #
71
69
  #
70
+ # @wxrb_require USE_LISTBOOK
72
71
  class Listbook < BookCtrlBase
73
72
 
74
73
  # @overload initialize()
@@ -10,6 +10,7 @@ module Wx
10
10
  #
11
11
  # This enum is generated by misc/languages/genlang.py When making changes, please put them into misc/languages/langtabl.txt
12
12
  #
13
+ # @wxrb_require USE_INTL
13
14
  class Language < Wx::Enum
14
15
 
15
16
  # User's default/preferred language as got from OS.
@@ -3602,6 +3603,7 @@ module Wx
3602
3603
  #
3603
3604
  #
3604
3605
  #
3606
+ # @wxrb_require USE_INTL
3605
3607
  class LayoutDirection < Wx::Enum
3606
3608
 
3607
3609
  #
@@ -3624,6 +3626,7 @@ module Wx
3624
3626
  # @see Wx::LocaleIdent#get_tag
3625
3627
  #
3626
3628
  #
3629
+ # @wxrb_require USE_INTL
3627
3630
  class LocaleTagType < Wx::Enum
3628
3631
 
3629
3632
  # Default (tag as given or else same as {Wx::LocaleTagType::LOCALE_TAGTYPE_SYSTEM})
@@ -3659,6 +3662,7 @@ module Wx
3659
3662
  # @see Wx::UILocale#get_info
3660
3663
  #
3661
3664
  #
3665
+ # @wxrb_require USE_INTL
3662
3666
  class LocaleCategory < Wx::Enum
3663
3667
 
3664
3668
  # Number formatting.
@@ -3686,6 +3690,7 @@ module Wx
3686
3690
  # @see Wx::UILocale#get_info
3687
3691
  #
3688
3692
  #
3693
+ # @wxrb_require USE_INTL
3689
3694
  class LocaleInfo < Wx::Enum
3690
3695
 
3691
3696
  # The thousands separator.
@@ -3720,6 +3725,7 @@ module Wx
3720
3725
  # @see Wx::UILocale#get_localized_name
3721
3726
  #
3722
3727
  #
3728
+ # @wxrb_require USE_INTL
3723
3729
  class LocaleName < Wx::Enum
3724
3730
 
3725
3731
  # Display name of a locale.
@@ -3742,6 +3748,7 @@ module Wx
3742
3748
  # @see Wx::UILocale#get_localized_name
3743
3749
  #
3744
3750
  #
3751
+ # @wxrb_require USE_INTL
3745
3752
  class LocaleForm < Wx::Enum
3746
3753
 
3747
3754
  # Name should be returned in the language of the locale itself.
@@ -3758,6 +3765,7 @@ module Wx
3758
3765
  #
3759
3766
  #
3760
3767
  #
3768
+ # @wxrb_require USE_INTL
3761
3769
  class LocaleInitFlags < Wx::Enum
3762
3770
 
3763
3771
  # Don't load {Wx::std}.mo catalog.
@@ -3775,13 +3783,16 @@ module Wx
3775
3783
  def self.get_locale; end
3776
3784
 
3777
3785
  # {Wx::Locale} class encapsulates all language-dependent settings and is a generalization of the C locale concept.
3778
- # This class is known to have several problems under macOS: first of all, it is impossible to change the application UI locale after launching it under this platform and so using this class doesn't affect the native controls and dialogs there. Additionally, versions of macOS between 11.0 and 12.2 inclusive are affected by a bug when changing C locale can break display of the application menus. Because of this, it is recommended to use {Wx::UILocale} instead of this class for the applications targeting macOS.
3786
+ # <div class="wxrb-note">
3787
+ # <b>Note:</b>
3788
+ # <p>This class is known to have several problems under macOS: first of all, it is impossible to change the application UI locale after launching it under this platform and so using this class doesn't affect the native controls and dialogs there. Additionally, versions of macOS between 11.0 and 12.2 inclusive are affected by a bug when changing C locale can break display of the application menus. Because of this, it is recommended to use {Wx::UILocale} instead of this class for the applications targeting macOS.
3789
+ # </p>
3790
+ # </div>
3779
3791
  #
3780
3792
  # In wxWidgets this class manages current locale. It also initializes and activates {Wx::Translations} object that manages message catalogs.
3781
3793
  # For a list of the supported languages, please see {Wx::Language} enum values. These constants may be used to specify the language in {Wx::Locale#init} and are returned by {Wx::Locale.get_system_language}.
3782
3794
  #
3783
3795
  #
3784
- # ===
3785
3796
  #
3786
3797
  # Category: Application and System configuration
3787
3798
  # @see Wx::Internationalization
@@ -3790,6 +3801,7 @@ module Wx
3790
3801
  # @see Wx::Translations
3791
3802
  #
3792
3803
  #
3804
+ # @wxrb_require USE_INTL
3793
3805
  class Locale < ::Object
3794
3806
 
3795
3807
  # @overload initialize()
@@ -3950,7 +3962,11 @@ module Wx
3950
3962
  def self.get_system_encoding_name; end
3951
3963
 
3952
3964
  # Tries to detect the user's default locale setting.
3953
- # This function is somewhat misleading, as it uses the default system locale to determine its return value, and not just the system language. It is preserved for backwards compatibility, but to actually get the language, and not locale, used by the system by default, call Wx::UILocale#get_system_language instead.
3965
+ # <div class="wxrb-note">
3966
+ # <b>Note:</b>
3967
+ # <p>This function is somewhat misleading, as it uses the default system locale to determine its return value, and not just the system language. It is preserved for backwards compatibility, but to actually get the language, and not locale, used by the system by default, call Wx::UILocale#get_system_language instead.
3968
+ # </p>
3969
+ # </div>
3954
3970
  #
3955
3971
  # Returns the {Wx::Language} value or {Wx::Language::LANGUAGE_UNKNOWN} if the locale is not recognized, as can notably happen when combining any language with a region where this language is not typically spoken.
3956
3972
  # @see Wx::Translations#get_best_translation.
@@ -3988,8 +4004,33 @@ module Wx
3988
4004
  #
3989
4005
  #
3990
4006
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
4007
+ # @wxrb_require USE_INTL
3991
4008
  class LanguageInfo < ::Object
3992
4009
 
4010
+ # Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
4011
+ # Availability: only available for the WXMSW port.
4012
+ #
4013
+ # @return [Integer]
4014
+ def win_lang; end
4015
+ # Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
4016
+ # Availability: only available for the WXMSW port.
4017
+ #
4018
+ # @param val [Integer]
4019
+ # @return [void]
4020
+ def win_lang=(val); end
4021
+
4022
+ # Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
4023
+ # Availability: only available for the WXMSW port.
4024
+ #
4025
+ # @return [Integer]
4026
+ def win_sublang; end
4027
+ # Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
4028
+ # Availability: only available for the WXMSW port.
4029
+ #
4030
+ # @param val [Integer]
4031
+ # @return [void]
4032
+ def win_sublang=(val); end
4033
+
3993
4034
  # {Wx::Language} id.
3994
4035
  # It should be greater than {Wx::Language::LANGUAGE_USER_DEFINED} when defining your own language info structure.
3995
4036
  #
@@ -4075,8 +4116,9 @@ module Wx
4075
4116
  def layout_direction=(val); end
4076
4117
 
4077
4118
  # Return the LCID corresponding to this language.
4078
- # Availability: only available for the wxMSW port. {Wx::msw}
4119
+ # Availability: only available for the WXMSW port.
4079
4120
  # @return [Integer]
4121
+ # @wxrb_require WXMSW
4080
4122
  def get_lcid; end
4081
4123
  alias_method :lcid, :get_lcid
4082
4124
 
@@ -10,6 +10,7 @@ module Wx
10
10
  #
11
11
  #
12
12
  #
13
+ # @wxrb_require USE_LOG
13
14
  class LogLevelValues < Wx::Enum
14
15
 
15
16
  # program can't continue, abort immediately
@@ -61,15 +62,19 @@ module Wx
61
62
  # {Wx::Log} class defines the interface for the log targets used by wxWidgets logging functions as explained in the Logging Overview.
62
63
  # The only situations when you need to directly use this class is when you want to derive your own log target because the existing ones don't satisfy your needs.
63
64
  # Otherwise, it is completely hidden behind the wxLogXXX() functions and you may not even know about its existence.
64
- # For console-mode applications, the default target is {Wx::LogStderr}, so that all {log_xxx} functions print on stderr when {Wx::Setup::USE_GUI} = 0.
65
65
  #
66
- # ===
66
+ # <div class="wxrb-note">
67
+ # <b>Note:</b>
68
+ # <p>For console-mode applications, the default target is {Wx::LogStderr}, so that all {log_xxx} functions print on stderr when {Wx::Setup::USE_GUI} = 0.
69
+ # </p>
70
+ # </div>
67
71
  #
68
72
  # Category: {Wx::Logging}
69
73
  # @see Logging Overview
70
74
  # @see wxLogXXX() functions
71
75
  #
72
76
  #
77
+ # @wxrb_require USE_LOG
73
78
  class Log < ::Object
74
79
 
75
80
  # Add the mask to the list of allowed masks for {log_trace}.
@@ -294,12 +299,12 @@ module Wx
294
299
  # {Wx::LogBuffer} is a very simple implementation of log sink which simply collects all the logged messages in a string (except the debug messages which are output in the usual way immediately as we're presumably not interested in collecting them for later).
295
300
  # The messages from different log function calls are separated by the new lines.
296
301
  # All the messages collected so far can be shown to the user (and the current buffer cleared) by calling the overloaded {Wx::LogBuffer#flush} method.
297
- # ===
298
302
  #
299
303
  # Category: {Wx::Logging}
300
304
  #
301
305
  #
302
306
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
307
+ # @wxrb_require USE_LOG
303
308
  class LogBuffer < Log
304
309
 
305
310
  # The default ctor does nothing.
@@ -325,10 +330,9 @@ module Wx
325
330
  # ...
326
331
  # ```
327
332
  #
328
- # ===
329
- #
330
333
  # Category: {Wx::Logging}
331
334
  #
335
+ # @wxrb_require USE_LOG
332
336
  class LogChain < Log
333
337
 
334
338
  # Sets the specified logger (which may be NULL) as the default log target but the log messages are also passed to the previous log target if any.
@@ -370,12 +374,12 @@ module Wx
370
374
  # Also notice that if an error message is logged when several informative messages had been already logged before, the informative messages are discarded on the assumption that they are not useful and may be confusing and hence harmful any more after the error. The warning and error messages are never discarded however and any informational messages logged after the first error one are also kept (as they may contain information about the error recovery). You may override DoLog() method to change this behaviour.
371
375
  # At any rate, it is possible that that several messages were accumulated before this class {Wx::LogGui#flush} method is called. If this is the case, {Wx::LogGui#flush} uses a custom dialog which shows the last message directly and allows the user to view the previously logged ones by expanding the "Details" {Wx::CollapsiblePane} inside it. This custom dialog also provides the buttons for copying the log messages to the clipboard and saving them to a file.
372
376
  # However if only a single message is present when {Wx::LogGui#flush} is called, just a {message_box} is used to show it. This has the advantage of being closer to the native behaviour but it doesn't give the user any possibility to copy or save the message (except for the recent Windows versions where <code>Ctrl-C</code> may be pressed in the message box to copy its contents to the clipboard) so you may want to override {Wx::LogGui#do_show_single_log_message} to customize {Wx::LogGui} the dialogs sample shows how to do this.
373
- # ===
374
377
  #
375
378
  # Category: {Wx::Logging}
376
379
  #
377
380
  #
378
381
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
382
+ # @wxrb_require USE_LOG
379
383
  class LogGui < Log
380
384
 
381
385
  # Default constructor.
@@ -386,7 +390,6 @@ module Wx
386
390
 
387
391
  # This class can be used to redirect the log messages to a C file stream (not to be confused with C++ streams).
388
392
  # It is the default log target for the non-GUI wxWidgets applications which send all the output to stderr.
389
- # ===
390
393
  #
391
394
  # Category: {Wx::Logging}
392
395
  # @see Wx::LogStream
@@ -394,13 +397,13 @@ module Wx
394
397
  #
395
398
  #
396
399
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
400
+ # @wxrb_require USE_LOG
397
401
  class LogStderr < Log
398
402
 
399
403
  end # LogStderr
400
404
 
401
405
  # Using these target all the log messages can be redirected to a text control.
402
406
  # The text control must have been created with {Wx::TE_MULTILINE} style by the caller previously.
403
- # ===
404
407
  #
405
408
  # Category: {Wx::Logging}
406
409
  # @see Wx::TextCtrl
@@ -409,6 +412,7 @@ module Wx
409
412
  #
410
413
  #
411
414
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
415
+ # @wxrb_require USE_LOG
412
416
  class LogTextCtrl < Log
413
417
 
414
418
  # Constructs a log target which sends all the log messages to the given text control.
@@ -423,10 +427,10 @@ module Wx
423
427
  # It forwards log messages to the previously installed one in addition to processing them itself.
424
428
  # Unlike {Wx::LogChain} which is usually used directly as is, this class must be derived from to implement {Wx::Log::DoLog} and/or {Wx::Log::DoLogString} methods.
425
429
  # {Wx::LogInterposer} destroys the previous log target in its destructor. If you don't want this to happen, use {Wx::LogInterposerTemp} instead.
426
- # ===
427
430
  #
428
431
  # Category: {Wx::Logging}
429
432
  #
433
+ # @wxrb_require USE_LOG
430
434
  class LogInterposer < LogChain
431
435
 
432
436
  # The default constructor installs this object as the current active log target.
@@ -437,12 +441,12 @@ module Wx
437
441
 
438
442
  # This class represents a background log window: to be precise, it collects all log messages in the log frame which it manages but also passes them on to the log target which was active at the moment of its creation.
439
443
  # This allows you, for example, to show all the log messages in a frame but still continue to process them normally by showing the standard log dialog.
440
- # ===
441
444
  #
442
445
  # Category: {Wx::Logging}
443
446
  # @see Wx::LogTextCtrl
444
447
  #
445
448
  #
449
+ # @wxrb_require USE_LOG
446
450
  class LogWindow < LogInterposer
447
451
 
448
452
  # Creates the log frame window and starts collecting the messages in it.
@@ -513,12 +517,11 @@ module Wx
513
517
  # end
514
518
  # ```
515
519
  #
516
- # ===
517
- #
518
520
  # Category: {Wx::Logging}
519
521
  #
520
522
  #
521
523
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
524
+ # @wxrb_require USE_LOG
522
525
  class LogNull < ::Object
523
526
 
524
527
  end # LogNull
@@ -528,6 +531,7 @@ module Wx
528
531
  #
529
532
  #
530
533
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
534
+ # @wxrb_require USE_LOG
531
535
  class LogRecordInfo < ::Object
532
536
 
533
537
  end # LogRecordInfo
@@ -7,10 +7,15 @@
7
7
  module Wx
8
8
 
9
9
  # An MDI client window is a child of {Wx::MDIParentFrame}, and manages zero or more {Wx::MDIChildFrame} objects.
10
+ # <div class="wxrb-remark">
11
+ # <b>Remark:</b>
12
+ # <p>
13
+ # </p>
14
+ # </div>>
15
+ #
10
16
  # The client window is the area where MDI child windows exist. It doesn't have to cover the whole parent frame; other windows such as toolbars and a help window might coexist with it. There can be scrollbars on a client window, which are controlled by the parent window style.
11
17
  # The {Wx::MDIClientWindow} class is usually adequate without further derivation, and it is created automatically when the MDI parent frame is created. If the application needs to derive a new class, the function {Wx::MDIParentFrame#on_create_client} must be overridden in order to give an opportunity to use a different class of client window.
12
- # Under wxMSW, the client window will automatically have a sunken border style when the active child is not maximized, and no border style when a child is maximized.
13
- # ===
18
+ # Under WXMSW, the client window will automatically have a sunken border style when the active child is not maximized, and no border style when a child is maximized.
14
19
  #
15
20
  # Category: Managed Windows
16
21
  # @see Wx::MDIChildFrame
@@ -18,6 +23,7 @@ module Wx
18
23
  # @see Wx::Frame
19
24
  #
20
25
  #
26
+ # @wxrb_require USE_MDI
21
27
  class MDIClientWindow < Window
22
28
 
23
29
  # Default constructor.