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
@@ -151,7 +151,7 @@ module Wx
151
151
  # All controls, top level windows and so on are windows. Sizers and device contexts are not, however, as they don't appear on screen themselves.
152
152
  # Please note that all children of the window will be deleted automatically by the destructor before the window itself is deleted which means that you don't have to worry about deleting them manually. Please see the window deletion overview for more information.
153
153
  # Also note that in this, and many others, wxWidgets classes some <code>GetXXX()</code> methods may be overloaded (as, for example, {Wx::Window#get_size} or {Wx::Window#get_client_size}). In this case, the overloads are non-virtual because having multiple virtual functions with the same name results in a virtual function name hiding at the derived class level (in English, this means that the derived class has to override all overloaded variants if it overrides any of them). To allow overriding them in the derived class, wxWidgets uses a unique protected virtual <code>DoGetXXX()</code> method and all <code>GetXXX()</code> ones are forwarded to it, so overriding the former changes the behaviour of the latter.
154
- # === Styles
154
+ # ### Styles
155
155
  #
156
156
  # This class supports the following styles:
157
157
  #
@@ -183,13 +183,13 @@ module Wx
183
183
  #
184
184
  # - {Wx::HSCROLL}: Use this style to enable a horizontal scrollbar. The same limitations as for {Wx::VSCROLL} apply to this style.
185
185
  #
186
- # - {Wx::ALWAYS_SHOW_SB}: If a window has scrollbars, disable them instead of hiding them when they are not needed (i.e. when the size of the window is big enough to not require the scrollbars to navigate it). This style is currently implemented for wxMSW, wxGTK and {Wx::Universal} and does nothing on the other platforms.
186
+ # - {Wx::ALWAYS_SHOW_SB}: If a window has scrollbars, disable them instead of hiding them when they are not needed (i.e. when the size of the window is big enough to not require the scrollbars to navigate it). This style is currently implemented for WXMSW, WXGTK and {Wx::Universal} and does nothing on the other platforms.
187
187
  #
188
188
  # - {Wx::CLIP_CHILDREN}: Use this style to eliminate flicker caused by the background being repainted, then children being painted over them. Windows only.
189
189
  #
190
190
  # - {Wx::FULL_REPAINT_ON_RESIZE}: Use this style to force a complete redraw of the window whenever it is resized instead of redrawing just the part of the window affected by resizing. Note that this was the behaviour by default before 2.5.1 release and that if you experience redraw problems with code which previously used to work you may want to try this. Currently this style applies on GTK+ 2 and Windows only, and full repainting is always done on other platforms.
191
191
  #
192
- # === Extra Styles
192
+ # ### Extra Styles
193
193
  #
194
194
  # This class supports the following extra styles:
195
195
  #
@@ -203,7 +203,7 @@ module Wx
203
203
  #
204
204
  # - {Wx::WS_EX_PROCESS_UI_UPDATES}: This window should always process UI update events, even if the mode set by {Wx::UpdateUIEvent.set_mode} is {Wx::UpdateUIMode::UPDATE_UI_PROCESS_SPECIFIED}.
205
205
  #
206
- # === Events emitted by this class
206
+ # ### Events emitted by this class
207
207
  #
208
208
  # Event handler methods for events emitted by this class:
209
209
  #
@@ -255,8 +255,6 @@ module Wx
255
255
  #
256
256
  # - {Wx::EvtHandler#evt_sys_colour_changed}(meth = nil, &block): Process a {Wx::EVT_SYS_COLOUR_CHANGED} event. See {Wx::SysColourChangedEvent}.
257
257
  #
258
- # ===
259
- #
260
258
  # Category: Miscellaneous Windows
261
259
  # @see Events and Event Handling
262
260
  # @see Window Sizing Overview
@@ -401,7 +399,11 @@ module Wx
401
399
  def reparent(newParent) end
402
400
 
403
401
  # Call this function to force one or both scrollbars to be always shown, even if the window is big enough to show its entire contents without scrolling.
404
- # This function is currently not implemented.
402
+ # <div class="wxrb-remark">
403
+ # <b>Remark:</b>
404
+ # <p>This function is currently not implemented.
405
+ # </p>
406
+ # </div>>
405
407
  # @param hflag [Boolean] Whether the horizontal scroll bar should always be visible.
406
408
  # @param vflag [Boolean] Whether the vertical scroll bar should always be visible.
407
409
  # @return [void]
@@ -455,7 +457,11 @@ module Wx
455
457
  # Scrolls the window by the given number of lines down (if lines is positive) or up.
456
458
  # Returns true if the window was scrolled, false if it was already on top/bottom and nothing was done.
457
459
  #
458
- # This function is currently only implemented under MSW and {Wx::TextCtrl} under wxGTK (it also works for {Wx::Scrolled} classes under all platforms).
460
+ # <div class="wxrb-remark">
461
+ # <b>Remark:</b>
462
+ # <p>This function is currently only implemented under MSW and {Wx::TextCtrl} under WXGTK (it also works for {Wx::Scrolled} classes under all platforms).
463
+ # </p>
464
+ # </div>>
459
465
  # @see Wx::Window#scroll_pages
460
466
  # @param lines [Integer]
461
467
  # @return [Boolean]
@@ -464,17 +470,25 @@ module Wx
464
470
  # Scrolls the window by the given number of pages down (if pages is positive) or up.
465
471
  # Returns true if the window was scrolled, false if it was already on top/bottom and nothing was done.
466
472
  #
467
- # This function is currently only implemented under MSW and wxGTK.
473
+ # <div class="wxrb-remark">
474
+ # <b>Remark:</b>
475
+ # <p>This function is currently only implemented under MSW and WXGTK.
476
+ # </p>
477
+ # </div>>
468
478
  # @see Wx::Window#scroll_lines
469
479
  # @param pages [Integer]
470
480
  # @return [Boolean]
471
481
  def scroll_pages(pages) end
472
482
 
473
483
  # Physically scrolls the pixels in the window and move child windows accordingly.
474
- # Note that you can often use {Wx::Scrolled} instead of using this function directly.
484
+ # <div class="wxrb-remark">
485
+ # <b>Remark:</b>
486
+ # <p>Note that you can often use {Wx::Scrolled} instead of using this function directly.
487
+ # </p>
488
+ # </div>>
475
489
  # @param dx [Integer] Amount to scroll horizontally.
476
490
  # @param dy [Integer] Amount to scroll vertically.
477
- # @param rect [Wx::Rect] Rectangle to scroll, if it is NULL, the whole window is scrolled (this is always the case under wxGTK which doesn't support this parameter)
491
+ # @param rect [Wx::Rect] Rectangle to scroll, if it is NULL, the whole window is scrolled (this is always the case under WXGTK which doesn't support this parameter)
478
492
  # @return [void]
479
493
  def scroll_window(dx, dy, rect=nil) end
480
494
 
@@ -495,7 +509,11 @@ module Wx
495
509
  def page_down; end
496
510
 
497
511
  # Sets the position of one of the built-in scrollbars.
498
- # This function does not directly affect the contents of the window: it is up to the application to take note of scrollbar attributes and redraw contents accordingly.
512
+ # <div class="wxrb-remark">
513
+ # <b>Remark:</b>
514
+ # <p>This function does not directly affect the contents of the window: it is up to the application to take note of scrollbar attributes and redraw contents accordingly.
515
+ # </p>
516
+ # </div>>
499
517
  # @see Wx::Window#set_scrollbar
500
518
  # @see Wx::Window#get_scroll_pos
501
519
  # @see Wx::Window#get_scroll_thumb
@@ -508,11 +526,15 @@ module Wx
508
526
  def set_scroll_pos(orientation, pos, refresh=true) end
509
527
 
510
528
  # Sets the scrollbar properties of a built-in scrollbar.
511
- # Let's say you wish to display 50 lines of text, using the same font. The window is sized so that you can only see 16 lines at a time. You would use:
529
+ # <div class="wxrb-remark">
530
+ # <b>Remark:</b>
531
+ # <p>Let's say you wish to display 50 lines of text, using the same font. The window is sized so that you can only see 16 lines at a time. You would use:
512
532
  # ```ruby
513
533
  # set_scrollbar(Wx::VERTICAL, 0, 16, 50)
514
534
  # ```
515
535
  # Note that with the window at this size, the thumb position can never go above 50 minus 16, or 34. You can determine how many lines are currently visible by dividing the current view size by the character height in pixels. When defining your own scrollbar behaviour, you will always need to recalculate the scrollbar settings when the window size changes. You could therefore put your scrollbar calculations and SetScrollbar call into a function named AdjustScrollbars, which can be called initially and also from your {Wx::SizeEvent} handler function.
536
+ # </p>
537
+ # </div>>
516
538
  # @see Scrolled Windows
517
539
  # @see Wx::ScrollBar
518
540
  # @see Wx::Scrolled
@@ -520,7 +542,7 @@ module Wx
520
542
  # @param orientation [Integer] Determines the scrollbar whose page size is to be set. May be {Wx::Orientation::HORIZONTAL} or {Wx::Orientation::VERTICAL}.
521
543
  # @param position [Integer] The position of the scrollbar in scroll units.
522
544
  # @param thumbSize [Integer] The size of the thumb, or visible portion of the scrollbar, in scroll units.
523
- # @param range [Integer] The maximum position of the scrollbar. Value of -1 can be used to ask for the scrollbar to be shown but in the disabled state: this can be used to avoid removing the scrollbar even when it is not needed (currently this is only implemented in wxMSW port).
545
+ # @param range [Integer] The maximum position of the scrollbar. Value of -1 can be used to ask for the scrollbar to be shown but in the disabled state: this can be used to avoid removing the scrollbar even when it is not needed (currently this is only implemented in WXMSW port).
524
546
  # @param refresh [Boolean] true to redraw the scrollbar, false otherwise.
525
547
  # @return [void]
526
548
  def set_scrollbar(orientation, position, thumbSize, range, refresh=true) end
@@ -847,7 +869,12 @@ module Wx
847
869
  # Returns the factor mapping logical pixels of this window to physical pixels.
848
870
  # This function can be used to portably determine the number of physical pixels in a window of the given size, by multiplying the window size by the value returned from it. I.e. it returns the factor converting window coordinates to "content view" coordinates, where the view can be just a simple window displaying a {Wx::Bitmap} or {Wx::GLCanvas} or any other kind of window rendering arbitrary "content" on screen.
849
871
  # For the platforms not doing any pixel mapping, i.e. where logical and physical pixels are one and the same, this function always returns 1.0 and so using it is, in principle, unnecessary and could be avoided by using preprocessor check for {Wx::HAS_DPI_INDEPENDENT_PIXELS} not being defined, however using this function unconditionally under all platforms is usually simpler and so preferable.
850
- # Current behaviour of this function is compatible with wxWidgets 3.0, but different from its behaviour in versions 3.1.0 to 3.1.3, where it returned the same value as {Wx::Window#get_dpi_scale_factor}. Please use the other function if you need to use a scaling factor greater than 1.0 even for the platforms without {Wx::HAS_DPI_INDEPENDENT_PIXELS}, such as wxMSW.
872
+ #
873
+ # <div class="wxrb-note">
874
+ # <b>Note:</b>
875
+ # <p>Current behaviour of this function is compatible with wxWidgets 3.0, but different from its behaviour in versions 3.1.0 to 3.1.3, where it returned the same value as {Wx::Window#get_dpi_scale_factor}. Please use the other function if you need to use a scaling factor greater than 1.0 even for the platforms without {Wx::HAS_DPI_INDEPENDENT_PIXELS}, such as WXMSW.
876
+ # </p>
877
+ # </div>
851
878
  # @return [Float]
852
879
  def get_content_scale_factor; end
853
880
  alias_method :content_scale_factor, :get_content_scale_factor
@@ -990,7 +1017,11 @@ module Wx
990
1017
 
991
1018
  # @overload set_size(x, y, width, height, sizeFlags=Wx::SIZE_AUTO)
992
1019
  # Sets the size of the window in pixels.
993
- # This overload sets the position and optionally size, of the window. Parameters may be {Wx::DEFAULT_COORD} to indicate either that a default should be supplied by wxWidgets, or that the current value of the dimension should be used.
1020
+ # <div class="wxrb-remark">
1021
+ # <b>Remark:</b>
1022
+ # <p>This overload sets the position and optionally size, of the window. Parameters may be {Wx::DEFAULT_COORD} to indicate either that a default should be supplied by wxWidgets, or that the current value of the dimension should be used.
1023
+ # </p>
1024
+ # </div>>
994
1025
  # @see Wx::Window#move
995
1026
  # @see Window Sizing Overview
996
1027
  # @param x [Integer] Required x position in pixels, or {Wx::DEFAULT_COORD} to indicate that the existing value should be used.
@@ -1009,7 +1040,12 @@ module Wx
1009
1040
  # @overload set_size(rect)
1010
1041
  # Sets the size of the window in pixels.
1011
1042
  # The size is specified using a {Wx::Rect}, {Wx::Size} or by a couple of int objects.
1012
- # This form must be used with non-default width and height values.
1043
+ #
1044
+ # <div class="wxrb-remark">
1045
+ # <b>Remark:</b>
1046
+ # <p>This form must be used with non-default width and height values.
1047
+ # </p>
1048
+ # </div>>
1013
1049
  # @see Wx::Window#move
1014
1050
  # @see Window Sizing Overview
1015
1051
  # @param rect [Wx::Rect]
@@ -1067,7 +1103,11 @@ module Wx
1067
1103
  def center_on_parent(dir=Wx::Orientation::BOTH) end
1068
1104
 
1069
1105
  # Centres the window.
1070
- # If the window is a top level one (i.e. doesn't have a parent), it will be centred relative to the screen anyhow.
1106
+ # <div class="wxrb-remark">
1107
+ # <b>Remark:</b>
1108
+ # <p>If the window is a top level one (i.e. doesn't have a parent), it will be centred relative to the screen anyhow.
1109
+ # </p>
1110
+ # </div>>
1071
1111
  # @see Wx::Window#center
1072
1112
  # @param direction [Integer] Specifies the direction for the centring. May be {Wx::Orientation::HORIZONTAL}, {Wx::Orientation::VERTICAL} or {Wx::Orientation::BOTH}. It may also include the {Wx::CENTRE_ON_SCREEN} flag if you want to centre the window on the entire screen and not on its parent window.
1073
1113
  # @return [void]
@@ -1076,7 +1116,11 @@ module Wx
1076
1116
  # Centres the window on its parent.
1077
1117
  # This is a more readable synonym for {Wx::Window#centre}.
1078
1118
  #
1079
- # This methods provides for a way to centre top level windows over their parents instead of the entire screen. If there is no parent or if the window is not a top level window, then behaviour is the same as {Wx::Window#centre}.
1119
+ # <div class="wxrb-remark">
1120
+ # <b>Remark:</b>
1121
+ # <p>This methods provides for a way to centre top level windows over their parents instead of the entire screen. If there is no parent or if the window is not a top level window, then behaviour is the same as {Wx::Window#centre}.
1122
+ # </p>
1123
+ # </div>>
1080
1124
  # @see Wx::TopLevelWindow#centre_on_screen
1081
1125
  # @param direction [Integer] Specifies the direction for the centring. May be {Wx::Orientation::HORIZONTAL}, {Wx::Orientation::VERTICAL} or {Wx::Orientation::BOTH}.
1082
1126
  # @return [void]
@@ -1122,10 +1166,15 @@ module Wx
1122
1166
 
1123
1167
  # @overload move(x, y, flags=Wx::SIZE_USE_EXISTING)
1124
1168
  # Moves the window to the given position.
1125
- # Implementations of SetSize can also implicitly implement the {Wx::Window#move} function, which is defined in the base {Wx::Window} class as the call:
1169
+ # <div class="wxrb-remark">
1170
+ # <b>Remark:</b>
1171
+ # <p>Implementations of SetSize can also implicitly implement the {Wx::Window#move} function, which is defined in the base {Wx::Window} class as the call:
1126
1172
  # ```ruby
1127
1173
  # set_size(x, y, Wx::DEFAULT_COORD, Wx::DEFAULT_COORD, Wx::SIZE_USE_EXISTING)
1128
1174
  # ```
1175
+ #
1176
+ # </p>
1177
+ # </div>>
1129
1178
  # @see Wx::Window#set_size
1130
1179
  # @param x [Integer] Required x position.
1131
1180
  # @param y [Integer] Required y position.
@@ -1133,10 +1182,15 @@ module Wx
1133
1182
  # @return [void]
1134
1183
  # @overload move(pt, flags=Wx::SIZE_USE_EXISTING)
1135
1184
  # Moves the window to the given position.
1136
- # Implementations of {Wx::Window#set_size} can also implicitly implement the {Wx::Window#move} function, which is defined in the base {Wx::Window} class as the call:
1185
+ # <div class="wxrb-remark">
1186
+ # <b>Remark:</b>
1187
+ # <p>Implementations of {Wx::Window#set_size} can also implicitly implement the {Wx::Window#move} function, which is defined in the base {Wx::Window} class as the call:
1137
1188
  # ```ruby
1138
1189
  # set_size(x, y, Wx::DEFAULT_COORD, Wx::DEFAULT_COORD, Wx::SIZE_USE_EXISTING)
1139
1190
  # ```
1191
+ #
1192
+ # </p>
1193
+ # </div>>
1140
1194
  # @see Wx::Window#set_size
1141
1195
  # @param pt [Array(Integer, Integer), Wx::Point] {Wx::Point} object representing the position.
1142
1196
  # @param flags [Integer] See {Wx::Window#set_size} for more info about this parameter.
@@ -1158,7 +1212,12 @@ module Wx
1158
1212
  # @overload convert_dialog_to_pixels(pt)
1159
1213
  # Converts a point or size from dialog units to pixels.
1160
1214
  # For the x dimension, the dialog units are multiplied by the average character width and then divided by 4. For the y dimension, the dialog units are multiplied by the average character height and then divided by 8.
1161
- # Dialog units are used for maintaining a dialog's proportions even if the font changes. You can also use these functions programmatically.
1215
+ #
1216
+ # <div class="wxrb-remark">
1217
+ # <b>Remark:</b>
1218
+ # <p>Dialog units are used for maintaining a dialog's proportions even if the font changes. You can also use these functions programmatically.
1219
+ # </p>
1220
+ # </div>>
1162
1221
  # @see Wx::Window#convert_pixels_to_dialog
1163
1222
  # @param pt [Array(Integer, Integer), Wx::Point]
1164
1223
  # @return [Wx::Point]
@@ -1171,7 +1230,12 @@ module Wx
1171
1230
  # @overload convert_pixels_to_dialog(pt)
1172
1231
  # Converts a point or size from pixels to dialog units.
1173
1232
  # For the x dimension, the pixels are multiplied by 4 and then divided by the average character width. For the y dimension, the pixels are multiplied by 8 and then divided by the average character height.
1174
- # Dialog units are used for maintaining a dialog's proportions even if the font changes.
1233
+ #
1234
+ # <div class="wxrb-remark">
1235
+ # <b>Remark:</b>
1236
+ # <p>Dialog units are used for maintaining a dialog's proportions even if the font changes.
1237
+ # </p>
1238
+ # </div>>
1175
1239
  # @see Wx::Window#convert_dialog_to_pixels
1176
1240
  # @param pt [Array(Integer, Integer), Wx::Point]
1177
1241
  # @return [Wx::Point]
@@ -1195,7 +1259,7 @@ module Wx
1195
1259
  # Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all.
1196
1260
  # {Wx::Window#thaw} must be called to re-enable window redrawing. Calls to these two functions may be nested but to ensure that the window is properly repainted again, you must thaw it exactly as many times as you froze it.
1197
1261
  # If the window has any children, they are recursively frozen too.
1198
- # This method is useful for visual appearance optimization (for example, it is a good idea to use it before doing many large text insertions in a row into a {Wx::TextCtrl} under wxGTK) but is not implemented on all platforms nor for all controls so it is mostly just a hint to wxWidgets and not a mandatory directive.
1262
+ # This method is useful for visual appearance optimization (for example, it is a good idea to use it before doing many large text insertions in a row into a {Wx::TextCtrl} under WXGTK) but is not implemented on all platforms nor for all controls so it is mostly just a hint to wxWidgets and not a mandatory directive.
1199
1263
  # @see Wx::WindowUpdateLocker
1200
1264
  # @see Wx::Window#thaw
1201
1265
  # @see Wx::Window#is_frozen
@@ -1272,7 +1336,11 @@ module Wx
1272
1336
  alias_method :font, :get_font
1273
1337
 
1274
1338
  # Returns the foreground colour of the window.
1275
- # The meaning of foreground colour varies according to the window class; it may be the text colour or other colour, or it may not be used at all.
1339
+ # <div class="wxrb-remark">
1340
+ # <b>Remark:</b>
1341
+ # <p>The meaning of foreground colour varies according to the window class; it may be the text colour or other colour, or it may not be used at all.
1342
+ # </p>
1343
+ # </div>>
1276
1344
  # @see Wx::Window#set_foreground_colour
1277
1345
  # @see Wx::Window#set_background_colour
1278
1346
  # @see Wx::Window#get_background_colour
@@ -1329,7 +1397,11 @@ module Wx
1329
1397
  # Notice that as with {Wx::Window#set_foreground_colour}, setting the background colour of a native control may not affect the entire control and could be not supported at all depending on the control and platform.
1330
1398
  # Please see {Wx::Window#inherit_attributes} for explanation of the difference between this method and {Wx::Window#set_own_background_colour}.
1331
1399
  #
1332
- # The background colour is usually painted by the default {Wx::EraseEvent} event handler function under Windows and automatically under GTK. Note that setting the background colour does not cause an immediate refresh, so you may wish to call {Wx::Window#clear_background} or {Wx::Window#refresh} after calling this function. Using this function will disable attempts to use themes for this window, if the system supports them. Use with care since usually the themes represent the appearance chosen by the user to be used for all applications on the system.
1400
+ # <div class="wxrb-remark">
1401
+ # <b>Remark:</b>
1402
+ # <p>The background colour is usually painted by the default {Wx::EraseEvent} event handler function under Windows and automatically under GTK. Note that setting the background colour does not cause an immediate refresh, so you may wish to call {Wx::Window#clear_background} or {Wx::Window#refresh} after calling this function. Using this function will disable attempts to use themes for this window, if the system supports them. Use with care since usually the themes represent the appearance chosen by the user to be used for all applications on the system.
1403
+ # </p>
1404
+ # </div>>
1333
1405
  #
1334
1406
  # true if the colour was really changed, false if it was already set to this colour and nothing was done.
1335
1407
  # @see Wx::Window#get_background_colour
@@ -1347,7 +1419,7 @@ module Wx
1347
1419
  # Sets the background style of the window.
1348
1420
  # The default background style is {Wx::BackgroundStyle::BG_STYLE_ERASE} which indicates that the window background may be erased in EVT_ERASE_BACKGROUND handler. This is a safe, compatibility default; however you may want to change it to {Wx::BackgroundStyle::BG_STYLE_SYSTEM} if you don't define any erase background event handlers at all, to avoid unnecessary generation of erase background events and always let system erase the background. And you should change the background style to {Wx::BackgroundStyle::BG_STYLE_PAINT} if you define an EVT_PAINT handler which completely overwrites the window background as in this case erasing it previously, either in EVT_ERASE_BACKGROUND handler or in the system default handler, would result in flicker as the background pixels will be repainted twice every time the window is redrawn. Do ensure that the background is entirely erased by your EVT_PAINT handler in this case however as otherwise garbage may be left on screen.
1349
1421
  # Notice that in previous versions of wxWidgets a common way to work around the above mentioned flickering problem was to define an empty EVT_ERASE_BACKGROUND handler. Setting background style to {Wx::BackgroundStyle::BG_STYLE_PAINT} is a simpler and more efficient solution to the same problem.
1350
- # Under wxGTK and wxOSX, you can use {Wx::BackgroundStyle::BG_STYLE_TRANSPARENT} to obtain full transparency of the window background. Note that wxGTK supports this only since GTK 2.12 with a compositing manager enabled, call {Wx::Window#is_transparent_background_supported} to check whether this is the case, see the example of doing it in the shapedsample".
1422
+ # Under WXGTK and WXOSX, you can use {Wx::BackgroundStyle::BG_STYLE_TRANSPARENT} to obtain full transparency of the window background. Note that WXGTK supports this only since GTK 2.12 with a compositing manager enabled, call {Wx::Window#is_transparent_background_supported} to check whether this is the case, see the example of doing it in the shapedsample".
1351
1423
  # Also, in order for <code>SetBackgroundStyle(wxBG_STYLE_TRANSPARENT)</code> to work, it must be called before {Wx::Window#create}. If you're using your own {Wx::Window}-derived class you should write your code in the following way:
1352
1424
  # ```ruby
1353
1425
  # class MyWidget < Wx::Window
@@ -1666,26 +1738,39 @@ module Wx
1666
1738
  #
1667
1739
  # Returns true if the focus was moved to another window or false if nothing changed.
1668
1740
  #
1669
- # You may wish to call this from a text control custom keypress handler to do the default navigation behaviour for the tab key, since the standard default behaviour for a multiline text control with the {Wx::TE_PROCESS_TAB} style is to insert a tab and not navigate to the next control. See also {Wx::NavigationKeyEvent} and HandleAsNavigationKey.
1670
- # @param flags [Integer] A combination of {Wx::NavigationKeyEvent::IsForward} and {Wx::NavigationKeyEvent::WinChange}.
1741
+ # <div class="wxrb-remark">
1742
+ # <b>Remark:</b>
1743
+ # <p>You may wish to call this from a text control custom keypress handler to do the default navigation behaviour for the tab key, since the standard default behaviour for a multiline text control with the {Wx::TE_PROCESS_TAB} style is to insert a tab and not navigate to the next control. See also {Wx::NavigationKeyEvent} and HandleAsNavigationKey.
1744
+ # </p>
1745
+ # </div>>
1746
+ # @param flags [Integer] A combination of {Wx::NavigationKeyEvent::NavigationKeyEventFlags::IsForward} and {Wx::NavigationKeyEvent::NavigationKeyEventFlags::WinChange}.
1671
1747
  # @return [Boolean]
1672
- def navigate(flags=Wx::NavigationKeyEvent::IsForward) end
1748
+ def navigate(flags=NavigationKeyEvent::IsForward) end
1673
1749
 
1674
1750
  # Performs a keyboard navigation action inside this window.
1675
1751
  # See {Wx::Window#navigate} for more information.
1676
1752
  # @param flags [Integer]
1677
1753
  # @return [Boolean]
1678
- def navigate_in(flags=Wx::NavigationKeyEvent::IsForward) end
1754
+ def navigate_in(flags=NavigationKeyEvent::IsForward) end
1679
1755
 
1680
1756
  # Lowers the window to the bottom of the window hierarchy (Z-order).
1681
- # This function only works for {Wx::TopLevelWindow}-derived classes.
1757
+ # <div class="wxrb-remark">
1758
+ # <b>Remark:</b>
1759
+ # <p>This function only works for {Wx::TopLevelWindow}-derived classes.
1760
+ # </p>
1761
+ # </div>>
1682
1762
  # @see Wx::Window#raise
1683
1763
  # @return [void]
1684
1764
  def lower; end
1685
1765
 
1686
1766
  # Raises the window to the top of the window hierarchy (Z-order).
1687
1767
  # Notice that this function only requests the window manager to raise this window to the top of Z-order. Depending on its configuration, the window manager may raise the window, not do it at all or indicate that a window requested to be raised in some other way, e.g. by flashing its icon if it is minimized.
1688
- # This function only works for {Wx::TopLevelWindow}-derived classes.
1768
+ #
1769
+ # <div class="wxrb-remark">
1770
+ # <b>Remark:</b>
1771
+ # <p>This function only works for {Wx::TopLevelWindow}-derived classes.
1772
+ # </p>
1773
+ # </div>>
1689
1774
  # @see Wx::Window#lower
1690
1775
  # @return [void]
1691
1776
  def raise; end
@@ -1783,7 +1868,11 @@ module Wx
1783
1868
  def show(show=true) end
1784
1869
 
1785
1870
  # This function shows a window, like {Wx::Window#show}, but using a special visual effect if possible.
1786
- # Currently this function is only implemented in wxMSW and wxOSX and does the same thing as {Wx::Window#show} in the other ports.
1871
+ # <div class="wxrb-note">
1872
+ # <b>Note:</b>
1873
+ # <p>Currently this function is only implemented in WXMSW and WXOSX and does the same thing as {Wx::Window#show} in the other ports.
1874
+ # </p>
1875
+ # </div>
1787
1876
  # @see Wx::Window#hide_with_effect
1788
1877
  # @param effect [Wx::ShowEffect] The effect to use.
1789
1878
  # @param timeout [Integer] The timeout parameter specifies the time of the animation, in milliseconds. If the default value of 0 is used, the default animation time for the current platform is used.
@@ -1851,7 +1940,7 @@ module Wx
1851
1940
  # This function shows a popup menu at the given position in this window and returns the selected id.
1852
1941
  # It can be more convenient than the general purpose {Wx::Window#popup_menu} function for simple menus proposing a choice in a list of strings to the user.
1853
1942
  # Notice that to avoid unexpected conflicts between the (usually consecutive range of) ids used by the menu passed to this function and the existing EVT_UPDATE_UI() handlers, this function temporarily disables UI updates for the window, so you need to manually disable (or toggle or ...) any items which should be disabled in the menu before showing it.
1854
- # The parameter menu is the menu to show. The parameter pos (or the parameters x and y) is the position at which to show the menu in client coordinates. It is recommended to not explicitly specify coordinates when calling this method in response to mouse click, because some of the ports (namely, wxGTK) can do a better job of positioning the menu in that case.
1943
+ # The parameter menu is the menu to show. The parameter pos (or the parameters x and y) is the position at which to show the menu in client coordinates. It is recommended to not explicitly specify coordinates when calling this method in response to mouse click, because some of the ports (namely, WXGTK) can do a better job of positioning the menu in that case.
1855
1944
  # The selected menu item id or {Wx::StandardID::ID_NONE} if none selected or an error occurred.
1856
1945
  # @param menu [Wx::Menu]
1857
1946
  # @param pos [Array(Integer, Integer), Wx::Point]
@@ -1871,7 +1960,12 @@ module Wx
1871
1960
  # menu is the menu to pop up.
1872
1961
  # The position where the menu will appear can be specified either as a {Wx::Point} pos or by two integers (x and y).
1873
1962
  # Note that this function switches focus to this window before showing the menu.
1874
- # Just before the menu is popped up, {Wx::Menu::UpdateUI} is called to ensure that the menu items are in the correct state. The menu does not get deleted by the window. It is recommended to not explicitly specify coordinates when calling PopupMenu in response to mouse click, because some of the ports (namely, wxGTK) can do a better job of positioning the menu in that case.
1963
+ #
1964
+ # <div class="wxrb-remark">
1965
+ # <b>Remark:</b>
1966
+ # <p>Just before the menu is popped up, {Wx::Menu::UpdateUI} is called to ensure that the menu items are in the correct state. The menu does not get deleted by the window. It is recommended to not explicitly specify coordinates when calling PopupMenu in response to mouse click, because some of the ports (namely, WXGTK) can do a better job of positioning the menu in that case.
1967
+ # </p>
1968
+ # </div>>
1875
1969
  # @see Wx::Menu
1876
1970
  # @param menu [Wx::Menu]
1877
1971
  # @param pos [Array(Integer, Integer), Wx::Point]
@@ -1906,7 +2000,11 @@ module Wx
1906
2000
  def validate; end
1907
2001
 
1908
2002
  # Returns the identifier of the window.
1909
- # Each window has an integer identifier. If the application has not provided one (or the default {Wx::StandardID::ID_ANY}) a unique identifier with a negative value will be generated.
2003
+ # <div class="wxrb-remark">
2004
+ # <b>Remark:</b>
2005
+ # <p>Each window has an integer identifier. If the application has not provided one (or the default {Wx::StandardID::ID_ANY}) a unique identifier with a negative value will be generated.
2006
+ # </p>
2007
+ # </div>>
1910
2008
  # @see Wx::Window#set_id
1911
2009
  # @see Window IDs
1912
2010
  # @return [Integer]
@@ -1914,7 +2012,11 @@ module Wx
1914
2012
  alias_method :id, :get_id
1915
2013
 
1916
2014
  # Generic way of getting a label from any window, for identification purposes.
1917
- # The interpretation of this function differs from class to class. For frames and dialogs, the value returned is the title. For buttons or static text controls, it is the button text. This function can be useful for meta-programs (such as testing tools or special-needs access programs) which need to identify windows by name.
2015
+ # <div class="wxrb-remark">
2016
+ # <b>Remark:</b>
2017
+ # <p>The interpretation of this function differs from class to class. For frames and dialogs, the value returned is the title. For buttons or static text controls, it is the button text. This function can be useful for meta-programs (such as testing tools or special-needs access programs) which need to identify windows by name.
2018
+ # </p>
2019
+ # </div>>
1918
2020
  # @return [String]
1919
2021
  def get_label; end
1920
2022
  alias_method :label, :get_label
@@ -1932,7 +2034,11 @@ module Wx
1932
2034
  def adjust_for_layout_direction(x, width, widthTotal) end
1933
2035
 
1934
2036
  # Returns the window's name.
1935
- # This name is not guaranteed to be unique; it is up to the programmer to supply an appropriate name in the window constructor or via {Wx::Window#set_name}.
2037
+ # <div class="wxrb-remark">
2038
+ # <b>Remark:</b>
2039
+ # <p>This name is not guaranteed to be unique; it is up to the programmer to supply an appropriate name in the window constructor or via {Wx::Window#set_name}.
2040
+ # </p>
2041
+ # </div>>
1936
2042
  # @see Wx::Window#set_name
1937
2043
  # @return [String]
1938
2044
  def get_name; end
@@ -1944,7 +2050,11 @@ module Wx
1944
2050
  alias_method :window_variant, :get_window_variant
1945
2051
 
1946
2052
  # Sets the identifier of the window.
1947
- # Each window has an integer identifier. If the application has not provided one, an identifier will be generated. Normally, the identifier should be provided on creation and should not be modified subsequently.
2053
+ # <div class="wxrb-remark">
2054
+ # <b>Remark:</b>
2055
+ # <p>Each window has an integer identifier. If the application has not provided one, an identifier will be generated. Normally, the identifier should be provided on creation and should not be modified subsequently.
2056
+ # </p>
2057
+ # </div>>
1948
2058
  # @see Wx::Window#get_id
1949
2059
  # @see Window IDs
1950
2060
  # @param winid [Integer]
@@ -1989,6 +2099,12 @@ module Wx
1989
2099
  def get_accelerator_table; end
1990
2100
  alias_method :accelerator_table, :get_accelerator_table
1991
2101
 
2102
+ # Returns the accessible object for this window, if any.
2103
+ # See also {Wx::Accessible}.
2104
+ # @return [Wx::Accessible]
2105
+ def get_accessible; end
2106
+ alias_method :accessible, :get_accessible
2107
+
1992
2108
  # Sets the accelerator table for this window.
1993
2109
  # See {Wx::AcceleratorTable}.
1994
2110
  # @param accel [Wx::AcceleratorTable]
@@ -2008,7 +2124,11 @@ module Wx
2008
2124
  #
2009
2125
  # true if the event was handled and not vetoed, false otherwise.
2010
2126
  #
2011
- # Close calls the close handler for the window, providing an opportunity for the window to choose whether to destroy the window. Usually it is only used with the top level windows ({Wx::Frame} and {Wx::Dialog} classes) as the others are not supposed to have any special OnClose() logic. The close handler should check whether the window is being deleted forcibly, using {Wx::CloseEvent#can_veto}, in which case it should destroy the window using {Wx::Window#destroy}. Note that calling Close does not guarantee that the window will be destroyed; but it provides a way to simulate a manual close of a window, which may or may not be implemented by destroying the window. The default implementation of {Wx::Dialog::OnCloseWindow} does not necessarily delete the dialog, since it will simply simulate a {Wx::StandardID::ID_CANCEL} event which is handled by the appropriate button event handler and may do anything at all. To guarantee that the window will be destroyed, call {Wx::Window#destroy} instead
2127
+ # <div class="wxrb-remark">
2128
+ # <b>Remark:</b>
2129
+ # <p>Close calls the close handler for the window, providing an opportunity for the window to choose whether to destroy the window. Usually it is only used with the top level windows ({Wx::Frame} and {Wx::Dialog} classes) as the others are not supposed to have any special OnClose() logic. The close handler should check whether the window is being deleted forcibly, using {Wx::CloseEvent#can_veto}, in which case it should destroy the window using {Wx::Window#destroy}. Note that calling Close does not guarantee that the window will be destroyed; but it provides a way to simulate a manual close of a window, which may or may not be implemented by destroying the window. The default implementation of {Wx::Dialog::OnCloseWindow} does not necessarily delete the dialog, since it will simply simulate a {Wx::StandardID::ID_CANCEL} event which is handled by the appropriate button event handler and may do anything at all. To guarantee that the window will be destroyed, call {Wx::Window#destroy} instead
2130
+ # </p>
2131
+ # </div>>
2012
2132
  # @see Window Deletion Overview
2013
2133
  # @see Wx::Window#destroy
2014
2134
  # @see Wx::CloseEvent
@@ -2047,7 +2167,11 @@ module Wx
2047
2167
  alias_method :drop_target=, :set_drop_target
2048
2168
 
2049
2169
  # Enables or disables eligibility for drop file events (OnDropFiles).
2050
- # Windows only until version 2.8.9, available on all platforms since 2.8.10. Cannot be used together with {Wx::Window#set_drop_target} on non-Windows platforms.
2170
+ # <div class="wxrb-remark">
2171
+ # <b>Remark:</b>
2172
+ # <p>Windows only until version 2.8.9, available on all platforms since 2.8.10. Cannot be used together with {Wx::Window#set_drop_target} on non-Windows platforms.
2173
+ # </p>
2174
+ # </div>>
2051
2175
  # @see Wx::Window#set_drop_target
2052
2176
  # @param accept [Boolean] If true, the window is eligible for drop file events. If false, the window will not accept drop file events.
2053
2177
  # @return [void]
@@ -2067,7 +2191,11 @@ module Wx
2067
2191
  # The window will then own the object, and will take care of its deletion. If an existing layout constraints object is already owned by the window, it will be deleted if the deleteOld parameter is true.
2068
2192
  # Note that this function will also call {Wx::Window#set_auto_layout} implicitly with true parameter if the sizer is non-NULL and false otherwise so that the sizer will be effectively used to layout the window children whenever it is resized.
2069
2193
  #
2070
- # SetSizer enables and disables Layout automatically.
2194
+ # <div class="wxrb-remark">
2195
+ # <b>Remark:</b>
2196
+ # <p>SetSizer enables and disables Layout automatically.
2197
+ # </p>
2198
+ # </div>>
2071
2199
  # @param sizer [Wx::Sizer] The sizer to set. Pass NULL to disassociate and conditionally delete the window's sizer. See below.
2072
2200
  # @return [void]
2073
2201
  def set_sizer(sizer) end
@@ -2162,7 +2290,11 @@ module Wx
2162
2290
  alias_method :cursor=, :set_cursor
2163
2291
 
2164
2292
  # Moves the pointer to the given position on the window.
2165
- # Apple Human Interface Guidelines forbid moving the mouse cursor programmatically so you should avoid using this function in Mac applications (and probably avoid using it under the other platforms without good reason as well).
2293
+ # <div class="wxrb-note">
2294
+ # <b>Note:</b>
2295
+ # <p>Apple Human Interface Guidelines forbid moving the mouse cursor programmatically so you should avoid using this function in Mac applications (and probably avoid using it under the other platforms without good reason as well).
2296
+ # </p>
2297
+ # </div>
2166
2298
  # @param x [Integer] The new x position for the cursor.
2167
2299
  # @param y [Integer] The new y position for the cursor.
2168
2300
  # @return [void]
@@ -2254,7 +2386,11 @@ module Wx
2254
2386
  alias_method :double_buffered=, :set_double_buffered
2255
2387
 
2256
2388
  # Returns true if the window is retained, false otherwise.
2257
- # Retained windows are only available on X platforms.
2389
+ # <div class="wxrb-remark">
2390
+ # <b>Remark:</b>
2391
+ # <p>Retained windows are only available on X platforms.
2392
+ # </p>
2393
+ # </div>>
2258
2394
  # @return [Boolean]
2259
2395
  def is_retained; end
2260
2396
  alias_method :retained?, :is_retained
@@ -2282,21 +2418,31 @@ module Wx
2282
2418
  #
2283
2419
  # true if the hotkey was registered successfully. false if some other application already registered a hotkey with this modifier/virtualKeyCode combination.
2284
2420
  #
2285
- # Use EVT_HOTKEY(hotkeyId, fnc) in the event table to capture the event. This function is currently only implemented under MSW and macOS and always returns false in the other ports.
2421
+ # <div class="wxrb-remark">
2422
+ # <b>Remark:</b>
2423
+ # <p>Use EVT_HOTKEY(hotkeyId, fnc) in the event table to capture the event. This function is currently only implemented under MSW and macOS and always returns false in the other ports.
2424
+ # </p>
2425
+ # </div>>
2286
2426
  # @see Wx::Window#unregister_hot_key
2287
2427
  # @param hotkeyId [Integer] Numeric identifier of the hotkey. For applications this must be between 0 and 0xBFFF. If this function is called from a shared DLL, it must be a system wide unique identifier between 0xC000 and 0xFFFF. This is a MSW specific detail.
2288
2428
  # @param modifiers [Integer] A bitwise combination of {Wx::KeyModifier::MOD_SHIFT}, {Wx::KeyModifier::MOD_CONTROL}, {Wx::KeyModifier::MOD_ALT} or {Wx::KeyModifier::MOD_WIN} specifying the modifier keys that have to be pressed along with the key.
2289
2429
  # @param virtualKeyCode [Integer] The key code of the hotkey, e.g. an ASCII character such as <code>'K'</code> or one of elements of {Wx::KeyCode} enum.
2290
2430
  # @return [Boolean]
2431
+ # @wxrb_require USE_HOTKEY
2291
2432
  def register_hot_key(hotkeyId, modifiers, virtualKeyCode) end
2292
2433
 
2293
2434
  # Unregisters a system wide hotkey.
2294
2435
  # true if the hotkey was unregistered successfully, false if the id was invalid.
2295
2436
  #
2296
- # This function is currently only implemented under MSW.
2437
+ # <div class="wxrb-remark">
2438
+ # <b>Remark:</b>
2439
+ # <p>This function is currently only implemented under MSW.
2440
+ # </p>
2441
+ # </div>>
2297
2442
  # @see Wx::Window#register_hot_key
2298
2443
  # @param hotkeyId [Integer] Numeric identifier of the hotkey. Must be the same id that was passed to {Wx::Window#register_hot_key}.
2299
2444
  # @return [Boolean]
2445
+ # @wxrb_require USE_HOTKEY
2300
2446
  def unregister_hot_key(hotkeyId) end
2301
2447
 
2302
2448
  # This function sends one or more {Wx::UpdateUIEvent} to the window.
@@ -2331,7 +2477,11 @@ module Wx
2331
2477
  def self.get_class_default_attributes(variant=Wx::WindowVariant::WINDOW_VARIANT_NORMAL) end
2332
2478
 
2333
2479
  # Finds the window or control which currently has the keyboard focus.
2334
- # Note that this is a static function, so it can be called without needing a {Wx::Window} pointer.
2480
+ # <div class="wxrb-remark">
2481
+ # <b>Remark:</b>
2482
+ # <p>Note that this is a static function, so it can be called without needing a {Wx::Window} pointer.
2483
+ # </p>
2484
+ # </div>>
2335
2485
  # @see Wx::Window#set_focus
2336
2486
  # @see Wx::Window#has_focus
2337
2487
  # @return [Wx::Window]
@@ -2403,7 +2553,7 @@ module Wx
2403
2553
  # @overload initialize()
2404
2554
  # Default constructor.
2405
2555
  # @return [Wx::Window]
2406
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::PanelNameStr)
2556
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::PANEL_NAME_STR)
2407
2557
  # Constructs a window, which can be a child of a frame, dialog or any other non-control window.
2408
2558
  # @param parent [Wx::Window] Pointer to a parent window.
2409
2559
  # @param id [Integer] Window identifier. If {Wx::StandardID::ID_ANY}, will automatically create an identifier. See Window IDs for more information about IDs.
@@ -2467,7 +2617,7 @@ module Wx
2467
2617
  # @param style [Integer]
2468
2618
  # @param name [String]
2469
2619
  # @return [Boolean]
2470
- def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::PanelNameStr) end
2620
+ def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::PANEL_NAME_STR) end
2471
2621
 
2472
2622
  end # Window
2473
2623
 
@@ -11,7 +11,6 @@ module Wx
11
11
  # To draw on a window from inside an EVT_PAINT() handler, construct a {Wx::PaintDC} object instead.
12
12
  # To draw on the client area of a window from outside an EVT_PAINT() handler, construct a {Wx::ClientDC} object.
13
13
  # A {Wx::WindowDC} object is initialized to use the same font and colours as the window it is associated with.
14
- # ===
15
14
  #
16
15
  # Category: Device Contexts
17
16
  # @see Wx::DC
@@ -8,9 +8,12 @@ module Wx
8
8
 
9
9
  # This class disables all top level windows of the application (maybe with the exception of one of them) in its constructor and enables them back in its destructor.
10
10
  # This is useful when you want to indicate to the user that the application is currently busy and cannot respond to user input.
11
- # When instantiated, this affects only windows shown on the screen and not already disabled.
12
11
  #
13
- # ===
12
+ # <div class="wxrb-note">
13
+ # <b>Note:</b>
14
+ # <p>When instantiated, this affects only windows shown on the screen and not already disabled.
15
+ # </p>
16
+ # </div>
14
17
  #
15
18
  # Category: {Wx::Miscellaneous}
16
19
  # @see Wx::BusyCursor
@@ -11,7 +11,12 @@ module Wx
11
11
  # The icon index can either be a special value NO_IMAGE to indicate that an item doesn't use an image at all or a small positive integer to specify the index of the icon in the list of images maintained by this class. Note that for many controls, either none of the items should have an icon or all of them should have one, i.e. mixing the items with and without an icon doesn't always work well and may result in less than ideal appearance.
12
12
  # To initialize the list of icons used, call {Wx::WithImages#set_images} method passing it a vector of {Wx::BitmapBundle} objects which can, in the simplest case, be just {Wx::Bitmap} or {Wx::Icon} objects however, as always with {Wx::BitmapBundle}, either more than one bitmap or icon needs to be specified or the bitmap bundle needs to be created from SVG to obtain better appearance in high DPI.
13
13
  # Alternative, traditional API which was the only one available until wxWidgets 3.1.6, is based on the use of {Wx::ImageList} class. To use it, you need to create an object of this class and then call either {Wx::WithImages#assign_image_list} to set this image list and give the control its ownership or {Wx::WithImages#set_image_list} to retain the ownership of the image list, which can be useful if the same image list is shared by multiple controls, but requires deleting the image list later.
14
- # {Wx::ImageList}-based API is not formally deprecated, but its use is discouraged because it is more complicated than simply providing a vector of bitmaps and it doesn't allow specifying multiple images or using SVG, which is required for good high DPI support. Please don't use {Wx::WithImages#assign_image_list} and {Wx::WithImages#set_image_list} in the new code and use {Wx::WithImages#set_images} instead.
14
+ #
15
+ # <div class="wxrb-note">
16
+ # <b>Note:</b>
17
+ # <p>{Wx::ImageList}-based API is not formally deprecated, but its use is discouraged because it is more complicated than simply providing a vector of bitmaps and it doesn't allow specifying multiple images or using SVG, which is required for good high DPI support. Please don't use {Wx::WithImages#assign_image_list} and {Wx::WithImages#set_image_list} in the new code and use {Wx::WithImages#set_images} instead.
18
+ # </p>
19
+ # </div>
15
20
  #
16
21
  #
17
22
  # @note In wxRuby this is a mixin module instead of a (base) class.