wxruby3 0.9.1-x64-mingw-ucrt → 0.9.2-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (455) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/ext/wxbase32u_gcc_custom.dll +0 -0
  4. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  5. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  6. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  7. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  18. data/lib/wx/aui/aui_tab_ctrl.rb +18 -0
  19. data/lib/wx/aui/auinotebook.rb +6 -2
  20. data/lib/wx/aui/require.rb +1 -0
  21. data/lib/wx/core/app.rb +2 -2
  22. data/lib/wx/core/collapsible_pane.rb +1 -1
  23. data/lib/wx/core/controlwithitems.rb +8 -6
  24. data/lib/wx/core/menu.rb +10 -0
  25. data/lib/wx/core/notebook.rb +6 -2
  26. data/lib/wx/core/sizer.rb +11 -0
  27. data/lib/wx/core/task_bar_button.rb +19 -0
  28. data/lib/wx/core/textctrl.rb +11 -1
  29. data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
  30. data/lib/wx/core/window.rb +10 -0
  31. data/lib/wx/doc/app.rb +48 -38
  32. data/lib/wx/doc/art_locator.rb +47 -43
  33. data/lib/wx/doc/aui/auimanager.rb +16 -8
  34. data/lib/wx/doc/aui/auinotebook.rb +20 -5
  35. data/lib/wx/doc/clipboard.rb +11 -7
  36. data/lib/wx/doc/colour_dialog.rb +14 -10
  37. data/lib/wx/doc/controlwithitems.rb +17 -7
  38. data/lib/wx/doc/data_object.rb +2 -2
  39. data/lib/wx/doc/evthandler.rb +113 -108
  40. data/lib/wx/doc/font.rb +1 -0
  41. data/lib/wx/doc/gc_dc.rb +6 -1
  42. data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
  43. data/lib/wx/doc/gen/accelerator.rb +14 -5
  44. data/lib/wx/doc/gen/accessible.rb +35 -47
  45. data/lib/wx/doc/gen/activity_indicator.rb +4 -5
  46. data/lib/wx/doc/gen/animation.rb +7 -3
  47. data/lib/wx/doc/gen/animation_ctrl.rb +6 -7
  48. data/lib/wx/doc/gen/any_button.rb +6 -1
  49. data/lib/wx/doc/gen/app.rb +7 -5
  50. data/lib/wx/doc/gen/app_traits.rb +27 -10
  51. data/lib/wx/doc/gen/art_provider.rb +19 -7
  52. data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
  53. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
  54. data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
  55. data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
  56. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +1 -0
  57. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
  58. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +6 -1
  59. data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
  60. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
  61. data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
  62. data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
  63. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
  64. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
  65. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
  66. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
  67. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
  68. data/lib/wx/doc/gen/aui/event_list.rb +164 -160
  69. data/lib/wx/doc/gen/banner_window.rb +1 -1
  70. data/lib/wx/doc/gen/bitmap.rb +33 -16
  71. data/lib/wx/doc/gen/bitmap_button.rb +11 -8
  72. data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -8
  73. data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
  74. data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
  75. data/lib/wx/doc/gen/box_sizer.rb +0 -1
  76. data/lib/wx/doc/gen/brush.rb +5 -2
  77. data/lib/wx/doc/gen/busy_info.rb +2 -2
  78. data/lib/wx/doc/gen/button.rb +23 -11
  79. data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
  80. data/lib/wx/doc/gen/calendar_ctrl.rb +16 -13
  81. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  82. data/lib/wx/doc/gen/calendar_event.rb +4 -3
  83. data/lib/wx/doc/gen/caret.rb +0 -1
  84. data/lib/wx/doc/gen/check_box.rb +7 -7
  85. data/lib/wx/doc/gen/check_list_box.rb +5 -6
  86. data/lib/wx/doc/gen/choice.rb +16 -9
  87. data/lib/wx/doc/gen/choicebook.rb +6 -7
  88. data/lib/wx/doc/gen/client_dc.rb +5 -2
  89. data/lib/wx/doc/gen/clipboard.rb +7 -3
  90. data/lib/wx/doc/gen/collapsible_pane.rb +6 -7
  91. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
  92. data/lib/wx/doc/gen/colour.rb +8 -4
  93. data/lib/wx/doc/gen/colour_dialog.rb +6 -8
  94. data/lib/wx/doc/gen/colour_picker_ctrl.rb +9 -10
  95. data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
  96. data/lib/wx/doc/gen/combo_box.rb +16 -13
  97. data/lib/wx/doc/gen/combo_ctrl.rb +95 -32
  98. data/lib/wx/doc/gen/command_link_button.rb +4 -5
  99. data/lib/wx/doc/gen/context_help_button.rb +7 -3
  100. data/lib/wx/doc/gen/control.rb +10 -8
  101. data/lib/wx/doc/gen/control_with_items.rb +0 -1
  102. data/lib/wx/doc/gen/core.rb +4 -4
  103. data/lib/wx/doc/gen/cursor.rb +6 -8
  104. data/lib/wx/doc/gen/data_format.rb +6 -1
  105. data/lib/wx/doc/gen/data_object.rb +15 -13
  106. data/lib/wx/doc/gen/date_event.rb +2 -2
  107. data/lib/wx/doc/gen/date_picker_ctrl.rb +12 -8
  108. data/lib/wx/doc/gen/dc.rb +155 -37
  109. data/lib/wx/doc/gen/defs.rb +51 -51
  110. data/lib/wx/doc/gen/dial_up_event.rb +1 -2
  111. data/lib/wx/doc/gen/dial_up_manager.rb +13 -5
  112. data/lib/wx/doc/gen/dialog.rb +33 -13
  113. data/lib/wx/doc/gen/dir_dialog.rb +17 -5
  114. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
  115. data/lib/wx/doc/gen/dir_picker_ctrl.rb +9 -10
  116. data/lib/wx/doc/gen/drag_drop.rb +11 -10
  117. data/lib/wx/doc/gen/drag_image.rb +6 -2
  118. data/lib/wx/doc/gen/editable_list_box.rb +2 -2
  119. data/lib/wx/doc/gen/event.rb +35 -19
  120. data/lib/wx/doc/gen/event_blocker.rb +1 -3
  121. data/lib/wx/doc/gen/event_list.rb +1656 -1652
  122. data/lib/wx/doc/gen/events.rb +162 -169
  123. data/lib/wx/doc/gen/evt_handler.rb +11 -3
  124. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  125. data/lib/wx/doc/gen/file_ctrl.rb +19 -10
  126. data/lib/wx/doc/gen/file_ctrl_event.rb +3 -4
  127. data/lib/wx/doc/gen/file_dialog.rb +31 -14
  128. data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
  129. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
  130. data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
  131. data/lib/wx/doc/gen/file_picker_ctrl.rb +8 -9
  132. data/lib/wx/doc/gen/file_system.rb +38 -15
  133. data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
  134. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  135. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  136. data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -1
  137. data/lib/wx/doc/gen/font.rb +31 -20
  138. data/lib/wx/doc/gen/font_data.rb +3 -4
  139. data/lib/wx/doc/gen/font_dialog.rb +1 -2
  140. data/lib/wx/doc/gen/font_picker_ctrl.rb +6 -7
  141. data/lib/wx/doc/gen/font_picker_event.rb +2 -3
  142. data/lib/wx/doc/gen/frame.rb +56 -15
  143. data/lib/wx/doc/gen/fs_file.rb +17 -10
  144. data/lib/wx/doc/gen/gauge.rb +11 -8
  145. data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
  146. data/lib/wx/doc/gen/gcdc.rb +1 -2
  147. data/lib/wx/doc/gen/gdi_common.rb +30 -11
  148. data/lib/wx/doc/gen/gdi_object.rb +0 -1
  149. data/lib/wx/doc/gen/generic_dir_ctrl.rb +6 -7
  150. data/lib/wx/doc/gen/graphics_context.rb +58 -11
  151. data/lib/wx/doc/gen/graphics_object.rb +11 -6
  152. data/lib/wx/doc/gen/grid/event_list.rb +168 -164
  153. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
  154. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
  155. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
  156. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  157. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
  158. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
  159. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
  160. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  161. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  162. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  163. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
  164. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  165. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  166. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
  167. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
  168. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
  169. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
  170. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
  171. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
  172. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
  173. data/lib/wx/doc/gen/grid/grid_ctrl.rb +27 -5
  174. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
  175. data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
  176. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
  177. data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
  178. data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
  179. data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
  180. data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
  181. data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
  182. data/lib/wx/doc/gen/grid_sizer.rb +0 -1
  183. data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
  184. data/lib/wx/doc/gen/header_ctrl.rb +4 -11
  185. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
  186. data/lib/wx/doc/gen/help_controller.rb +3 -3
  187. data/lib/wx/doc/gen/help_provider.rb +12 -3
  188. data/lib/wx/doc/gen/html/event_list.rb +41 -37
  189. data/lib/wx/doc/gen/html/html_cell.rb +23 -6
  190. data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
  191. data/lib/wx/doc/gen/html/html_easy_printing.rb +7 -2
  192. data/lib/wx/doc/gen/html/html_help_controller.rb +8 -2
  193. data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
  194. data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
  195. data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
  196. data/lib/wx/doc/gen/html/html_list_box.rb +5 -7
  197. data/lib/wx/doc/gen/html/html_printout.rb +1 -2
  198. data/lib/wx/doc/gen/html/html_window.rb +12 -6
  199. data/lib/wx/doc/gen/hyperlink_ctrl.rb +7 -7
  200. data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
  201. data/lib/wx/doc/gen/icon.rb +5 -29
  202. data/lib/wx/doc/gen/icon_location.rb +0 -1
  203. data/lib/wx/doc/gen/image.rb +83 -17
  204. data/lib/wx/doc/gen/image_list.rb +15 -6
  205. data/lib/wx/doc/gen/info_bar.rb +2 -2
  206. data/lib/wx/doc/gen/keyboard_state.rb +0 -1
  207. data/lib/wx/doc/gen/list_box.rb +29 -17
  208. data/lib/wx/doc/gen/list_ctrl.rb +76 -29
  209. data/lib/wx/doc/gen/list_event.rb +3 -4
  210. data/lib/wx/doc/gen/listbook.rb +6 -7
  211. data/lib/wx/doc/gen/locale.rb +46 -4
  212. data/lib/wx/doc/gen/log.rb +16 -12
  213. data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
  214. data/lib/wx/doc/gen/mdi_frame.rb +28 -7
  215. data/lib/wx/doc/gen/media_ctrl.rb +26 -18
  216. data/lib/wx/doc/gen/media_event.rb +5 -4
  217. data/lib/wx/doc/gen/memory_dc.rb +6 -6
  218. data/lib/wx/doc/gen/menu.rb +37 -23
  219. data/lib/wx/doc/gen/menu_bar.rb +52 -12
  220. data/lib/wx/doc/gen/menu_item.rb +41 -19
  221. data/lib/wx/doc/gen/message_dialog.rb +7 -8
  222. data/lib/wx/doc/gen/mini_frame.rb +11 -5
  223. data/lib/wx/doc/gen/mirror_dc.rb +0 -2
  224. data/lib/wx/doc/gen/mouse_state.rb +0 -1
  225. data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
  226. data/lib/wx/doc/gen/non_owned_window.rb +1 -1
  227. data/lib/wx/doc/gen/notebook.rb +17 -9
  228. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  229. data/lib/wx/doc/gen/object.rb +0 -1
  230. data/lib/wx/doc/gen/paint_dc.rb +0 -1
  231. data/lib/wx/doc/gen/palette.rb +0 -1
  232. data/lib/wx/doc/gen/panel.rb +17 -8
  233. data/lib/wx/doc/gen/pen.rb +17 -8
  234. data/lib/wx/doc/gen/pg/event_list.rb +97 -93
  235. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
  236. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
  237. data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
  238. data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
  239. data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
  240. data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
  241. data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
  242. data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
  243. data/lib/wx/doc/gen/pg/property_grid.rb +81 -20
  244. data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
  245. data/lib/wx/doc/gen/pg/property_grid_interface.rb +214 -36
  246. data/lib/wx/doc/gen/pg/property_grid_manager.rb +40 -10
  247. data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
  248. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
  249. data/lib/wx/doc/gen/picker_base.rb +12 -5
  250. data/lib/wx/doc/gen/platform_info.rb +4 -9
  251. data/lib/wx/doc/gen/popup_window.rb +2 -5
  252. data/lib/wx/doc/gen/progress_dialog.rb +1 -0
  253. data/lib/wx/doc/gen/property_sheet_dialog.rb +13 -3
  254. data/lib/wx/doc/gen/prt/event_list.rb +8 -4
  255. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
  256. data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
  257. data/lib/wx/doc/gen/prt/preview_frame.rb +1 -1
  258. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +3 -0
  259. data/lib/wx/doc/gen/prt/print_data.rb +4 -3
  260. data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
  261. data/lib/wx/doc/gen/prt/printer.rb +50 -11
  262. data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
  263. data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
  264. data/lib/wx/doc/gen/radio_box.rb +9 -10
  265. data/lib/wx/doc/gen/radio_button.rb +13 -9
  266. data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
  267. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
  268. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
  269. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
  270. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
  271. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
  272. data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
  273. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
  274. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
  275. data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
  276. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
  277. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
  278. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
  279. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
  280. data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -2
  281. data/lib/wx/doc/gen/rearrange_list.rb +3 -4
  282. data/lib/wx/doc/gen/region.rb +75 -17
  283. data/lib/wx/doc/gen/region_iterator.rb +0 -1
  284. data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
  285. data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
  286. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
  287. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
  288. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
  289. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +10 -7
  290. data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
  291. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -4
  292. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +2 -3
  293. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
  294. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
  295. data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
  296. data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
  297. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
  298. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +2 -2
  299. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +5 -5
  300. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +1 -1
  301. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +2 -3
  302. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +1 -2
  303. data/lib/wx/doc/gen/sash_event.rb +9 -4
  304. data/lib/wx/doc/gen/sash_layout_window.rb +11 -4
  305. data/lib/wx/doc/gen/sash_window.rb +3 -4
  306. data/lib/wx/doc/gen/screen_dc.rb +0 -1
  307. data/lib/wx/doc/gen/scroll_bar.rb +19 -10
  308. data/lib/wx/doc/gen/scrolled_canvas.rb +32 -10
  309. data/lib/wx/doc/gen/scrolled_control.rb +32 -10
  310. data/lib/wx/doc/gen/scrolled_window.rb +32 -10
  311. data/lib/wx/doc/gen/search_ctrl.rb +8 -9
  312. data/lib/wx/doc/gen/simplebook.rb +1 -1
  313. data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
  314. data/lib/wx/doc/gen/sizer.rb +12 -7
  315. data/lib/wx/doc/gen/sizer_item.rb +5 -2
  316. data/lib/wx/doc/gen/slider.rb +27 -17
  317. data/lib/wx/doc/gen/spin_button.rb +15 -10
  318. data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
  319. data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
  320. data/lib/wx/doc/gen/spin_double_event.rb +3 -4
  321. data/lib/wx/doc/gen/spin_event.rb +3 -3
  322. data/lib/wx/doc/gen/splash_screen.rb +1 -2
  323. data/lib/wx/doc/gen/splitter_event.rb +3 -4
  324. data/lib/wx/doc/gen/splitter_window.rb +76 -18
  325. data/lib/wx/doc/gen/static_bitmap.rb +10 -5
  326. data/lib/wx/doc/gen/static_box.rb +9 -7
  327. data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
  328. data/lib/wx/doc/gen/static_line.rb +3 -4
  329. data/lib/wx/doc/gen/static_text.rb +5 -6
  330. data/lib/wx/doc/gen/status_bar.rb +19 -9
  331. data/lib/wx/doc/gen/stc/event_list.rb +212 -208
  332. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +39 -13
  333. data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
  334. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
  335. data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
  336. data/lib/wx/doc/gen/system_options.rb +6 -6
  337. data/lib/wx/doc/gen/system_settings.rb +2 -3
  338. data/lib/wx/doc/gen/task_bar_button.rb +312 -0
  339. data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
  340. data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
  341. data/lib/wx/doc/gen/text_attr.rb +20 -5
  342. data/lib/wx/doc/gen/text_ctrl.rb +90 -25
  343. data/lib/wx/doc/gen/text_entry.rb +31 -11
  344. data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
  345. data/lib/wx/doc/gen/text_validator.rb +43 -10
  346. data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -6
  347. data/lib/wx/doc/gen/timer.rb +6 -2
  348. data/lib/wx/doc/gen/timer_event.rb +1 -2
  349. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  350. data/lib/wx/doc/gen/toggle_button.rb +5 -6
  351. data/lib/wx/doc/gen/tool_bar.rb +98 -25
  352. data/lib/wx/doc/gen/tool_tip.rb +35 -5
  353. data/lib/wx/doc/gen/toolbook.rb +3 -4
  354. data/lib/wx/doc/gen/top_level_window.rb +69 -23
  355. data/lib/wx/doc/gen/tree_ctrl.rb +40 -16
  356. data/lib/wx/doc/gen/tree_event.rb +3 -4
  357. data/lib/wx/doc/gen/treebook.rb +7 -4
  358. data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
  359. data/lib/wx/doc/gen/utils.rb +39 -7
  360. data/lib/wx/doc/gen/v_list_box.rb +6 -2
  361. data/lib/wx/doc/gen/v_scrolled_window.rb +6 -4
  362. data/lib/wx/doc/gen/validator.rb +1 -1
  363. data/lib/wx/doc/gen/variant.rb +1 -0
  364. data/lib/wx/doc/gen/window.rb +195 -45
  365. data/lib/wx/doc/gen/window_dc.rb +0 -1
  366. data/lib/wx/doc/gen/window_disabler.rb +5 -2
  367. data/lib/wx/doc/gen/with_images.rb +6 -1
  368. data/lib/wx/doc/gen/wizard.rb +4 -4
  369. data/lib/wx/doc/gen/wizard_event.rb +3 -4
  370. data/lib/wx/doc/gen/wizard_page.rb +2 -2
  371. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  372. data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
  373. data/lib/wx/doc/gen/xml_node.rb +19 -4
  374. data/lib/wx/doc/gen/xml_resource.rb +18 -5
  375. data/lib/wx/doc/graphics_context.rb +1 -0
  376. data/lib/wx/doc/grid/grid.rb +22 -1
  377. data/lib/wx/doc/help_controller.rb +11 -7
  378. data/lib/wx/doc/html/html_help_controller.rb +12 -4
  379. data/lib/wx/doc/list_ctrl.rb +33 -29
  380. data/lib/wx/doc/menu.rb +20 -0
  381. data/lib/wx/doc/notebook.rb +21 -0
  382. data/lib/wx/doc/pg/events.rb +13 -9
  383. data/lib/wx/doc/pg/pg_property.rb +18 -0
  384. data/lib/wx/doc/progress_dialog.rb +36 -32
  385. data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
  386. data/lib/wx/doc/prt/print_data.rb +13 -5
  387. data/lib/wx/doc/prt/print_dialog.rb +31 -23
  388. data/lib/wx/doc/prt/printer.rb +20 -12
  389. data/lib/wx/doc/radio_box.rb +19 -15
  390. data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
  391. data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
  392. data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
  393. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
  394. data/lib/wx/doc/region_iterator.rb +32 -28
  395. data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
  396. data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
  397. data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
  398. data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
  399. data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
  400. data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
  401. data/lib/wx/doc/sizer.rb +20 -0
  402. data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
  403. data/lib/wx/doc/stream.rb +39 -35
  404. data/lib/wx/doc/system_settings.rb +30 -26
  405. data/lib/wx/doc/text_validator.rb +12 -8
  406. data/lib/wx/doc/textctrl.rb +16 -0
  407. data/lib/wx/doc/tree_ctrl.rb +95 -0
  408. data/lib/wx/doc/treebook.rb +9 -5
  409. data/lib/wx/doc/v_list_box.rb +9 -5
  410. data/lib/wx/doc/variant.rb +164 -160
  411. data/lib/wx/doc/window.rb +57 -47
  412. data/lib/wx/doc/window_disabler.rb +10 -6
  413. data/lib/wx/grid/grid.rb +27 -4
  414. data/lib/wx/pg/pg_property.rb +22 -0
  415. data/lib/wx/rtc/require.rb +3 -0
  416. data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
  417. data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
  418. data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
  419. data/lib/wx/stc/require.rb +1 -0
  420. data/lib/wx/stc/styled_text_ctrl.rb +25 -0
  421. data/lib/wx/version.rb +1 -1
  422. data/lib/wxruby_aui.so +0 -0
  423. data/lib/wxruby_core.so +0 -0
  424. data/lib/wxruby_grid.so +0 -0
  425. data/lib/wxruby_html.so +0 -0
  426. data/lib/wxruby_pg.so +0 -0
  427. data/lib/wxruby_prt.so +0 -0
  428. data/lib/wxruby_rbn.so +0 -0
  429. data/lib/wxruby_rtc.so +0 -0
  430. data/lib/wxruby_stc.so +0 -0
  431. data/rakelib/lib/config/linux.rb +0 -3
  432. data/rakelib/lib/config/macosx.rb +2 -2
  433. data/rakelib/lib/config/mingw.rb +1 -1
  434. data/rakelib/lib/config/unixish.rb +1 -1
  435. data/rakelib/lib/config.rb +14 -4
  436. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
  437. data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
  438. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
  439. data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
  440. data/rakelib/yard/templates/default/tags/setup.rb +16 -0
  441. data/rakelib/yard/yard-custom-templates.rb +3 -0
  442. data/samples/treectrl/treectrl.rb +1 -1
  443. data/tests/media/beep_lo.wav +0 -0
  444. data/tests/test_list_ctrl.rb +1 -1
  445. data/tests/test_media_ctrl.rb +38 -0
  446. data/tests/test_menu.rb +69 -0
  447. data/tests/test_pg.rb +27 -0
  448. data/tests/test_richtext.rb +45 -0
  449. data/tests/test_sizer.rb +16 -0
  450. data/tests/test_std_controls.rb +42 -1
  451. data/tests/test_styled_text_ctrl.rb +46 -0
  452. data/tests/test_tree_ctrl.rb +138 -0
  453. data/tests/test_window.rb +12 -0
  454. data/tests/testapp_noframe.rb +1 -1
  455. metadata +28 -3
@@ -18,6 +18,7 @@ module Wx
18
18
  #
19
19
  #
20
20
  #
21
+ # @wxrb_require USE_COMBOCTRL
21
22
  class OwnerDrawnComboBoxPaintingFlags < Wx::Enum
22
23
 
23
24
  # Combo control is being painted, instead of a list item.
@@ -41,15 +42,15 @@ module Wx
41
42
  # A combo control is a generic combobox that allows totally custom popup.
42
43
  # In addition it has other customization features. For instance, position and size of the dropdown button can be changed.
43
44
  #
44
- # == Setting Custom Popup for wxComboCtrl
45
+ # ## Setting Custom Popup for wxComboCtrl
45
46
  #
46
47
  # {Wx::ComboCtrl} needs to be told somehow which control to use and this is done by {Wx::ComboCtrl#set_popup_control}. However, we need something more than just a {Wx::Control} in this method as, for example, we need to call SetStringValue("initial text value") and {Wx::Control} doesn't have such method. So we also need a {Wx::ComboPopup} which is an interface which must be implemented by a control to be usable as a popup.
47
48
  # We couldn't derive {Wx::ComboPopup} from {Wx::Control} as this would make it impossible to have a class deriving from a wxWidgets control and from it, so instead it is just a mix-in.
48
49
  # Here's a minimal sample of {Wx::ListView} popup:
49
50
  #
50
51
  # ```
51
- # #include <wx/combo.h>
52
- # #include <wx/listctrl.h>
52
+ # \#include <wx/combo.h>
53
+ # \#include <wx/listctrl.h>
53
54
  #
54
55
  # class wxListViewComboPopup : public wxListView, public wxComboPopup
55
56
  # {
@@ -131,7 +132,7 @@ module Wx
131
132
  # popupCtrl->InsertItem(popupCtrl->GetItemCount(), "Third Item");
132
133
  # ```
133
134
  #
134
- # === Styles
135
+ # ### Styles
135
136
  #
136
137
  # This class supports the following styles:
137
138
  #
@@ -145,7 +146,7 @@ module Wx
145
146
  #
146
147
  # - {Wx::CC_STD_BUTTON}: Drop button will behave more like a standard push button.
147
148
  #
148
- # === Events emitted by this class
149
+ # ### Events emitted by this class
149
150
  #
150
151
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
151
152
  # Event handler methods for events emitted by this class:
@@ -158,11 +159,9 @@ module Wx
158
159
  #
159
160
  # - {Wx::EvtHandler#evt_combobox_closeup}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX_CLOSEUP} event, which is generated when the popup window of the combo control disappears (closes up). You should avoid adding or deleting items in this event.
160
161
  #
161
- # ===
162
- #
163
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
164
- # </td><td> wxGTK Appearance
165
- # </td><td> wxOSX Appearance
162
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
163
+ # </td><td> WXGTK Appearance
164
+ # </td><td> WXOSX Appearance
166
165
  # </td></tr></table></div>
167
166
  # @see Wx::ComboBox
168
167
  # @see Wx::Choice
@@ -171,6 +170,7 @@ module Wx
171
170
  # @see Wx::CommandEvent
172
171
  #
173
172
  #
173
+ # @wxrb_require USE_COMBOCTRL
174
174
  class ComboCtrl < Control
175
175
 
176
176
  include Wx::TextEntry
@@ -304,7 +304,11 @@ module Wx
304
304
  alias_method :hint, :get_hint
305
305
 
306
306
  # Returns the insertion point for the combo control's text field.
307
- # Under Windows, this function always returns 0 if the combo control doesn't have the focus.
307
+ # <div class="wxrb-note">
308
+ # <b>Note:</b>
309
+ # <p>Under Windows, this function always returns 0 if the combo control doesn't have the focus.
310
+ # </p>
311
+ # </div>
308
312
  # @return [Integer]
309
313
  def get_insertion_point; end
310
314
  alias_method :insertion_point, :get_insertion_point
@@ -316,7 +320,12 @@ module Wx
316
320
 
317
321
  # Returns the margins used by the control.
318
322
  # The x field of the returned point is the horizontal margin and the y field is the vertical one.
319
- # If given margin cannot be accurately determined, its value will be set to -1.
323
+ #
324
+ # <div class="wxrb-remark">
325
+ # <b>Remark:</b>
326
+ # <p>If given margin cannot be accurately determined, its value will be set to -1.
327
+ # </p>
328
+ # </div>>
320
329
  # @see Wx::ComboCtrl#set_margins
321
330
  # @return [Wx::Point]
322
331
  def get_margins; end
@@ -371,7 +380,12 @@ module Wx
371
380
 
372
381
  # Implement in a derived class to define what happens on dropdown button click.
373
382
  # Default action is to show the popup.
374
- # If you implement this to do something else than show the popup, you must then also implement {Wx::ComboCtrl#do_set_popup_control} to always return NULL.
383
+ #
384
+ # <div class="wxrb-note">
385
+ # <b>Note:</b>
386
+ # <p>If you implement this to do something else than show the popup, you must then also implement {Wx::ComboCtrl#do_set_popup_control} to always return NULL.
387
+ # </p>
388
+ # </div>
375
389
  # @return [void]
376
390
  def on_button_click; end
377
391
 
@@ -485,14 +499,22 @@ module Wx
485
499
  alias_method :popup_control=, :set_popup_control
486
500
 
487
501
  # Extends popup size horizontally, relative to the edges of the combo control.
488
- # Popup minimum width may override arguments. It is up to the popup to fully take this into account.
502
+ # <div class="wxrb-remark">
503
+ # <b>Remark:</b>
504
+ # <p>Popup minimum width may override arguments. It is up to the popup to fully take this into account.
505
+ # </p>
506
+ # </div>>
489
507
  # @param extLeft [Integer] How many pixel to extend beyond the left edge of the control. Default is 0.
490
508
  # @param extRight [Integer] How many pixel to extend beyond the right edge of the control. Default is 0.
491
509
  # @return [void]
492
510
  def set_popup_extents(extLeft, extRight) end
493
511
 
494
512
  # Sets preferred maximum height of the popup.
495
- # Value -1 indicates the default.
513
+ # <div class="wxrb-remark">
514
+ # <b>Remark:</b>
515
+ # <p>Value -1 indicates the default.
516
+ # </p>
517
+ # </div>>
496
518
  # @param height [Integer]
497
519
  # @return [void]
498
520
  def set_popup_max_height(height) end
@@ -500,7 +522,12 @@ module Wx
500
522
 
501
523
  # Sets minimum width of the popup.
502
524
  # If wider than combo control, it will extend to the left.
503
- # Value -1 indicates the default. Also, popup implementation may choose to ignore this.
525
+ #
526
+ # <div class="wxrb-remark">
527
+ # <b>Remark:</b>
528
+ # <p>Value -1 indicates the default. Also, popup implementation may choose to ignore this.
529
+ # </p>
530
+ # </div>>
504
531
  # @param width [Integer]
505
532
  # @return [void]
506
533
  def set_popup_min_width(width) end
@@ -536,7 +563,11 @@ module Wx
536
563
  alias_method :text_ctrl_style=, :set_text_ctrl_style
537
564
 
538
565
  # Sets the text for the combo control text field.
539
- # For a combo control with {Wx::CB_READONLY} style the string must be accepted by the popup (for instance, exist in the dropdown list), otherwise the call to {Wx::ComboCtrl#set_value} is ignored.
566
+ # <div class="wxrb-note">
567
+ # <b>Note:</b>
568
+ # <p>For a combo control with {Wx::CB_READONLY} style the string must be accepted by the popup (for instance, exist in the dropdown list), otherwise the call to {Wx::ComboCtrl#set_value} is ignored.
569
+ # </p>
570
+ # </div>
540
571
  # @param value [String]
541
572
  # @return [void]
542
573
  def set_value(value) end
@@ -579,7 +610,12 @@ module Wx
579
610
 
580
611
  # This member function is not normally called in application code.
581
612
  # Instead, it can be implemented in a derived class to return default {Wx::ComboPopup}, in case popup is NULL.
582
- # If you have implemented {Wx::ComboCtrl#on_button_click} to do something else than show the popup, then {Wx::ComboCtrl#do_set_popup_control} must always set popup to NULL.
613
+ #
614
+ # <div class="wxrb-note">
615
+ # <b>Note:</b>
616
+ # <p>If you have implemented {Wx::ComboCtrl#on_button_click} to do something else than show the popup, then {Wx::ComboCtrl#do_set_popup_control} must always set popup to NULL.
617
+ # </p>
618
+ # </div>
583
619
  # @param popup [Wx::ComboPopup]
584
620
  # @return [void]
585
621
  def do_set_popup_control(popup) end
@@ -595,7 +631,6 @@ module Wx
595
631
 
596
632
  # In order to use a custom popup with {Wx::ComboCtrl}, an interface class must be derived from {Wx::ComboPopup}.
597
633
  # For more information on how to use it, see Setting Custom Popup for wxComboCtrl.
598
- # ===
599
634
  #
600
635
  # Category: {Wx::Controls}
601
636
  # @see Wx::ComboCtrl
@@ -603,6 +638,7 @@ module Wx
603
638
  #
604
639
  #
605
640
  # @note In wxRuby this is a mixin module instead of a (base) class.
641
+ # @wxrb_require USE_COMBOCTRL
606
642
  module ComboPopup
607
643
 
608
644
  # Default constructor.
@@ -627,14 +663,22 @@ module Wx
627
663
  def dismiss; end
628
664
 
629
665
  # Implement to customize matching of value string to an item container entry.
630
- # Default implementation always return true and does not alter trueItem.
666
+ # <div class="wxrb-remark">
667
+ # <b>Remark:</b>
668
+ # <p>Default implementation always return true and does not alter trueItem.
669
+ # </p>
670
+ # </div>>
631
671
  # @param item [String] String entered, usually by user or from SetValue() call.
632
672
  # @param trueItem [String] When item matches an entry, but the entry's string representation is not exactly the same (case mismatch, for example), then the true item string should be written back to here, if it is not a NULL pointer.
633
673
  # @return [Boolean]
634
674
  def find_item(item, trueItem=nil) end
635
675
 
636
676
  # The derived class may implement this to return adjusted size for the popup control, according to the variables given.
637
- # This function is called each time popup is about to be shown.
677
+ # <div class="wxrb-remark">
678
+ # <b>Remark:</b>
679
+ # <p>This function is called each time popup is about to be shown.
680
+ # </p>
681
+ # </div>>
638
682
  # @param minWidth [Integer] Preferred minimum width.
639
683
  # @param prefHeight [Integer] Preferred height. May be -1 to indicate no preference.
640
684
  # @param maxHeight [Integer] Max height for window, as limited by screen size.
@@ -670,7 +714,12 @@ module Wx
670
714
 
671
715
  # The derived class may implement this to return true if it wants to delay call to {Wx::ComboPopup#create} until the popup is shown for the first time.
672
716
  # It is more efficient, but on the other hand it is often more convenient to have the control created immediately.
673
- # Base implementation returns false.
717
+ #
718
+ # <div class="wxrb-remark">
719
+ # <b>Remark:</b>
720
+ # <p>Base implementation returns false.
721
+ # </p>
722
+ # </div>>
674
723
  # @return [Boolean]
675
724
  def lazy_create; end
676
725
 
@@ -710,7 +759,7 @@ module Wx
710
759
  # {Wx::OwnerDrawnComboBox} is a combobox with owner-drawn list items.
711
760
  # In essence, it is a {Wx::ComboCtrl} with {Wx::VListBox} popup and {Wx::ControlWithItems} interface.
712
761
  # Implementing item drawing and measuring is similar to {Wx::VListBox}. Application needs to subclass {Wx::OwnerDrawnComboBox} and implement {Wx::OwnerDrawnComboBox#on_draw_item}, {Wx::OwnerDrawnComboBox#on_measure_item} and {Wx::OwnerDrawnComboBox#on_measure_item_width}.
713
- # === Styles
762
+ # ### Styles
714
763
  #
715
764
  # This class supports the following styles:
716
765
  #
@@ -718,18 +767,16 @@ module Wx
718
767
  #
719
768
  # - {Wx::ODCB_STD_CONTROL_PAINT}: Control itself is not custom painted using OnDrawItem. Even if this style is not used, writable {Wx::OwnerDrawnComboBox} is never custom painted unless {Wx::OwnerDrawnComboBox#set_custom_paint_width} is called.
720
769
  #
721
- # === Events emitted by this class
770
+ # ### Events emitted by this class
722
771
  #
723
772
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
724
773
  # Event handler methods for events emitted by this class:
725
774
  #
726
775
  # - {Wx::EvtHandler#evt_combobox}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX} event, when an item on the list is selected. Note that calling {Wx::OwnerDrawnComboBox#get_value} returns the new value of selection.
727
776
  #
728
- # ===
729
- #
730
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
731
- # </td><td> wxGTK Appearance
732
- # </td><td> wxOSX Appearance
777
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
778
+ # </td><td> WXGTK Appearance
779
+ # </td><td> WXOSX Appearance
733
780
  # </td></tr></table></div>
734
781
  # @see Wx::ComboCtrl window styles and Window Styles.
735
782
  #
@@ -741,12 +788,18 @@ module Wx
741
788
  # @see Wx::CommandEvent
742
789
  #
743
790
  #
791
+ # @wxrb_require USE_COMBOCTRL
744
792
  class OwnerDrawnComboBox < ComboCtrl
745
793
 
746
794
  # @overload create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
747
795
  # Creates the combobox for two-step construction.
748
796
  # See {Wx::OwnerDrawnComboBox#initialize} for further details.
749
- # Derived classes should call or replace this function.
797
+ #
798
+ # <div class="wxrb-remark">
799
+ # <b>Remark:</b>
800
+ # <p>Derived classes should call or replace this function.
801
+ # </p>
802
+ # </div>>
750
803
  # @param parent [Wx::Window]
751
804
  # @param id [Integer]
752
805
  # @param value [String]
@@ -759,7 +812,12 @@ module Wx
759
812
  # @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
760
813
  # Creates the combobox for two-step construction.
761
814
  # See {Wx::OwnerDrawnComboBox#initialize} for further details.
762
- # Derived classes should call or replace this function.
815
+ #
816
+ # <div class="wxrb-remark">
817
+ # <b>Remark:</b>
818
+ # <p>Derived classes should call or replace this function.
819
+ # </p>
820
+ # </div>>
763
821
  # @param parent [Wx::Window]
764
822
  # @param id [Integer]
765
823
  # @param value [String]
@@ -924,7 +982,12 @@ module Wx
924
982
 
925
983
  # This method is used to draw the items background and, maybe, a border around it.
926
984
  # The base class version implements a reasonable default behaviour which consists in drawing the selected item with the standard background colour and drawing a border around the item if it is either selected or current.
927
- # flags has the same meaning as with {Wx::OwnerDrawnComboBox#on_draw_item}.
985
+ #
986
+ # <div class="wxrb-remark">
987
+ # <b>Remark:</b>
988
+ # <p>flags has the same meaning as with {Wx::OwnerDrawnComboBox#on_draw_item}.
989
+ # </p>
990
+ # </div>>
928
991
  # @param dc [Wx::DC]
929
992
  # @param rect [Wx::Rect]
930
993
  # @param item [Integer]
@@ -13,16 +13,15 @@ module Wx
13
13
  # {Wx::CommandLinkButton} generates the same event as {Wx::Button} but doesn't support any of {Wx::Button}-specific styles nor adds any new styles of its own.
14
14
  # Currently this class uses native implementation under Windows Vista and later versions and a generic implementation for the other platforms and earlier Windows versions.
15
15
  #
16
- # ===
17
- #
18
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
19
- # </td><td> wxGTK Appearance
20
- # </td><td> wxOSX Appearance
16
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
17
+ # </td><td> WXGTK Appearance
18
+ # </td><td> WXOSX Appearance
21
19
  # </td></tr></table></div>
22
20
  # @see Wx::Button
23
21
  # @see Wx::BitmapButton
24
22
  #
25
23
  #
24
+ # @wxrb_require USE_BUTTON
26
25
  class CommandLinkButton < Button
27
26
 
28
27
  # @overload initialize()
@@ -9,17 +9,21 @@ module Wx
9
9
  # Instances of this class may be used to add a question mark button that when pressed, puts the application into context-help mode.
10
10
  # It does this by creating a {Wx::ContextHelp} object which itself generates a {Wx::EVT_HELP} event when the user clicks on a window.
11
11
  # On Windows, you may add a question-mark icon to a dialog by use of the {Wx::DIALOG_EX_CONTEXTHELP} extra style, but on other platforms you will have to add a button explicitly, usually next to OK, Cancel or similar buttons.
12
- # ===
13
12
  #
14
13
  # Category: {Wx::HELP}
15
14
  # @see Wx::BitmapButton
16
15
  # @see Wx::ContextHelp
17
16
  #
18
17
  #
18
+ # @wxrb_require USE_HELP
19
19
  class ContextHelpButton < BitmapButton
20
20
 
21
21
  # Constructor, creating and showing a context help button.
22
- # Normally you only need pass the parent window to the constructor, and use the defaults for the remaining parameters.
22
+ # <div class="wxrb-remark">
23
+ # <b>Remark:</b>
24
+ # <p>Normally you only need pass the parent window to the constructor, and use the defaults for the remaining parameters.
25
+ # </p>
26
+ # </div>>
23
27
  # @param parent [Wx::Window] Parent window. Must not be NULL.
24
28
  # @param id [Integer] Button identifier. Defaults to {Wx::StandardID::ID_CONTEXT_HELP}.
25
29
  # @param pos [Array(Integer, Integer), Wx::Point] Button position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
@@ -48,7 +52,6 @@ module Wx
48
52
  # - Create a {Wx::ContextHelpButton}, whose predefined behaviour is to create a context help object. Normally you will write your application so that this button is only added to a dialog for non-Windows platforms (use {Wx::DIALOG_EX_CONTEXTHELP} on Windows).
49
53
  #
50
54
  # Note that on macOS, the cursor does not change when in context-sensitive help mode.
51
- # ===
52
55
  #
53
56
  # Category: {Wx::HELP}
54
57
  # @see Wx::HelpEvent
@@ -56,6 +59,7 @@ module Wx
56
59
  # @see Wx::ContextHelpButton
57
60
  #
58
61
  #
62
+ # @wxrb_require USE_HELP
59
63
  class ContextHelp < Object
60
64
 
61
65
  # Constructs a context help object, calling {Wx::ContextHelp#begin_context_help} if doNow is true (the default).
@@ -8,7 +8,7 @@ module Wx
8
8
 
9
9
  # This is the base class for a control or "widget".
10
10
  # A control is generally a small window which processes user input and/or displays one or more item of data.
11
- # === Events emitted by this class
11
+ # ### Events emitted by this class
12
12
  #
13
13
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::ClipboardTextEvent} events.
14
14
  # Event handler methods for events emitted by this class:
@@ -19,8 +19,6 @@ module Wx
19
19
  #
20
20
  # - {Wx::EvtHandler#evt_text_paste}(id, meth = nil, &block): Clipboard content was pasted into the control.
21
21
  #
22
- # ===
23
- #
24
22
  # Category: {Wx::Controls}
25
23
  # @see Wx::Validator
26
24
  #
@@ -86,7 +84,7 @@ module Wx
86
84
  # postcode.get_text_extent("99999")))
87
85
  # ```
88
86
  #
89
- # Currently this method is only implemented for {Wx::TextCtrl}, {Wx::ComboBox} and {Wx::Choice} in wxMSW and wxGTK.
87
+ # Currently this method is only implemented for {Wx::TextCtrl}, {Wx::ComboBox} and {Wx::Choice} in WXMSW and WXGTK.
90
88
  #
91
89
  # The size that the control should have to leave the area of the specified size for its text. May return {Wx::DEFAULT_SIZE} if this method is not implemented for this particular control under the current platform.
92
90
  # @param xlen [Integer] The horizontal extent of the area to leave for text, in pixels.
@@ -138,7 +136,7 @@ module Wx
138
136
  # "<span foreground='red'>breakfast</span> "+
139
137
  # "available <big>HERE</big>")
140
138
  # ```
141
- # would show the string using bold, red and big for the corresponding words under wxGTK but will simply show the string "Bed &amp; breakfast
139
+ # would show the string using bold, red and big for the corresponding words under WXGTK but will simply show the string "Bed &amp; breakfast
142
140
  # available HERE" on the other platforms. In any case, the "B" of "Bed" will be underlined to indicate that it can be used as a mnemonic for this control.
143
141
  # The supported tags are:
144
142
  # <b>Tag</b>
@@ -214,14 +212,18 @@ module Wx
214
212
  #
215
213
  # true if the new label was set (even if markup in it was ignored) or false if we failed to parse the markup. In this case the label remains unchanged.
216
214
  #
217
- # Currently {Wx::Button} supports markup in all major ports (wxMSW, wxGTK and wxOSX/Cocoa) while {Wx::StaticText} supports it in wxGTK and wxOSX and its generic version (which can be used under MSW if markup support is required). Extending support to more controls is planned in the future.
218
- # @param markup [String] String containing markup for the label. It may contain markup tags described above and newline characters but currently only wxGTK and wxOSX support multiline labels with markup, the generic implementation (also used in wxMSW) only handles single line markup labels. Notice that the string must be well-formed (e.g. all tags must be correctly closed) and won't be shown at all otherwise.
215
+ # Currently {Wx::Button} supports markup in all major ports (WXMSW, WXGTK and WXOSX/Cocoa) while {Wx::StaticText} supports it in WXGTK and WXOSX and its generic version (which can be used under MSW if markup support is required). Extending support to more controls is planned in the future.
216
+ # @param markup [String] String containing markup for the label. It may contain markup tags described above and newline characters but currently only WXGTK and WXOSX support multiline labels with markup, the generic implementation (also used in WXMSW) only handles single line markup labels. Notice that the string must be well-formed (e.g. all tags must be correctly closed) and won't be shown at all otherwise.
219
217
  # @return [Boolean]
220
218
  def set_label_markup(markup) end
221
219
  alias_method :label_markup=, :set_label_markup
222
220
 
223
221
  # Returns the given str string without mnemonics ("&" characters).
224
- # This function is identical to {Wx::Control#get_label_text} and is provided mostly for symmetry with {Wx::Control.escape_mnemonics}.
222
+ # <div class="wxrb-note">
223
+ # <b>Note:</b>
224
+ # <p>This function is identical to {Wx::Control#get_label_text} and is provided mostly for symmetry with {Wx::Control.escape_mnemonics}.
225
+ # </p>
226
+ # </div>
225
227
  # @param str [String]
226
228
  # @return [String]
227
229
  def self.remove_mnemonics(str) end
@@ -8,7 +8,6 @@ module Wx
8
8
 
9
9
  # This is convenience class that derives from both {Wx::Control} and {Wx::ItemContainer}.
10
10
  # It is used as basis for some wxWidgets controls ({Wx::Choice} and {Wx::ListBox}).
11
- # ===
12
11
  #
13
12
  # Category: {Wx::Controls}
14
13
  # @see Wx::ItemContainer
@@ -7,7 +7,7 @@
7
7
  module Wx
8
8
 
9
9
  # wxRuby version string
10
- Wx::WXRUBY_VERSION = '0.9.1'
10
+ Wx::WXRUBY_VERSION = '0.9.2'
11
11
 
12
12
  # wxRuby version release type (alpha, beta, rc)
13
13
  Wx::WXRUBY_RELEASE_TYPE = ''
@@ -16,10 +16,10 @@ module Wx
16
16
  # wxRuby minor version number
17
17
  Wx::WXRUBY_MINOR = 9
18
18
  # wxRuby release number
19
- Wx::WXRUBY_RELEASE = 1
19
+ Wx::WXRUBY_RELEASE = 2
20
20
 
21
21
  # Convenience string for WxWidgets version info
22
- WXWIDGETS_VERSION = '3.2.3'
22
+ WXWIDGETS_VERSION = '3.2.4'
23
23
 
24
24
  # Integer constant reflecting the major version of the wxWidgets release used to build wxRuby
25
25
  WXWIDGETS_MAJOR_VERSION = 3
@@ -28,7 +28,7 @@ module Wx
28
28
  WXWIDGETS_MINOR_VERSION = 2
29
29
 
30
30
  # Integer constant reflecting the release number of the wxWidgets release used to build wxRuby
31
- WXWIDGETS_RELEASE_NUMBER = 3
31
+ WXWIDGETS_RELEASE_NUMBER = 4
32
32
 
33
33
  # Integer constant reflecting the sub-release number of the wxWidgets release used to build wxRuby
34
34
  WXWIDGETS_SUBRELEASE_NUMBER = 0
@@ -19,8 +19,6 @@ module Wx
19
19
  # the cursor for a window, as in X, rather than to set it globally as in MS Windows, although a global
20
20
  # {set_cursor} function is also available for MS Windows use.
21
21
  #
22
- # ===
23
- #
24
22
  # Category: Graphics Device Interface (GDI)
25
23
  # Predefined objects/pointers:
26
24
  # - {Wx::NULL_CURSOR}
@@ -42,9 +40,9 @@ module Wx
42
40
  # @return [Wx::Cursor]
43
41
  # @overload initialize(cursorName, type=Wx::CURSOR_DEFAULT_TYPE, hotSpotX=0, hotSpotY=0)
44
42
  # Constructs a cursor by passing a string resource name or filename.
45
- # The arguments hotSpotX and hotSpotY are only used when there's no hotspot info in the resource/image-file to load (e.g. when using {Wx::BitmapType::BITMAP_TYPE_ICO} under wxMSW or {Wx::BitmapType::BITMAP_TYPE_XPM} under wxGTK).
43
+ # The arguments hotSpotX and hotSpotY are only used when there's no hotspot info in the resource/image-file to load (e.g. when using {Wx::BitmapType::BITMAP_TYPE_ICO} under WXMSW or {Wx::BitmapType::BITMAP_TYPE_XPM} under WXGTK).
46
44
  # @param cursorName [String] The name of the resource or the image file to load.
47
- # @param type [Wx::BitmapType] Icon type to load. It defaults to {Wx::CURSOR_DEFAULT_TYPE}, which is a #define associated to different values on different platforms:
45
+ # @param type [Wx::BitmapType] Icon type to load. It defaults to {Wx::CURSOR_DEFAULT_TYPE}, which is a \#define associated to different values on different platforms:
48
46
  #
49
47
  # - under Windows, it defaults to {Wx::BITMAP_TYPE_CUR_RESOURCE}. Other permitted types under Windows are {Wx::BitmapType::BITMAP_TYPE_CUR} (to load a cursor from a .cur cursor file), {Wx::BitmapType::BITMAP_TYPE_ICO} (to load a cursor from a .ico icon file) and {Wx::BitmapType::BITMAP_TYPE_ANI} (to load a cursor from a .ani icon file).
50
48
  # - under MacOS, it defaults to {Wx::BITMAP_TYPE_MACCURSOR_RESOURCE}; when specifying a string resource name, first the color cursors 'crsr' and then the black/white cursors 'CURS' in the resource chain are scanned through. Note that resource forks are deprecated on macOS so this is only available for legacy reasons and should not be used in new code.
@@ -61,9 +59,9 @@ module Wx
61
59
  # @overload initialize(image)
62
60
  # Constructs a cursor from a {Wx::Image}.
63
61
  # If cursor are monochrome on the current platform, colors with the RGB elements all greater than 127 will be foreground, colors less than this background. The mask (if any) will be used to specify the transparent area.
64
- # In wxMSW the foreground will be white and the background black. If the cursor is larger than 32x32 it is resized.
65
- # In wxGTK, colour cursors and alpha channel are supported (starting from GTK+ 2.2). Otherwise the two most frequent colors will be used for foreground and background. In any case, the cursor will be displayed at the size of the image.
66
- # Under wxMac (Cocoa), large cursors are supported.
62
+ # In WXMSW the foreground will be white and the background black. If the cursor is larger than 32x32 it is resized.
63
+ # In WXGTK, colour cursors and alpha channel are supported (starting from GTK+ 2.2). Otherwise the two most frequent colors will be used for foreground and background. In any case, the cursor will be displayed at the size of the image.
64
+ # Under WXOSX (Cocoa), large cursors are supported.
67
65
  # Notice that the image can define the cursor hot spot. To set it you need to use {Wx::Image#set_option} with {Wx::IMAGE_OPTION_CUR_HOTSPOT_X} or {Wx::IMAGE_OPTION_CUR_HOTSPOT_Y}, e.g.
68
66
  # ```ruby
69
67
  # image.set_option(Wx::IMAGE_OPTION_CUR_HOTSPOT_X, hotSpotX)
@@ -84,7 +82,7 @@ module Wx
84
82
 
85
83
  # Returns the coordinates of the cursor hot spot.
86
84
  # The hot spot is the point at which the mouse is actually considered to be when this cursor is used.
87
- # This method is currently only implemented in wxMSW and wxGTK2+ and simply returns {Wx::DEFAULT_POSITION} in the other ports.
85
+ # This method is currently only implemented in WXMSW and WXGTK2+ and simply returns {Wx::DEFAULT_POSITION} in the other ports.
88
86
  # @return [Wx::Point]
89
87
  def get_hot_spot; end
90
88
  alias_method :hot_spot, :get_hot_spot
@@ -36,7 +36,6 @@ module Wx
36
36
  #
37
37
  # As mentioned above, these standard formats may be passed to any function taking {Wx::DataFormat} argument because {Wx::DataFormat} has an implicit conversion from them (or, to be precise from the type {Wx::DataFormat::NativeFormat} which is the type used by the underlying platform for data formats).
38
38
  # Aside the standard formats, the application may also use custom formats which are identified by their names (strings) and not numeric identifiers. Although internally custom format must be created (or registered) first, you shouldn't care about it because it is done automatically the first time the {Wx::DataFormat} object corresponding to a given format name is created. The only implication of this is that you should avoid having global {Wx::DataFormat} objects with non-default constructor because their constructors are executed before the program has time to perform all necessary initialisations and so an attempt to do clipboard format registration at this time will usually lead to a crash!
39
- # ===
40
39
  #
41
40
  # Category: Clipboard and Drag & Drop
42
41
  # @see Drag and Drop Overview
@@ -44,6 +43,7 @@ module Wx
44
43
  # @see Wx::DataObject
45
44
  #
46
45
  #
46
+ # @wxrb_require USE_CLIPBOARD
47
47
  class DataFormat < ::Object
48
48
 
49
49
  # @overload initialize(format=Wx::DataFormatId::DF_INVALID)
@@ -61,6 +61,11 @@ module Wx
61
61
  def get_id; end
62
62
  alias_method :id, :get_id
63
63
 
64
+ # Returns the platform-specific number identifying the format.
65
+ # @return [Wx::DataFormatId]
66
+ def get_type; end
67
+ alias_method :type, :get_type
68
+
64
69
  # Sets the format to be the custom format identified by the given name.
65
70
  # @param format [String]
66
71
  # @return [void]