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
@@ -19,9 +19,14 @@ module Wx
19
19
  # It usually has thick borders and a title bar, and can optionally contain a menu bar, toolbar and status bar. A frame can contain any window that is not a frame or dialog.
20
20
  # A frame that has a status bar and toolbar, created via the {Wx::Frame#create_status_bar} and {Wx::Frame#create_tool_bar} functions, manages these windows and adjusts the value returned by {Wx::Frame#get_client_size} to reflect the remaining size available to application windows.
21
21
  # If a frame is to be used as an input form, the controls should not be created as its children. Instead, a {Wx::Panel} should be created as the sole child of the frame, serving as the parent of the actual controls (the frame will size the panel so it always fills its client area). Doing this will ensure that tabbing between the controls works and the frame background has the expected colour. Moreover, as a frame is by default resizable, it could be better to use {Wx::ScrolledWindow} instead of {Wx::Panel}, to make sure the controls are easily accessible regardless of the frame size. However, please consider whether it would not be better to use {Wx::Dialog} instead of {Wx::Frame}, where using a panel like this is not needed and {Wx::Dialog} also offers other benefits such as creating specialized sizers (e.g., for buttons, with their platform-correct order).
22
- # An application should normally define a {Wx::CloseEvent} handler for the frame to respond to system close events, for example so that related data and subwindows can be cleaned up.
23
22
  #
24
- # == Default event processing
23
+ # <div class="wxrb-remark">
24
+ # <b>Remark:</b>
25
+ # <p>An application should normally define a {Wx::CloseEvent} handler for the frame to respond to system close events, for example so that related data and subwindows can be cleaned up.
26
+ # </p>
27
+ # </div>>
28
+ #
29
+ # ## Default event processing
25
30
  #
26
31
  # {Wx::Frame} processes the following events:
27
32
  #
@@ -29,7 +34,7 @@ module Wx
29
34
  #
30
35
  # - {Wx::EVT_MENU_HIGHLIGHT}: the default implementation displays the help string associated with the selected item in the first pane of the status bar, if there is one.
31
36
  #
32
- # === Styles
37
+ # ### Styles
33
38
  #
34
39
  # This class supports the following styles:
35
40
  #
@@ -45,7 +50,7 @@ module Wx
45
50
  #
46
51
  # - {Wx::MAXIMIZE}: Displays the frame maximized. Windows and GTK+ only.
47
52
  #
48
- # - {Wx::MAXIMIZE_BOX}: Displays a maximize box on the frame. Notice that under wxGTK {Wx::RESIZE_BORDER} must be used as well or this style is ignored.
53
+ # - {Wx::MAXIMIZE_BOX}: Displays a maximize box on the frame. Notice that under WXGTK {Wx::RESIZE_BORDER} must be used as well or this style is ignored.
49
54
  #
50
55
  # - {Wx::CLOSE_BOX}: Displays a close box on the frame.
51
56
  #
@@ -57,7 +62,7 @@ module Wx
57
62
  #
58
63
  # - {Wx::FRAME_TOOL_WINDOW}: Causes a frame with a small title bar to be created; the frame does not appear in the taskbar under Windows or GTK+.
59
64
  #
60
- # - {Wx::FRAME_NO_TASKBAR}: Creates an otherwise normal frame but it does not appear in the taskbar under Windows or GTK+ (note that it will minimize to the desktop window under Windows which may seem strange to the users and thus it might be better to use this style only without {Wx::MINIMIZE_BOX} style). In wxGTK, the flag is respected only if the window manager supports _NET_WM_STATE_SKIP_TASKBAR hint.
65
+ # - {Wx::FRAME_NO_TASKBAR}: Creates an otherwise normal frame but it does not appear in the taskbar under Windows or GTK+ (note that it will minimize to the desktop window under Windows which may seem strange to the users and thus it might be better to use this style only without {Wx::MINIMIZE_BOX} style). In WXGTK, the flag is respected only if the window manager supports _NET_WM_STATE_SKIP_TASKBAR hint.
61
66
  #
62
67
  # - {Wx::FRAME_FLOAT_ON_PARENT}: The frame will always be on top of its parent (unlike {Wx::STAY_ON_TOP}). A frame created with this style must have a non-NULL parent.
63
68
  #
@@ -71,7 +76,7 @@ module Wx
71
76
  #
72
77
  # See also the Window Styles.
73
78
  #
74
- # === Extra Styles
79
+ # ### Extra Styles
75
80
  #
76
81
  # This class supports the following extra styles:
77
82
  #
@@ -79,7 +84,7 @@ module Wx
79
84
  #
80
85
  # - {Wx::FRAME_EX_METAL}: On macOS, frames with this style will be shown with a metallic look. This is an extra style.
81
86
  #
82
- # === Events emitted by this class
87
+ # ### Events emitted by this class
83
88
  #
84
89
  # Event handler methods for events emitted by this class:
85
90
  #
@@ -95,8 +100,6 @@ module Wx
95
100
  #
96
101
  # - {Wx::EvtHandler#evt_menu_highlight_all}(meth = nil, &block): A menu item has been highlighted, i.e. the currently selected menu item has changed. See {Wx::MenuEvent}.
97
102
  #
98
- # ===
99
- #
100
103
  # Category: Managed Windows
101
104
  # @see Wx::MDIParentFrame
102
105
  # @see Wx::MDIChildFrame
@@ -109,9 +112,13 @@ module Wx
109
112
  # @overload initialize()
110
113
  # Default constructor.
111
114
  # @return [Wx::Frame]
112
- # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr)
115
+ # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR)
113
116
  # Constructor, creating the window.
114
- # For Motif, MWM (the Motif Window Manager) should be running for any window styles to work (otherwise all styles take effect).
117
+ # <div class="wxrb-remark">
118
+ # <b>Remark:</b>
119
+ # <p>For Motif, MWM (the Motif Window Manager) should be running for any window styles to work (otherwise all styles take effect).
120
+ # </p>
121
+ # </div>>
115
122
  # @see Wx::Frame#create
116
123
  # @param parent [Wx::Window] The window parent. This may be, and often is, NULL. If it is non-NULL, the frame will be minimized when its parent is minimized and restored when it is restored (although it will still be possible to minimize and restore just this frame itself).
117
124
  # @param id [Integer] The window identifier. It may take a value of -1 to indicate a default value.
@@ -138,12 +145,16 @@ module Wx
138
145
  # @param style [Integer]
139
146
  # @param name [String]
140
147
  # @return [Boolean]
141
- def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr) end
148
+ def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR) end
142
149
 
143
150
  # Creates a status bar at the bottom of the frame.
144
151
  # A pointer to the status bar if it was created successfully, NULL otherwise.
145
152
  #
146
- # The width of the status bar is the whole width of the frame (adjusted automatically when resizing), and the height and text size are chosen by the host windowing system.
153
+ # <div class="wxrb-remark">
154
+ # <b>Remark:</b>
155
+ # <p>The width of the status bar is the whole width of the frame (adjusted automatically when resizing), and the height and text size are chosen by the host windowing system.
156
+ # </p>
157
+ # </div>>
147
158
  # @see Wx::Frame#set_status_text
148
159
  # @see Wx::Frame#on_create_status_bar
149
160
  # @see Wx::Frame#get_status_bar
@@ -152,12 +163,16 @@ module Wx
152
163
  # @param id [Integer] The status bar window identifier. If -1, an identifier will be chosen by wxWidgets.
153
164
  # @param name [String] The status bar window name.
154
165
  # @return [Wx::StatusBar]
155
- def create_status_bar(number=1, style=Wx::STB_DEFAULT_STYLE, id=0, name=Wx::StatusBarNameStr) end
166
+ def create_status_bar(number=1, style=Wx::STB_DEFAULT_STYLE, id=0, name=Wx::STATUS_BAR_NAME_STR) end
156
167
 
157
168
  # Creates a toolbar at the top or left of the frame.
158
169
  # A pointer to the toolbar if it was created successfully, NULL otherwise.
159
170
  #
160
- # By default, the toolbar is an instance of {Wx::ToolBar}. To use a different class, override {Wx::Frame#on_create_tool_bar}. When a toolbar has been created with this function, or made known to the frame with {Wx::Frame#set_tool_bar}, the frame will manage the toolbar position and adjust the return value from {Wx::Window#get_client_size} to reflect the available space for application windows. Under Pocket PC, you should always use this function for creating the toolbar to be managed by the frame, so that wxWidgets can use a combined menubar and toolbar. Where you manage your own toolbars, create a {Wx::ToolBar} as usual.
171
+ # <div class="wxrb-remark">
172
+ # <b>Remark:</b>
173
+ # <p>By default, the toolbar is an instance of {Wx::ToolBar}. To use a different class, override {Wx::Frame#on_create_tool_bar}. When a toolbar has been created with this function, or made known to the frame with {Wx::Frame#set_tool_bar}, the frame will manage the toolbar position and adjust the return value from {Wx::Window#get_client_size} to reflect the available space for application windows. Under Pocket PC, you should always use this function for creating the toolbar to be managed by the frame, so that wxWidgets can use a combined menubar and toolbar. Where you manage your own toolbars, create a {Wx::ToolBar} as usual.
174
+ # </p>
175
+ # </div>>
161
176
  # @see Wx::Frame#create_status_bar
162
177
  # @see Wx::Frame#on_create_tool_bar
163
178
  # @see Wx::Frame#set_tool_bar
@@ -166,7 +181,7 @@ module Wx
166
181
  # @param id [Integer] The toolbar window identifier. If -1, an identifier will be chosen by wxWidgets.
167
182
  # @param name [String] The toolbar window name.
168
183
  # @return [Wx::ToolBar]
169
- def create_tool_bar(style=Wx::TB_DEFAULT_STYLE, id=Wx::StandardID::ID_ANY, name=Wx::ToolBarNameStr) end
184
+ def create_tool_bar(style=Wx::TB_DEFAULT_STYLE, id=Wx::StandardID::ID_ANY, name=Wx::TOOL_BAR_NAME_STR) end
170
185
 
171
186
  # Method used to show help string of the selected menu toolbar item.
172
187
  # This method is called by the default {Wx::EVT_MENU_HIGHLIGHT} event handler and also by {Wx::ToolBar} to show the optional help string associated with the selected menu or toolbar item. It can be overridden if the default behaviour of showing this string in the frame status bar is not appropriate.
@@ -221,7 +236,11 @@ module Wx
221
236
  def process_command(id) end
222
237
 
223
238
  # Tells the frame to show the given menu bar.
224
- # If the frame is destroyed, the menu bar and its menus will be destroyed also, so do not delete the menu bar explicitly (except by resetting the frame's menu bar to another frame or NULL). Under Windows, a size event is generated, so be sure to initialize data members properly before calling {Wx::Frame#set_menu_bar}. Note that on some platforms, it is not possible to call this function twice for the same frame object.
239
+ # <div class="wxrb-remark">
240
+ # <b>Remark:</b>
241
+ # <p>If the frame is destroyed, the menu bar and its menus will be destroyed also, so do not delete the menu bar explicitly (except by resetting the frame's menu bar to another frame or NULL). Under Windows, a size event is generated, so be sure to initialize data members properly before calling {Wx::Frame#set_menu_bar}. Note that on some platforms, it is not possible to call this function twice for the same frame object.
242
+ # </p>
243
+ # </div>>
225
244
  # @see Wx::Frame#get_menu_bar
226
245
  # @see Wx::MenuBar
227
246
  # @see Wx::Menu.
@@ -250,7 +269,11 @@ module Wx
250
269
  # Sets the status bar text and updates the status bar display.
251
270
  # This is a simple wrapper for {Wx::StatusBar#set_status_text} which doesn't do anything if the frame has no status bar, i.e. {Wx::Frame#get_status_bar} returns NULL.
252
271
  #
253
- # Use an empty string to clear the status bar.
272
+ # <div class="wxrb-remark">
273
+ # <b>Remark:</b>
274
+ # <p>Use an empty string to clear the status bar.
275
+ # </p>
276
+ # </div>>
254
277
  # @see Wx::Frame#create_status_bar
255
278
  # @see Wx::StatusBar
256
279
  # @param text [String] The text for the status field.
@@ -260,7 +283,11 @@ module Wx
260
283
  alias_method :status_text=, :set_status_text
261
284
 
262
285
  # Sets the widths of the fields in the status bar.
263
- # The widths of the variable fields are calculated from the total width of all fields, minus the sum of widths of the non-variable fields, divided by the number of variable fields.
286
+ # <div class="wxrb-remark">
287
+ # <b>Remark:</b>
288
+ # <p>The widths of the variable fields are calculated from the total width of all fields, minus the sum of widths of the non-variable fields, divided by the number of variable fields.
289
+ # </p>
290
+ # </div>>
264
291
  # @param widths_field [Array<Integer>] Must contain an array of n integers, each of which is a status field width in pixels. A value of -1 indicates that the field is variable width; at least one field must be -1. You should delete this array after calling {Wx::Frame#set_status_widths}.
265
292
  # @return [void]
266
293
  def set_status_widths(widths_field) end
@@ -271,6 +298,20 @@ module Wx
271
298
  def set_tool_bar(toolBar) end
272
299
  alias_method :tool_bar=, :set_tool_bar
273
300
 
301
+ # MSW-specific function for accessing the taskbar button under Windows 7 or later.
302
+ # Returns a {Wx::TaskBarButton} pointer representing the taskbar button of the window under Windows 7 or later. The returned {Wx::TaskBarButton} may be used, if non-NULL, to access the functionality including thumbnail representations, thumbnail toolbars, notification and status overlays, and progress indicators.
303
+ # The returned pointer must not be deleted, it is owned by the frame and will be only deleted when the frame itself is destroyed.
304
+ # This function is not available in the other ports by design, any occurrences of it in the portable code must be guarded by
305
+ # ```ruby
306
+ # if Wx::PLATFORM == 'WXMSW'
307
+ # #...
308
+ # end
309
+ # ```
310
+ # preprocessor guards.
311
+ # @return [Wx::TaskBarButton]
312
+ # @wxrb_require WXMSW,USE_TASKBARBUTTON
313
+ def msw_get_task_bar_button; end
314
+
274
315
  # @param text [String]
275
316
  # @param number [Integer]
276
317
  # @return [void]
@@ -10,6 +10,7 @@ module Wx
10
10
  #
11
11
  #
12
12
  #
13
+ # @wxrb_require USE_FILESYSTEM
13
14
  class FileSystemOpenFlags < Wx::Enum
14
15
 
15
16
  # Open for reading.
@@ -24,6 +25,7 @@ module Wx
24
25
 
25
26
  # Parameter indicating how file offset should be interpreted.
26
27
  #
28
+ # @wxrb_require USE_FILESYSTEM
27
29
  class SeekMode < Wx::Enum
28
30
 
29
31
  # Seek from the file beginning.
@@ -42,6 +44,7 @@ module Wx
42
44
 
43
45
  # IO stream error codes.
44
46
  #
47
+ # @wxrb_require USE_FILESYSTEM
45
48
  class StreamError < Wx::Enum
46
49
 
47
50
  # No error occurred.
@@ -64,9 +67,12 @@ module Wx
64
67
 
65
68
  # This class represents a single file opened by {Wx::FileSystem}.
66
69
  # It provides more information than wxWidgets' input streams (stream, filename, mime type, anchor).
67
- # Any pointer returned by a method of {Wx::FSFile} is valid only as long as the {Wx::FSFile} object exists. For example a call to {Wx::FSFile#get_stream} doesn't create the stream but only returns the pointer to it. In other words after 10 calls to {Wx::FSFile#get_stream} you will have obtained ten identical pointers.
68
70
  #
69
- # ===
71
+ # <div class="wxrb-note">
72
+ # <b>Note:</b>
73
+ # <p>Any pointer returned by a method of {Wx::FSFile} is valid only as long as the {Wx::FSFile} object exists. For example a call to {Wx::FSFile#get_stream} doesn't create the stream but only returns the pointer to it. In other words after 10 calls to {Wx::FSFile#get_stream} you will have obtained ten identical pointers.
74
+ # </p>
75
+ # </div>
70
76
  #
71
77
  # Category: Virtual File System, File Handling
72
78
  # @see Wx::FileSystemHandler
@@ -74,6 +80,7 @@ module Wx
74
80
  # @see wxFileSystem Overview
75
81
  #
76
82
  #
83
+ # @wxrb_require USE_FILESYSTEM
77
84
  class FSFile < Object
78
85
 
79
86
  # Constructor.
@@ -96,19 +103,19 @@ module Wx
96
103
 
97
104
  # Returns anchor (if present).
98
105
  # The term of <b>anchor</b> can be easily explained using few examples:
99
- # index.htm#anchor // 'anchor' is anchor
106
+ # index.htm\#anchor // 'anchor' is anchor
100
107
  # index/{Wx::001}.htm // NO anchor here!
101
- # archive/main.zip#zip:index.htm#global // 'global'
102
- # archive/main.zip#zip:index.htm // NO anchor here!
108
+ # archive/main.zip\#zip:index.htm\#global // 'global'
109
+ # archive/main.zip\#zip:index.htm // NO anchor here!
103
110
  #
104
- # Usually an anchor is presented only if the MIME type is 'text/html'. But it may have some meaning with other files; for example myanim.avi#200 may refer to position in animation or reality.wrl::MyView may refer to a predefined view in VRML.
111
+ # Usually an anchor is presented only if the MIME type is 'text/html'. But it may have some meaning with other files; for example myanim.avi\#200 may refer to position in animation or reality.wrl::MyView may refer to a predefined view in VRML.
105
112
  # @return [Wx::String]
106
113
  def get_anchor; end
107
114
  alias_method :anchor, :get_anchor
108
115
 
109
116
  # Returns full location of the file, including path and protocol.
110
117
  # Examples: http://www.{Wx::widgets}.org
111
- # http://www.ms.mff.cuni.cz/~vsla8348/{Wx::html}/archive.zip#zip:info.txt
118
+ # http://www.ms.mff.cuni.cz/~vsla8348/{Wx::html}/archive.zip\#zip:info.txt
112
119
  # file:/home/vasek/index.htm
113
120
  # relative-file.htm
114
121
  # @return [Wx::String]
@@ -136,7 +143,6 @@ module Wx
136
143
 
137
144
  # This class is the base class of most stream related classes in wxWidgets.
138
145
  # It must not be used directly.
139
- # ===
140
146
  #
141
147
  # Category: {Wx::Streams}
142
148
  # @see Wx::StreamBuffer
@@ -144,6 +150,7 @@ module Wx
144
150
  #
145
151
  #
146
152
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
153
+ # @wxrb_require USE_FILESYSTEM
147
154
  class StreamBase < ::Object
148
155
 
149
156
  # Creates a dummy stream object.
@@ -193,12 +200,12 @@ module Wx
193
200
  # {Wx::InputStream} is an abstract base class which may not be used directly.
194
201
  # It is the base class of all streams which provide a {Wx::InputStream#read} function, i.e. which can be used to read data from a source (e.g. a file, a socket, etc).
195
202
  # If you want to create your own input stream, you'll need to derive from this class and implement the protected {Wx::InputStream#on_sys_read} function only.
196
- # ===
197
203
  #
198
204
  # Category: {Wx::Streams}
199
205
  #
200
206
  #
201
207
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
208
+ # @wxrb_require USE_FILESYSTEM
202
209
  class InputStream < StreamBase
203
210
 
204
211
  # Creates a dummy input stream.
@@ -259,12 +266,12 @@ module Wx
259
266
  # {Wx::OutputStream} is an abstract base class which may not be used directly.
260
267
  # It is the base class of all streams which provide a {Wx::OutputStream#write} function, i.e. which can be used to output data (e.g. to a file, to a socket, etc).
261
268
  # If you want to create your own output stream, you'll need to derive from this class and implement the protected {Wx::OutputStream#on_sys_write} function only.
262
- # ===
263
269
  #
264
270
  # Category: {Wx::Streams}
265
271
  #
266
272
  #
267
273
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
274
+ # @wxrb_require USE_FILESYSTEM
268
275
  class OutputStream < StreamBase
269
276
 
270
277
  # Creates a dummy {Wx::OutputStream} object.
@@ -26,7 +26,7 @@ module Wx
26
26
  # The first is the usual working mode (see {Wx::Gauge#set_value} and {Wx::Gauge#set_range}) while the second can be used when the program is doing some processing but you don't know how much progress is being done. In this case, you can periodically call the {Wx::Gauge#pulse} function to make the progress bar switch to indeterminate mode (graphically it's usually a set of blocks which move or bounce in the bar control).
27
27
  # {Wx::Gauge} supports dynamic switch between these two work modes.
28
28
  # There are no user commands for the gauge.
29
- # === Styles
29
+ # ### Styles
30
30
  #
31
31
  # This class supports the following styles:
32
32
  #
@@ -40,22 +40,21 @@ module Wx
40
40
  #
41
41
  # - {Wx::GA_PROGRESS}: Reflect the value of gauge in the application taskbar button under Windows 7 and later and the dock icon under macOS, ignored under the other platforms. This flag is only available in wxWidgets 3.1.0 and later.
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::Slider
50
48
  # @see Wx::ScrollBar
51
49
  #
52
50
  #
51
+ # @wxrb_require USE_GAUGE
53
52
  class Gauge < Control
54
53
 
55
54
  # @overload initialize()
56
55
  # Default constructor.
57
56
  # @return [Wx::Gauge]
58
- # @overload initialize(parent, id, range, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::GA_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::GaugeNameStr)
57
+ # @overload initialize(parent, id, range, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::GA_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::GAUGE_NAME_STR)
59
58
  # Constructor, creating and showing a gauge.
60
59
  #
61
60
  # @see Wx::Gauge#create
@@ -81,7 +80,7 @@ module Wx
81
80
  # @param validator [Wx::Validator]
82
81
  # @param name [String]
83
82
  # @return [Boolean]
84
- def create(parent, id, range, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::GA_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::GaugeNameStr) end
83
+ def create(parent, id, range, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::GA_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::GAUGE_NAME_STR) end
85
84
 
86
85
  # Returns the maximum position of the gauge.
87
86
  #
@@ -103,13 +102,17 @@ module Wx
103
102
  alias_method :vertical?, :is_vertical
104
103
 
105
104
  # Switch the gauge to indeterminate mode (if required) and makes the gauge move a bit to indicate the user that some progress has been made.
106
- # After calling this function the value returned by {Wx::Gauge#get_value} is undefined and thus you need to explicitly call {Wx::Gauge#set_value} if you want to restore the determinate mode.
105
+ # <div class="wxrb-note">
106
+ # <b>Note:</b>
107
+ # <p>After calling this function the value returned by {Wx::Gauge#get_value} is undefined and thus you need to explicitly call {Wx::Gauge#set_value} if you want to restore the determinate mode.
108
+ # </p>
109
+ # </div>
107
110
  # @return [void]
108
111
  def pulse; end
109
112
 
110
113
  # Sets the range (maximum value) of the gauge.
111
114
  # This function makes the gauge switch to determinate mode, if it's not already.
112
- # When the gauge is in indeterminate mode, under wxMSW the gauge repeatedly goes from zero to range and back; under other ports when in indeterminate mode, the range setting is ignored.
115
+ # When the gauge is in indeterminate mode, under WXMSW the gauge repeatedly goes from zero to range and back; under other ports when in indeterminate mode, the range setting is ignored.
113
116
  # @see Wx::Gauge#get_range
114
117
  # @param range [Integer]
115
118
  # @return [void]
@@ -8,7 +8,6 @@ module Wx
8
8
 
9
9
  # The {Wx::GBSizerItem} class is used by the {Wx::GridBagSizer} for tracking the items in the sizer.
10
10
  # It adds grid position and spanning information to the normal {Wx::SizerItem} by adding {Wx::GBPosition} and {Wx::GBSpan} attributes. Most of the time you will not need to use a {Wx::GBSizerItem} directly in your code, but there are a couple of cases where it is handy.
11
- # ===
12
11
  #
13
12
  # Category: Window Layout
14
13
  #
@@ -15,8 +15,6 @@ module Wx
15
15
  # - Similarly, {Wx::RasterOperationMode} parameter of {Wx::GCDC#blit} and {Wx::GCDC#stretch_blit} can only be one of the supported logical functions listed above, using any other function will result in an assertion failure and not drawing anything.
16
16
  # - For Direct2D-based {Wx::GraphicsContext}, only true-type fonts can be used in the font-related functions.
17
17
  #
18
- # ===
19
- #
20
18
  # Category: Device Contexts
21
19
  # @see Wx::DC
22
20
  # @see Wx::GraphicsContext
@@ -24,6 +22,7 @@ module Wx
24
22
  #
25
23
  #
26
24
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
25
+ # @wxrb_require USE_GRAPHICS_CONTEXT
27
26
  class GCDC < DC
28
27
 
29
28
  # Retrieves associated {Wx::GraphicsContext}.
@@ -120,7 +120,7 @@ module Wx
120
120
 
121
121
  # Standard cursors.
122
122
  #
123
- # Notice that under wxMSW some of these cursors are defined in wx.rc file and not by the system itself so you should include this file from your own resource file (possibly creating a trivial resource file just containing a single include line if you don't need it otherwise) to be able to use them.
123
+ # Notice that under WXMSW some of these cursors are defined in wx.rc file and not by the system itself so you should include this file from your own resource file (possibly creating a trivial resource file just containing a single include line if you don't need it otherwise) to be able to use them.
124
124
  # See {Wx::Cursor}.
125
125
  #
126
126
  class StockCursor < Wx::Enum
@@ -300,12 +300,24 @@ module Wx
300
300
  DEFAULT_SIZE = nil
301
301
 
302
302
  # Returns true if the display is colour, false otherwise.
303
- # Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_depth to retrieve the depth of the appropriate display and compare it with 1 instead.
303
+ # <div class="wxrb-note">
304
+ # <b>Note:</b>
305
+ # <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_depth to retrieve the depth of the appropriate display and compare it with 1 instead.
306
+ # </p>
307
+ # </div>
308
+ #
309
+ # Include file: \#include <wx/gdicmn.h>
304
310
  # @return [Boolean]
305
311
  def self.colour_display; end
306
312
 
307
313
  # Returns the depth of the display (a value of 1 denotes a monochrome display).
308
- # Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_depth to retrieve the depth of the appropriate display instead.
314
+ # <div class="wxrb-note">
315
+ # <b>Note:</b>
316
+ # <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_depth to retrieve the depth of the appropriate display instead.
317
+ # </p>
318
+ # </div>
319
+ #
320
+ # Include file: \#include <wx/gdicmn.h>
309
321
  # @return [Integer]
310
322
  def self.display_depth; end
311
323
 
@@ -325,13 +337,26 @@ module Wx
325
337
 
326
338
  # Returns the display resolution in pixels per inch.
327
339
  # The x component of the returned {Wx::Size} object contains the horizontal resolution and the y one the vertical resolution.
328
- # Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_ppi to retrieve the resolution of the appropriate display instead.
340
+ #
341
+ # <div class="wxrb-note">
342
+ # <b>Note:</b>
343
+ # <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_ppi to retrieve the resolution of the appropriate display instead.
344
+ # </p>
345
+ # </div>
346
+ #
347
+ # Include file: \#include <wx/gdicmn.h>
329
348
  # @see Wx::Display
330
349
  # @return [Wx::Size]
331
350
  def self.get_display_ppi; end
332
351
 
333
352
  # Returns the display size in pixels.
334
- # Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_geometry to retrieve the size of the appropriate display instead.
353
+ # <div class="wxrb-note">
354
+ # <b>Note:</b>
355
+ # <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_geometry to retrieve the size of the appropriate display instead.
356
+ # </p>
357
+ # </div>
358
+ #
359
+ # Include file: \#include <wx/gdicmn.h>
335
360
  # @see Wx::Display
336
361
  # @return [Wx::Size]
337
362
  def self.get_display_size; end
@@ -345,7 +370,6 @@ module Wx
345
370
  # A {Wx::Point} is a useful data structure for graphics operations.
346
371
  # It contains integer x and y members. See {Wx::RealPoint} for a floating point version.
347
372
  # Note that the width and height stored inside a {Wx::Point} object may be negative and that {Wx::Point} functions do not perform any check against negative values (this is used to e.g. store the special -1 value in {Wx::DEFAULT_POSITION} instance).
348
- # ===
349
373
  #
350
374
  # Category: Data Structures
351
375
  # Predefined objects/pointers: {Wx::DEFAULT_POSITION}
@@ -426,7 +450,6 @@ module Wx
426
450
  # It simply contains integer x and y members.
427
451
  # Note that the width and height stored inside a {Wx::Size} object may be negative and that {Wx::Size} functions do not perform any check against negative values (this is used to e.g. store the special -1 value in {Wx::DEFAULT_SIZE} instance). See also {Wx::Size#is_fully_specified} and {Wx::Size#set_defaults} for utility functions regarding the special -1 value.
428
452
  # {Wx::Size} is used throughout wxWidgets as well as {Wx::Point} which, although almost equivalent to {Wx::Size}, has a different meaning: {Wx::Point} represents a position while {Wx::Size} represents the size.
429
- # ===
430
453
  #
431
454
  # Category: Data Structures
432
455
  # Predefined objects/pointers: {Wx::DEFAULT_SIZE}
@@ -589,7 +612,6 @@ module Wx
589
612
  #
590
613
  # In other words, the rectangle left and right boundaries are at x and <code>x+width-1</code> and its top and bottom boundaries are at y and <code>y+height-1</code> respectively.
591
614
  # Note that the x and y coordinates may be negative, but width and height are always strictly positive for non-empty rectangles.
592
- # ===
593
615
  #
594
616
  # Category: Data Structures
595
617
  # @see Wx::Point
@@ -895,7 +917,6 @@ module Wx
895
917
  # A {Wx::RealPoint} is a useful data structure for graphics operations.
896
918
  # It contains floating point x and y members. See {Wx::Point} for an integer version.
897
919
  # Note that the coordinates stored inside a {Wx::RealPoint} object may be negative and that {Wx::RealPoint} functions do not perform any check against negative values.
898
- # ===
899
920
  #
900
921
  # Category: Data Structures
901
922
  # @see Wx::Point
@@ -1083,8 +1104,6 @@ module Wx
1083
1104
  #
1084
1105
  # YELLOW GREEN
1085
1106
  #
1086
- # ===
1087
- #
1088
1107
  # Category: Graphics Device Interface (GDI)
1089
1108
  # @see Wx::Colour
1090
1109
  #
@@ -9,7 +9,6 @@ module Wx
9
9
  # This class allows platforms to implement functionality to optimise GDI objects, such as {Wx::Pen}, {Wx::Brush} and {Wx::Font}.
10
10
  # On Windows, the underling GDI objects are a scarce resource and are cleaned up when a usage count goes to zero. On some platforms this class may not have any special functionality.
11
11
  # Since the functionality of this class is platform-specific, it is not documented here in detail.
12
- # ===
13
12
  #
14
13
  # Category: Graphics Device Interface (GDI)
15
14
  # @see Wx::Pen
@@ -8,7 +8,7 @@ module Wx
8
8
 
9
9
  # This control can be used to place a directory listing (with optional files) on an arbitrary window.
10
10
  # The control contains a {Wx::TreeCtrl} window representing the directory hierarchy, and optionally, a {Wx::Choice} window containing a list of filters.
11
- # === Styles
11
+ # ### Styles
12
12
  #
13
13
  # This class supports the following styles:
14
14
  #
@@ -24,13 +24,11 @@ module Wx
24
24
  #
25
25
  # - {Wx::DIRCTRL_MULTIPLE}: Allows multiple files and folders to be selected.
26
26
  #
27
- # ===
28
- #
29
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
30
- # </td><td> wxGTK Appearance
31
- # </td><td> wxOSX Appearance
27
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
28
+ # </td><td> WXGTK Appearance
29
+ # </td><td> WXOSX Appearance
32
30
  # </td></tr></table></div>
33
- # === Events emitted by this class
31
+ # ### Events emitted by this class
34
32
  #
35
33
  # Event handler methods for events emitted by this class:
36
34
  #
@@ -38,12 +36,13 @@ module Wx
38
36
  #
39
37
  # - {Wx::EvtHandler#evt_dirctrl_fileactivated}(id, meth = nil, &block): The user activated a file by double-clicking or pressing Enter. Available since wxWidgets 2.9.5.
40
38
  #
39
+ # @wxrb_require USE_DIRDLG|USE_FILEDLG
41
40
  class GenericDirCtrl < Control
42
41
 
43
42
  # @overload initialize()
44
43
  # Default constructor.
45
44
  # @return [Wx::GenericDirCtrl]
46
- # @overload initialize(parent, id=Wx::StandardID::ID_ANY, dir=Wx::DIR_DIALOG_DEFAULT_FOLDER_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRCTRL_DEFAULT_STYLE, filter=(''), defaultFilter=0, name=Wx::TreeCtrlNameStr)
45
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, dir=Wx::DIR_DIALOG_DEFAULT_FOLDER_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRCTRL_DEFAULT_STYLE, filter=(''), defaultFilter=0, name=Wx::TREE_CTRL_NAME_STR)
47
46
  # Main constructor.
48
47
  # @param parent [Wx::Window] Parent window.
49
48
  # @param id [Integer] Window identifier.
@@ -78,7 +77,7 @@ module Wx
78
77
  # @param defaultFilter [Integer]
79
78
  # @param name [String]
80
79
  # @return [Boolean]
81
- def create(parent, id=Wx::StandardID::ID_ANY, dir=Wx::DIR_DIALOG_DEFAULT_FOLDER_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRCTRL_DEFAULT_STYLE, filter=(''), defaultFilter=0, name=Wx::TreeCtrlNameStr) end
80
+ def create(parent, id=Wx::StandardID::ID_ANY, dir=Wx::DIR_DIALOG_DEFAULT_FOLDER_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRCTRL_DEFAULT_STYLE, filter=(''), defaultFilter=0, name=Wx::TREE_CTRL_NAME_STR) end
82
81
 
83
82
  # Tries to expand as much of the given path as possible, so that the filename or directory is visible in the tree control.
84
83
  # @param path [String]