wxruby3 0.9.0-x64-mingw-ucrt → 0.9.2-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (466) 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/const.rb +83 -0
  24. data/lib/wx/core/controlwithitems.rb +8 -6
  25. data/lib/wx/core/events/evt_list.rb +24 -0
  26. data/lib/wx/core/menu.rb +10 -0
  27. data/lib/wx/core/notebook.rb +6 -2
  28. data/lib/wx/core/sizer.rb +11 -0
  29. data/lib/wx/core/task_bar_button.rb +19 -0
  30. data/lib/wx/core/textctrl.rb +11 -1
  31. data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
  32. data/lib/wx/core/window.rb +10 -0
  33. data/lib/wx/doc/app.rb +48 -38
  34. data/lib/wx/doc/art_locator.rb +47 -43
  35. data/lib/wx/doc/aui/auimanager.rb +16 -8
  36. data/lib/wx/doc/aui/auinotebook.rb +20 -5
  37. data/lib/wx/doc/clipboard.rb +11 -7
  38. data/lib/wx/doc/colour_dialog.rb +14 -10
  39. data/lib/wx/doc/const.rb +66 -66
  40. data/lib/wx/doc/controlwithitems.rb +17 -7
  41. data/lib/wx/doc/data_object.rb +2 -2
  42. data/lib/wx/doc/event.rb +0 -6
  43. data/lib/wx/doc/evthandler.rb +113 -108
  44. data/lib/wx/doc/font.rb +1 -0
  45. data/lib/wx/doc/functions.rb +9 -9
  46. data/lib/wx/doc/gc_dc.rb +6 -1
  47. data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
  48. data/lib/wx/doc/gen/accelerator.rb +14 -5
  49. data/lib/wx/doc/gen/accessible.rb +35 -47
  50. data/lib/wx/doc/gen/activity_indicator.rb +6 -7
  51. data/lib/wx/doc/gen/animation.rb +7 -3
  52. data/lib/wx/doc/gen/animation_ctrl.rb +8 -9
  53. data/lib/wx/doc/gen/any_button.rb +6 -1
  54. data/lib/wx/doc/gen/app.rb +7 -5
  55. data/lib/wx/doc/gen/app_traits.rb +27 -10
  56. data/lib/wx/doc/gen/art_provider.rb +20 -8
  57. data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
  58. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
  59. data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
  60. data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
  61. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +3 -2
  62. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
  63. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +8 -3
  64. data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
  65. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
  66. data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
  67. data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
  68. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
  69. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
  70. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
  71. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
  72. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
  73. data/lib/wx/doc/gen/aui/event_list.rb +164 -160
  74. data/lib/wx/doc/gen/banner_window.rb +3 -3
  75. data/lib/wx/doc/gen/bitmap.rb +34 -17
  76. data/lib/wx/doc/gen/bitmap_button.rb +13 -10
  77. data/lib/wx/doc/gen/bitmap_combo_box.rb +16 -12
  78. data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
  79. data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
  80. data/lib/wx/doc/gen/box_sizer.rb +0 -1
  81. data/lib/wx/doc/gen/brush.rb +5 -2
  82. data/lib/wx/doc/gen/busy_info.rb +2 -2
  83. data/lib/wx/doc/gen/button.rb +25 -13
  84. data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
  85. data/lib/wx/doc/gen/calendar_ctrl.rb +18 -15
  86. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  87. data/lib/wx/doc/gen/calendar_event.rb +4 -3
  88. data/lib/wx/doc/gen/caret.rb +0 -1
  89. data/lib/wx/doc/gen/check_box.rb +9 -9
  90. data/lib/wx/doc/gen/check_list_box.rb +8 -9
  91. data/lib/wx/doc/gen/choice.rb +18 -11
  92. data/lib/wx/doc/gen/choicebook.rb +6 -7
  93. data/lib/wx/doc/gen/client_dc.rb +5 -2
  94. data/lib/wx/doc/gen/clipboard.rb +7 -3
  95. data/lib/wx/doc/gen/collapsible_pane.rb +8 -9
  96. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
  97. data/lib/wx/doc/gen/colour.rb +8 -4
  98. data/lib/wx/doc/gen/colour_dialog.rb +6 -8
  99. data/lib/wx/doc/gen/colour_picker_ctrl.rb +11 -12
  100. data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
  101. data/lib/wx/doc/gen/combo_box.rb +20 -17
  102. data/lib/wx/doc/gen/combo_ctrl.rb +100 -37
  103. data/lib/wx/doc/gen/command_link_button.rb +6 -7
  104. data/lib/wx/doc/gen/context_help_button.rb +7 -3
  105. data/lib/wx/doc/gen/control.rb +12 -10
  106. data/lib/wx/doc/gen/control_with_items.rb +0 -1
  107. data/lib/wx/doc/gen/core.rb +4 -4
  108. data/lib/wx/doc/gen/cursor.rb +6 -8
  109. data/lib/wx/doc/gen/data_format.rb +6 -1
  110. data/lib/wx/doc/gen/data_object.rb +16 -14
  111. data/lib/wx/doc/gen/date_event.rb +2 -2
  112. data/lib/wx/doc/gen/date_picker_ctrl.rb +14 -10
  113. data/lib/wx/doc/gen/dc.rb +155 -37
  114. data/lib/wx/doc/gen/defs.rb +54 -54
  115. data/lib/wx/doc/gen/dial_up_event.rb +41 -0
  116. data/lib/wx/doc/gen/dial_up_manager.rb +137 -0
  117. data/lib/wx/doc/gen/dialog.rb +35 -15
  118. data/lib/wx/doc/gen/dir_dialog.rb +17 -5
  119. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
  120. data/lib/wx/doc/gen/dir_picker_ctrl.rb +11 -12
  121. data/lib/wx/doc/gen/drag_drop.rb +11 -10
  122. data/lib/wx/doc/gen/drag_image.rb +6 -2
  123. data/lib/wx/doc/gen/editable_list_box.rb +4 -4
  124. data/lib/wx/doc/gen/event.rb +42 -20
  125. data/lib/wx/doc/gen/event_blocker.rb +1 -3
  126. data/lib/wx/doc/gen/event_list.rb +1656 -1624
  127. data/lib/wx/doc/gen/events.rb +170 -181
  128. data/lib/wx/doc/gen/evt_handler.rb +11 -3
  129. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  130. data/lib/wx/doc/gen/file_ctrl.rb +209 -0
  131. data/lib/wx/doc/gen/file_ctrl_event.rb +79 -0
  132. data/lib/wx/doc/gen/file_dialog.rb +32 -15
  133. data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
  134. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
  135. data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
  136. data/lib/wx/doc/gen/file_picker_ctrl.rb +10 -11
  137. data/lib/wx/doc/gen/file_system.rb +38 -15
  138. data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
  139. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  140. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  141. data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -1
  142. data/lib/wx/doc/gen/font.rb +31 -20
  143. data/lib/wx/doc/gen/font_data.rb +3 -4
  144. data/lib/wx/doc/gen/font_dialog.rb +1 -2
  145. data/lib/wx/doc/gen/font_picker_ctrl.rb +8 -9
  146. data/lib/wx/doc/gen/font_picker_event.rb +2 -3
  147. data/lib/wx/doc/gen/frame.rb +60 -19
  148. data/lib/wx/doc/gen/fs_file.rb +17 -10
  149. data/lib/wx/doc/gen/gauge.rb +13 -10
  150. data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
  151. data/lib/wx/doc/gen/gcdc.rb +1 -2
  152. data/lib/wx/doc/gen/gdi_common.rb +30 -11
  153. data/lib/wx/doc/gen/gdi_object.rb +0 -1
  154. data/lib/wx/doc/gen/generic_dir_ctrl.rb +8 -9
  155. data/lib/wx/doc/gen/graphics_context.rb +59 -12
  156. data/lib/wx/doc/gen/graphics_object.rb +11 -6
  157. data/lib/wx/doc/gen/grid/event_list.rb +168 -164
  158. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
  159. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
  160. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
  161. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  162. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
  163. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
  164. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
  165. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  166. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  167. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +2 -2
  168. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
  169. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  170. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  171. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
  172. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
  173. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
  174. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
  175. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
  176. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
  177. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
  178. data/lib/wx/doc/gen/grid/grid_ctrl.rb +29 -7
  179. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
  180. data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
  181. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
  182. data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
  183. data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
  184. data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
  185. data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
  186. data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
  187. data/lib/wx/doc/gen/grid_sizer.rb +0 -1
  188. data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
  189. data/lib/wx/doc/gen/header_ctrl.rb +7 -14
  190. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
  191. data/lib/wx/doc/gen/help_controller.rb +42 -3
  192. data/lib/wx/doc/gen/help_provider.rb +12 -3
  193. data/lib/wx/doc/gen/html/event_list.rb +41 -37
  194. data/lib/wx/doc/gen/html/html_cell.rb +23 -6
  195. data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
  196. data/lib/wx/doc/gen/html/html_easy_printing.rb +8 -3
  197. data/lib/wx/doc/gen/html/html_help_controller.rb +47 -2
  198. data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
  199. data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
  200. data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
  201. data/lib/wx/doc/gen/html/html_list_box.rb +10 -12
  202. data/lib/wx/doc/gen/html/html_printout.rb +1 -2
  203. data/lib/wx/doc/gen/html/html_window.rb +13 -7
  204. data/lib/wx/doc/gen/hyperlink_ctrl.rb +9 -9
  205. data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
  206. data/lib/wx/doc/gen/icon.rb +5 -29
  207. data/lib/wx/doc/gen/icon_location.rb +0 -1
  208. data/lib/wx/doc/gen/image.rb +83 -17
  209. data/lib/wx/doc/gen/image_list.rb +15 -6
  210. data/lib/wx/doc/gen/info_bar.rb +2 -2
  211. data/lib/wx/doc/gen/keyboard_state.rb +0 -1
  212. data/lib/wx/doc/gen/list_box.rb +33 -21
  213. data/lib/wx/doc/gen/list_ctrl.rb +79 -32
  214. data/lib/wx/doc/gen/list_event.rb +3 -4
  215. data/lib/wx/doc/gen/listbook.rb +6 -7
  216. data/lib/wx/doc/gen/locale.rb +46 -4
  217. data/lib/wx/doc/gen/log.rb +16 -12
  218. data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
  219. data/lib/wx/doc/gen/mdi_frame.rb +32 -11
  220. data/lib/wx/doc/gen/media_ctrl.rb +28 -20
  221. data/lib/wx/doc/gen/media_event.rb +5 -4
  222. data/lib/wx/doc/gen/memory_dc.rb +6 -6
  223. data/lib/wx/doc/gen/menu.rb +37 -23
  224. data/lib/wx/doc/gen/menu_bar.rb +52 -12
  225. data/lib/wx/doc/gen/menu_item.rb +117 -95
  226. data/lib/wx/doc/gen/message_dialog.rb +7 -8
  227. data/lib/wx/doc/gen/mini_frame.rb +13 -7
  228. data/lib/wx/doc/gen/mirror_dc.rb +0 -2
  229. data/lib/wx/doc/gen/mouse_state.rb +0 -1
  230. data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
  231. data/lib/wx/doc/gen/non_owned_window.rb +1 -1
  232. data/lib/wx/doc/gen/notebook.rb +19 -11
  233. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  234. data/lib/wx/doc/gen/object.rb +0 -1
  235. data/lib/wx/doc/gen/paint_dc.rb +0 -1
  236. data/lib/wx/doc/gen/palette.rb +0 -1
  237. data/lib/wx/doc/gen/panel.rb +19 -10
  238. data/lib/wx/doc/gen/pen.rb +17 -8
  239. data/lib/wx/doc/gen/pg/event_list.rb +97 -93
  240. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
  241. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
  242. data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
  243. data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
  244. data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
  245. data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
  246. data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
  247. data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
  248. data/lib/wx/doc/gen/pg/property_grid.rb +83 -22
  249. data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
  250. data/lib/wx/doc/gen/pg/property_grid_interface.rb +212 -34
  251. data/lib/wx/doc/gen/pg/property_grid_manager.rb +42 -12
  252. data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
  253. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
  254. data/lib/wx/doc/gen/picker_base.rb +12 -5
  255. data/lib/wx/doc/gen/platform_info.rb +4 -9
  256. data/lib/wx/doc/gen/popup_window.rb +2 -5
  257. data/lib/wx/doc/gen/progress_dialog.rb +1 -0
  258. data/lib/wx/doc/gen/property_sheet_dialog.rb +15 -5
  259. data/lib/wx/doc/gen/prt/event_list.rb +8 -4
  260. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
  261. data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
  262. data/lib/wx/doc/gen/prt/preview_frame.rb +2 -2
  263. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +4 -1
  264. data/lib/wx/doc/gen/prt/print_data.rb +4 -3
  265. data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
  266. data/lib/wx/doc/gen/prt/printer.rb +50 -11
  267. data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
  268. data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
  269. data/lib/wx/doc/gen/radio_box.rb +13 -14
  270. data/lib/wx/doc/gen/radio_button.rb +15 -11
  271. data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
  272. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
  273. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
  274. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
  275. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
  276. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
  277. data/lib/wx/doc/gen/rbn/ribbon_control.rb +2 -2
  278. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
  279. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
  280. data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
  281. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
  282. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
  283. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
  284. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
  285. data/lib/wx/doc/gen/rearrange_ctrl.rb +3 -4
  286. data/lib/wx/doc/gen/rearrange_list.rb +5 -6
  287. data/lib/wx/doc/gen/region.rb +75 -17
  288. data/lib/wx/doc/gen/region_iterator.rb +0 -1
  289. data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
  290. data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
  291. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
  292. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
  293. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
  294. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +12 -9
  295. data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
  296. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +3 -5
  297. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +4 -5
  298. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
  299. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
  300. data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
  301. data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
  302. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
  303. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +3 -3
  304. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +14 -14
  305. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +3 -3
  306. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +3 -4
  307. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +3 -4
  308. data/lib/wx/doc/gen/sash_event.rb +12 -4
  309. data/lib/wx/doc/gen/sash_layout_window.rb +13 -6
  310. data/lib/wx/doc/gen/sash_window.rb +4 -5
  311. data/lib/wx/doc/gen/screen_dc.rb +0 -1
  312. data/lib/wx/doc/gen/scroll_bar.rb +21 -12
  313. data/lib/wx/doc/gen/scrolled_canvas.rb +34 -12
  314. data/lib/wx/doc/gen/scrolled_control.rb +34 -12
  315. data/lib/wx/doc/gen/scrolled_window.rb +34 -12
  316. data/lib/wx/doc/gen/search_ctrl.rb +10 -11
  317. data/lib/wx/doc/gen/simplebook.rb +1 -1
  318. data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
  319. data/lib/wx/doc/gen/sizer.rb +12 -7
  320. data/lib/wx/doc/gen/sizer_item.rb +5 -2
  321. data/lib/wx/doc/gen/slider.rb +29 -19
  322. data/lib/wx/doc/gen/spin_button.rb +16 -11
  323. data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
  324. data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
  325. data/lib/wx/doc/gen/spin_double_event.rb +3 -4
  326. data/lib/wx/doc/gen/spin_event.rb +3 -3
  327. data/lib/wx/doc/gen/splash_screen.rb +1 -2
  328. data/lib/wx/doc/gen/splitter_event.rb +3 -4
  329. data/lib/wx/doc/gen/splitter_window.rb +78 -20
  330. data/lib/wx/doc/gen/static_bitmap.rb +12 -7
  331. data/lib/wx/doc/gen/static_box.rb +13 -11
  332. data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
  333. data/lib/wx/doc/gen/static_line.rb +5 -6
  334. data/lib/wx/doc/gen/static_text.rb +7 -8
  335. data/lib/wx/doc/gen/status_bar.rb +21 -11
  336. data/lib/wx/doc/gen/stc/event_list.rb +212 -208
  337. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +41 -15
  338. data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
  339. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
  340. data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
  341. data/lib/wx/doc/gen/system_options.rb +6 -6
  342. data/lib/wx/doc/gen/system_settings.rb +2 -3
  343. data/lib/wx/doc/gen/task_bar_button.rb +312 -0
  344. data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
  345. data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
  346. data/lib/wx/doc/gen/text_attr.rb +20 -5
  347. data/lib/wx/doc/gen/text_ctrl.rb +92 -27
  348. data/lib/wx/doc/gen/text_entry.rb +31 -11
  349. data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
  350. data/lib/wx/doc/gen/text_validator.rb +43 -10
  351. data/lib/wx/doc/gen/time_picker_ctrl.rb +7 -8
  352. data/lib/wx/doc/gen/timer.rb +6 -2
  353. data/lib/wx/doc/gen/timer_event.rb +1 -2
  354. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  355. data/lib/wx/doc/gen/toggle_button.rb +7 -8
  356. data/lib/wx/doc/gen/tool_bar.rb +99 -26
  357. data/lib/wx/doc/gen/tool_tip.rb +35 -5
  358. data/lib/wx/doc/gen/toolbook.rb +3 -4
  359. data/lib/wx/doc/gen/top_level_window.rb +71 -25
  360. data/lib/wx/doc/gen/tree_ctrl.rb +42 -18
  361. data/lib/wx/doc/gen/tree_event.rb +3 -4
  362. data/lib/wx/doc/gen/treebook.rb +7 -4
  363. data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
  364. data/lib/wx/doc/gen/utils.rb +39 -7
  365. data/lib/wx/doc/gen/v_list_box.rb +8 -4
  366. data/lib/wx/doc/gen/v_scrolled_window.rb +8 -6
  367. data/lib/wx/doc/gen/validator.rb +1 -1
  368. data/lib/wx/doc/gen/variant.rb +1 -0
  369. data/lib/wx/doc/gen/window.rb +200 -50
  370. data/lib/wx/doc/gen/window_dc.rb +0 -1
  371. data/lib/wx/doc/gen/window_disabler.rb +5 -2
  372. data/lib/wx/doc/gen/with_images.rb +6 -1
  373. data/lib/wx/doc/gen/wizard.rb +4 -4
  374. data/lib/wx/doc/gen/wizard_event.rb +3 -4
  375. data/lib/wx/doc/gen/wizard_page.rb +2 -2
  376. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  377. data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
  378. data/lib/wx/doc/gen/xml_node.rb +19 -4
  379. data/lib/wx/doc/gen/xml_resource.rb +18 -5
  380. data/lib/wx/doc/graphics_context.rb +1 -0
  381. data/lib/wx/doc/grid/grid.rb +22 -1
  382. data/lib/wx/doc/help_controller.rb +11 -7
  383. data/lib/wx/doc/html/html_help_controller.rb +12 -4
  384. data/lib/wx/doc/list_ctrl.rb +33 -29
  385. data/lib/wx/doc/menu.rb +20 -0
  386. data/lib/wx/doc/notebook.rb +21 -0
  387. data/lib/wx/doc/pg/events.rb +13 -9
  388. data/lib/wx/doc/pg/pg_property.rb +18 -0
  389. data/lib/wx/doc/progress_dialog.rb +36 -32
  390. data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
  391. data/lib/wx/doc/prt/print_data.rb +13 -5
  392. data/lib/wx/doc/prt/print_dialog.rb +31 -23
  393. data/lib/wx/doc/prt/printer.rb +20 -12
  394. data/lib/wx/doc/radio_box.rb +19 -15
  395. data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
  396. data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
  397. data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
  398. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
  399. data/lib/wx/doc/region_iterator.rb +32 -28
  400. data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
  401. data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
  402. data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
  403. data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
  404. data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
  405. data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
  406. data/lib/wx/doc/sizer.rb +20 -0
  407. data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
  408. data/lib/wx/doc/stream.rb +39 -35
  409. data/lib/wx/doc/system_settings.rb +30 -26
  410. data/lib/wx/doc/text_validator.rb +12 -8
  411. data/lib/wx/doc/textctrl.rb +16 -0
  412. data/lib/wx/doc/tree_ctrl.rb +95 -0
  413. data/lib/wx/doc/treebook.rb +9 -5
  414. data/lib/wx/doc/v_list_box.rb +9 -5
  415. data/lib/wx/doc/variant.rb +164 -160
  416. data/lib/wx/doc/window.rb +57 -42
  417. data/lib/wx/doc/window_disabler.rb +10 -6
  418. data/lib/wx/grid/grid.rb +27 -4
  419. data/lib/wx/keyword_defs.rb +43 -6
  420. data/lib/wx/pg/pg_property.rb +22 -0
  421. data/lib/wx/rtc/require.rb +3 -0
  422. data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
  423. data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
  424. data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
  425. data/lib/wx/stc/require.rb +1 -0
  426. data/lib/wx/stc/styled_text_ctrl.rb +25 -0
  427. data/lib/wx/version.rb +1 -1
  428. data/lib/wxruby_aui.so +0 -0
  429. data/lib/wxruby_core.so +0 -0
  430. data/lib/wxruby_grid.so +0 -0
  431. data/lib/wxruby_html.so +0 -0
  432. data/lib/wxruby_pg.so +0 -0
  433. data/lib/wxruby_prt.so +0 -0
  434. data/lib/wxruby_rbn.so +0 -0
  435. data/lib/wxruby_rtc.so +0 -0
  436. data/lib/wxruby_stc.so +0 -0
  437. data/rakelib/lib/config/linux.rb +0 -3
  438. data/rakelib/lib/config/macosx.rb +1 -1
  439. data/rakelib/lib/config/mingw.rb +1 -1
  440. data/rakelib/lib/config/unixish.rb +1 -1
  441. data/rakelib/lib/config.rb +14 -4
  442. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
  443. data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
  444. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
  445. data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
  446. data/rakelib/yard/templates/default/tags/setup.rb +16 -0
  447. data/rakelib/yard/yard-custom-templates.rb +3 -0
  448. data/samples/text/richtext.rb +0 -30
  449. data/samples/treectrl/treectrl.rb +1 -1
  450. data/tests/media/beep_lo.wav +0 -0
  451. data/tests/test_app_exit_exception.rb +36 -0
  452. data/tests/test_app_init_exception.rb +20 -0
  453. data/tests/test_book_controls.rb +29 -0
  454. data/tests/test_exceptions.rb +41 -0
  455. data/tests/test_list_ctrl.rb +1 -1
  456. data/tests/test_media_ctrl.rb +38 -0
  457. data/tests/test_menu.rb +69 -0
  458. data/tests/test_pg.rb +27 -0
  459. data/tests/test_richtext.rb +45 -0
  460. data/tests/test_sizer.rb +59 -0
  461. data/tests/test_std_controls.rb +78 -1
  462. data/tests/test_styled_text_ctrl.rb +46 -0
  463. data/tests/test_tree_ctrl.rb +138 -0
  464. data/tests/test_window.rb +12 -0
  465. data/tests/testapp_noframe.rb +1 -1
  466. metadata +38 -3
@@ -10,13 +10,13 @@ module Wx
10
10
  # The strings are displayed in a scrolling box, with the selected string(s) marked in reverse video. A listbox can be single selection (if an item is selected, the previous selection is removed) or multiple selection (clicking an item toggles the item on or off independently of other selections).
11
11
  # List box elements are numbered from zero and while the maximal number of elements is unlimited, it is usually better to use a virtual control, not requiring to add all the items to it at once, such as {Wx::DataViewCtrl} or {Wx::ListCtrl} with {Wx::LC_VIRTUAL} style, once more than a few hundreds items need to be displayed because this control is not optimized, neither from performance nor from user interface point of view, for large number of items.
12
12
  # Notice that the list box doesn't support control characters other than TAB.
13
- # === Styles
13
+ # ### Styles
14
14
  #
15
15
  # This class supports the following styles:
16
16
  #
17
17
  # - {Wx::LB_SINGLE}: Single-selection list.
18
18
  #
19
- # - {Wx::LB_MULTIPLE}: Multiple-selection list: the user can toggle multiple items on and off. This is the same as {Wx::LB_EXTENDED} in wxGTK2 port.
19
+ # - {Wx::LB_MULTIPLE}: Multiple-selection list: the user can toggle multiple items on and off. This is the same as {Wx::LB_EXTENDED} in WXGTK2 port.
20
20
  #
21
21
  # - {Wx::LB_EXTENDED}: Extended-selection list: the user can extend the selection by using SHIFT or CTRL keys together with the cursor movement keys or the mouse.
22
22
  #
@@ -26,25 +26,23 @@ module Wx
26
26
  #
27
27
  # - {Wx::LB_NEEDED_SB}: Only create a vertical scrollbar if needed.
28
28
  #
29
- # - {Wx::LB_NO_SB}: Don't create vertical scrollbar (wxMSW and wxGTK only).
29
+ # - {Wx::LB_NO_SB}: Don't create vertical scrollbar (WXMSW and WXGTK only).
30
30
  #
31
31
  # - {Wx::LB_SORT}: The listbox contents are sorted in alphabetical order.
32
32
  #
33
33
  # Note that {Wx::LB_SINGLE}, {Wx::LB_MULTIPLE} and {Wx::LB_EXTENDED} styles are mutually exclusive and you can specify at most one of them (single selection is the default). See also Window Styles.
34
- # === Events emitted by this class
34
+ # ### Events emitted by this class
35
35
  #
36
36
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
37
37
  # Event handler methods for events emitted by this class:
38
38
  #
39
39
  # - {Wx::EvtHandler#evt_listbox}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX} event, when an item on the list is selected or the selection changes.
40
40
  #
41
- # - {Wx::EvtHandler#evt_listbox_dclick}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX_DCLICK} event, when the listbox is double-clicked. On some platforms (notably wxGTK2) pressing the enter key is handled as an equivalent of a double-click.
41
+ # - {Wx::EvtHandler#evt_listbox_dclick}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX_DCLICK} event, when the listbox is double-clicked. On some platforms (notably WXGTK2) pressing the enter key is handled as an equivalent of a double-click.
42
42
  #
43
- # ===
44
- #
45
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
46
- # </td><td> wxGTK Appearance
47
- # </td><td> wxOSX Appearance
43
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
44
+ # </td><td> WXGTK Appearance
45
+ # </td><td> WXOSX Appearance
48
46
  # </td></tr></table></div>
49
47
  # @see Wx::EditableListBox
50
48
  # @see Wx::Choice
@@ -53,9 +51,10 @@ module Wx
53
51
  # @see Wx::CommandEvent
54
52
  #
55
53
  #
54
+ # @wxrb_require USE_LISTBOX
56
55
  class ListBox < ControlWithItems
57
56
 
58
- # @overload create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListBoxNameStr)
57
+ # @overload create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_BOX_NAME_STR)
59
58
  # Creates the listbox for two-step construction.
60
59
  # See {Wx::ListBox#initialize} for further details.
61
60
  # @param parent [Wx::Window]
@@ -67,7 +66,7 @@ module Wx
67
66
  # @param validator [Wx::Validator]
68
67
  # @param name [String]
69
68
  # @return [Boolean]
70
- # @overload create(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListBoxNameStr)
69
+ # @overload create(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_BOX_NAME_STR)
71
70
  # Creates the listbox for two-step construction.
72
71
  # See {Wx::ListBox#initialize} for further details.
73
72
  # @param parent [Wx::Window]
@@ -84,7 +83,7 @@ module Wx
84
83
  # @overload initialize()
85
84
  # Default constructor.
86
85
  # @return [Wx::ListBox]
87
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListBoxNameStr)
86
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_BOX_NAME_STR)
88
87
  # Constructor, creating and showing a list box.
89
88
  # @param parent [Wx::Window] The parent window.
90
89
  # @param id [Integer] The ID of this control. A value of {Wx::StandardID::ID_ANY} indicates a default value.
@@ -95,7 +94,7 @@ module Wx
95
94
  # @param validator [Wx::Validator] The validator for this control.
96
95
  # @param name [String] The name of this class.
97
96
  # @return [Wx::ListBox]
98
- # @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListBoxNameStr)
97
+ # @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_BOX_NAME_STR)
99
98
  # Constructor, creating and showing a list box.
100
99
  # See the other {Wx::ListBox#initialize} constructor; the only difference is that this overload takes a {Wx::ArrayString} instead of a pointer to an array of {Wx::String}.
101
100
  # @param parent [Wx::Window]
@@ -110,7 +109,11 @@ module Wx
110
109
  def initialize(*args) end
111
110
 
112
111
  # Deselects an item in the list box.
113
- # This applies to multiple selection listboxes only.
112
+ # <div class="wxrb-remark">
113
+ # <b>Remark:</b>
114
+ # <p>This applies to multiple selection listboxes only.
115
+ # </p>
116
+ # </div>>
114
117
  # @param n [Integer] The zero-based item to deselect.
115
118
  # @return [void]
116
119
  def deselect(n) end
@@ -127,7 +130,11 @@ module Wx
127
130
  # Returns the index of the selected item or {Wx::NOT_FOUND} if no item is selected.
128
131
  # The position of the current selection.
129
132
  #
130
- # This method can be used with single selection list boxes only, you must use {Wx::ListBox#get_selections} for the list boxes with {Wx::LB_MULTIPLE} style.
133
+ # <div class="wxrb-remark">
134
+ # <b>Remark:</b>
135
+ # <p>This method can be used with single selection list boxes only, you must use {Wx::ListBox#get_selections} for the list boxes with {Wx::LB_MULTIPLE} style.
136
+ # </p>
137
+ # </div>>
131
138
  # @see Wx::ListBox#set_selection
132
139
  # @see Wx::ListBox#get_string_selection
133
140
  # @return [Integer]
@@ -147,7 +154,11 @@ module Wx
147
154
  # Fill an array of ints with the positions of the currently selected items.
148
155
  # The number of selections.
149
156
  #
150
- # Use this with a multiple selection listbox.
157
+ # <div class="wxrb-remark">
158
+ # <b>Remark:</b>
159
+ # <p>Use this with a multiple selection listbox.
160
+ # </p>
161
+ # </div>>
151
162
  # @see Wx::ControlWithItems::GetSelection
152
163
  # @see Wx::ControlWithItems::GetStringSelection
153
164
  # @see Wx::ControlWithItems::SetSelection
@@ -157,7 +168,7 @@ module Wx
157
168
 
158
169
  # @overload hit_test(point)
159
170
  # Returns the item located at point, or {Wx::NOT_FOUND} if there is no item located at point.
160
- # It is currently implemented for wxMSW, {Wx::Mac} and wxGTK2 ports.
171
+ # It is currently implemented for WXMSW, WXOSX and WXGTK2 ports.
161
172
  #
162
173
  # Item located at point, or {Wx::NOT_FOUND} if unimplemented or the item does not exist.
163
174
  # @param point [Array(Integer, Integer), Wx::Point] Point of item (in client coordinates) to obtain
@@ -200,7 +211,7 @@ module Wx
200
211
  def ensure_visible(n) end
201
212
 
202
213
  # Return the number of items that can fit vertically in the visible area of the listbox.
203
- # Returns -1 if the number of items per page couldn't be determined. On wxGTK this method can only determine the number of items per page if there is at least one item in the listbox.
214
+ # Returns -1 if the number of items per page couldn't be determined. On WXGTK this method can only determine the number of items per page if there is at least one item in the listbox.
204
215
  # @return [Integer]
205
216
  def get_count_per_page; end
206
217
  alias_method :count_per_page, :get_count_per_page
@@ -218,9 +229,10 @@ module Wx
218
229
  #
219
230
  # true if all specified tabs are set, false otherwise
220
231
  #
221
- # Availability: only available for the wxMSW port. {Wx::msw}
222
- # @param tabStops [Wx::Vector< int >] If this argument is empty, tab stops are reset to their default value (every 32 dialog units). If it contains a single element, tab stops are set at each multiple of the given value. Otherwise tab stops are set at every element of the array, which must be in ascending order.
232
+ # Availability: only available for the WXMSW port.
233
+ # @param tabStops [Array<Integer>] If this argument is empty, tab stops are reset to their default value (every 32 dialog units). If it contains a single element, tab stops are set at each multiple of the given value. Otherwise tab stops are set at every element of the array, which must be in ascending order.
223
234
  # @return [Boolean]
235
+ # @wxrb_require WXMSW
224
236
  def msw_set_tab_stops(tabStops) end
225
237
 
226
238
  # Returns the number of items in the control.
@@ -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,12 +455,13 @@ 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()
448
462
  # Default constructor.
449
463
  # @return [Wx::ListCtrl]
450
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr)
464
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_CTRL_NAME_STR)
451
465
  # Constructor, creating and showing a list control.
452
466
  #
453
467
  # @see Wx::ListCtrl#create
@@ -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
 
@@ -496,7 +514,7 @@ module Wx
496
514
  # @param validator [Wx::Validator]
497
515
  # @param name [String]
498
516
  # @return [Boolean]
499
- def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr) end
517
+ def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_CTRL_NAME_STR) end
500
518
 
501
519
  # Delete all columns in the list control.
502
520
  # true if all columns were successfully deleted, false otherwise.
@@ -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,21 +1550,21 @@ 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()
1518
1565
  # Default constructor.
1519
1566
  # @return [Wx::ListView]
1520
- # @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_REPORT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr)
1567
+ # @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_REPORT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_CTRL_NAME_STR)
1521
1568
  # Constructor, creating and showing a listview control.
1522
1569
  #
1523
1570
  # @see Wx::ListView#create
@@ -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