wxruby3 0.9.0.pre.rc.2-x64-mingw-ucrt → 0.9.0.pre.rc.3-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (341) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +30 -8
  3. data/README.md +3 -3
  4. data/ext/wxbase32u_gcc_custom.dll +0 -0
  5. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  6. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  7. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  19. data/lib/wx/core/event_loop.rb +7 -0
  20. data/lib/wx/core/image.rb +33 -0
  21. data/lib/wx/core/listctrl.rb +17 -13
  22. data/lib/wx/core/log.rb +90 -0
  23. data/lib/wx/doc/bitmap.rb +11 -15
  24. data/lib/wx/doc/event_loop.rb +7 -0
  25. data/lib/wx/doc/extra/00_starting.md +6 -6
  26. data/lib/wx/doc/extra/02_lifecycles.md +9 -8
  27. data/lib/wx/doc/extra/09_exceptions.md +1 -1
  28. data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
  29. data/lib/wx/doc/font.rb +1 -1
  30. data/lib/wx/doc/functions.rb +51 -23
  31. data/lib/wx/doc/gc_dc.rb +1 -1
  32. data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
  33. data/lib/wx/doc/gen/accelerator.rb +6 -6
  34. data/lib/wx/doc/gen/accessible.rb +6 -2
  35. data/lib/wx/doc/gen/activity_indicator.rb +5 -5
  36. data/lib/wx/doc/gen/animation.rb +7 -7
  37. data/lib/wx/doc/gen/animation_ctrl.rb +7 -6
  38. data/lib/wx/doc/gen/any_button.rb +1 -1
  39. data/lib/wx/doc/gen/app.rb +17 -11
  40. data/lib/wx/doc/gen/art_provider.rb +61 -1
  41. data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
  42. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
  43. data/lib/wx/doc/gen/aui/aui_manager.rb +45 -27
  44. data/lib/wx/doc/gen/aui/aui_manager_event.rb +12 -6
  45. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +6 -6
  46. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +6 -6
  47. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +10 -10
  48. data/lib/wx/doc/gen/aui/aui_notebook.rb +34 -7
  49. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
  50. data/lib/wx/doc/gen/aui/aui_pane_info.rb +51 -51
  51. data/lib/wx/doc/gen/aui/aui_tab_art.rb +6 -6
  52. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +33 -18
  53. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +16 -16
  54. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +4 -4
  55. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +4 -4
  56. data/lib/wx/doc/gen/bitmap.rb +32 -26
  57. data/lib/wx/doc/gen/bitmap_button.rb +10 -6
  58. data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -7
  59. data/lib/wx/doc/gen/book_ctrl_base.rb +7 -3
  60. data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
  61. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  62. data/lib/wx/doc/gen/brush.rb +16 -4
  63. data/lib/wx/doc/gen/busy_info.rb +1 -1
  64. data/lib/wx/doc/gen/button.rb +19 -7
  65. data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
  66. data/lib/wx/doc/gen/calendar_ctrl.rb +28 -16
  67. data/lib/wx/doc/gen/calendar_date_attr.rb +2 -2
  68. data/lib/wx/doc/gen/calendar_event.rb +3 -3
  69. data/lib/wx/doc/gen/caret.rb +2 -2
  70. data/lib/wx/doc/gen/check_box.rb +10 -6
  71. data/lib/wx/doc/gen/check_list_box.rb +8 -7
  72. data/lib/wx/doc/gen/choice.rb +7 -6
  73. data/lib/wx/doc/gen/choicebook.rb +12 -6
  74. data/lib/wx/doc/gen/client_dc.rb +1 -1
  75. data/lib/wx/doc/gen/clipboard.rb +1 -1
  76. data/lib/wx/doc/gen/collapsible_pane.rb +9 -6
  77. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -1
  78. data/lib/wx/doc/gen/colour.rb +16 -6
  79. data/lib/wx/doc/gen/colour_dialog.rb +6 -6
  80. data/lib/wx/doc/gen/colour_picker_ctrl.rb +15 -9
  81. data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
  82. data/lib/wx/doc/gen/combo_box.rb +22 -13
  83. data/lib/wx/doc/gen/context_help_button.rb +4 -3
  84. data/lib/wx/doc/gen/control.rb +9 -6
  85. data/lib/wx/doc/gen/core.rb +5 -2
  86. data/lib/wx/doc/gen/cursor.rb +16 -11
  87. data/lib/wx/doc/gen/data_format.rb +2 -2
  88. data/lib/wx/doc/gen/data_object.rb +23 -16
  89. data/lib/wx/doc/gen/date_event.rb +3 -3
  90. data/lib/wx/doc/gen/date_picker_ctrl.rb +11 -6
  91. data/lib/wx/doc/gen/dc.rb +37 -12
  92. data/lib/wx/doc/gen/defs.rb +16 -16
  93. data/lib/wx/doc/gen/dialog.rb +19 -5
  94. data/lib/wx/doc/gen/dir_dialog.rb +6 -2
  95. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
  96. data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -9
  97. data/lib/wx/doc/gen/drag_drop.rb +15 -15
  98. data/lib/wx/doc/gen/drag_image.rb +6 -6
  99. data/lib/wx/doc/gen/editable_list_box.rb +7 -3
  100. data/lib/wx/doc/gen/event.rb +44 -13
  101. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  102. data/lib/wx/doc/gen/event_filter.rb +5 -2
  103. data/lib/wx/doc/gen/event_list.rb +15 -15
  104. data/lib/wx/doc/gen/events.rb +215 -79
  105. data/lib/wx/doc/gen/evt_handler.rb +1 -1
  106. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  107. data/lib/wx/doc/gen/file_dialog.rb +16 -7
  108. data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
  109. data/lib/wx/doc/gen/file_picker_ctrl.rb +16 -8
  110. data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
  111. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  112. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  113. data/lib/wx/doc/gen/flex_grid_sizer.rb +12 -6
  114. data/lib/wx/doc/gen/font.rb +30 -29
  115. data/lib/wx/doc/gen/font_data.rb +9 -5
  116. data/lib/wx/doc/gen/font_dialog.rb +3 -3
  117. data/lib/wx/doc/gen/font_picker_ctrl.rb +10 -6
  118. data/lib/wx/doc/gen/font_picker_event.rb +2 -1
  119. data/lib/wx/doc/gen/frame.rb +34 -11
  120. data/lib/wx/doc/gen/fs_file.rb +4 -17
  121. data/lib/wx/doc/gen/gauge.rb +11 -7
  122. data/lib/wx/doc/gen/gcdc.rb +5 -1
  123. data/lib/wx/doc/gen/gdi_common.rb +35 -33
  124. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  125. data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
  126. data/lib/wx/doc/gen/graphics_context.rb +29 -28
  127. data/lib/wx/doc/gen/graphics_object.rb +1 -1
  128. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -2
  129. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +10 -10
  130. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
  131. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  132. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
  133. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
  134. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -2
  135. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  136. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  137. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  138. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +13 -10
  139. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  140. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  141. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
  142. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
  143. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -1
  144. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
  145. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +12 -12
  146. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
  147. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
  148. data/lib/wx/doc/gen/grid/grid_ctrl.rb +32 -18
  149. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
  150. data/lib/wx/doc/gen/grid/grid_event.rb +20 -3
  151. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +7 -3
  152. data/lib/wx/doc/gen/grid/grid_size_event.rb +9 -3
  153. data/lib/wx/doc/gen/grid/grid_string_table.rb +2 -2
  154. data/lib/wx/doc/gen/grid/grid_table_base.rb +7 -7
  155. data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
  156. data/lib/wx/doc/gen/grid_bag_sizer.rb +5 -5
  157. data/lib/wx/doc/gen/grid_sizer.rb +4 -4
  158. data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
  159. data/lib/wx/doc/gen/help_controller.rb +18 -12
  160. data/lib/wx/doc/gen/html/html_cell.rb +36 -18
  161. data/lib/wx/doc/gen/html/html_cell_event.rb +5 -3
  162. data/lib/wx/doc/gen/html/html_easy_printing.rb +9 -4
  163. data/lib/wx/doc/gen/html/html_help_controller.rb +34 -8
  164. data/lib/wx/doc/gen/html/html_help_data.rb +3 -3
  165. data/lib/wx/doc/gen/html/html_help_frame.rb +6 -6
  166. data/lib/wx/doc/gen/html/html_help_window.rb +12 -8
  167. data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
  168. data/lib/wx/doc/gen/html/html_list_box.rb +15 -7
  169. data/lib/wx/doc/gen/html/html_printout.rb +15 -5
  170. data/lib/wx/doc/gen/html/html_window.rb +19 -8
  171. data/lib/wx/doc/gen/hyperlink_ctrl.rb +12 -7
  172. data/lib/wx/doc/gen/hyperlink_event.rb +2 -1
  173. data/lib/wx/doc/gen/icon.rb +14 -14
  174. data/lib/wx/doc/gen/image.rb +119 -64
  175. data/lib/wx/doc/gen/image_list.rb +10 -6
  176. data/lib/wx/doc/gen/keyboard_state.rb +7 -7
  177. data/lib/wx/doc/gen/list_box.rb +30 -21
  178. data/lib/wx/doc/gen/list_ctrl.rb +169 -78
  179. data/lib/wx/doc/gen/list_event.rb +24 -2
  180. data/lib/wx/doc/gen/listbook.rb +12 -6
  181. data/lib/wx/doc/gen/locale.rb +11 -36
  182. data/lib/wx/doc/gen/log.rb +122 -45
  183. data/lib/wx/doc/gen/mdi_client_window.rb +2 -2
  184. data/lib/wx/doc/gen/mdi_frame.rb +15 -9
  185. data/lib/wx/doc/gen/media_ctrl.rb +7 -4
  186. data/lib/wx/doc/gen/media_event.rb +8 -2
  187. data/lib/wx/doc/gen/memory_dc.rb +23 -27
  188. data/lib/wx/doc/gen/menu.rb +9 -9
  189. data/lib/wx/doc/gen/menu_bar.rb +4 -4
  190. data/lib/wx/doc/gen/menu_item.rb +115 -34
  191. data/lib/wx/doc/gen/message_dialog.rb +48 -30
  192. data/lib/wx/doc/gen/mini_frame.rb +12 -3
  193. data/lib/wx/doc/gen/mouse_state.rb +1 -1
  194. data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
  195. data/lib/wx/doc/gen/non_owned_window.rb +6 -7
  196. data/lib/wx/doc/gen/notebook.rb +20 -15
  197. data/lib/wx/doc/gen/number_entry_dialog.rb +2 -2
  198. data/lib/wx/doc/gen/object.rb +2 -2
  199. data/lib/wx/doc/gen/palette.rb +3 -3
  200. data/lib/wx/doc/gen/panel.rb +4 -3
  201. data/lib/wx/doc/gen/pen.rb +25 -12
  202. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +1 -1
  203. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +3 -3
  204. data/lib/wx/doc/gen/pg/pg_cell.rb +12 -12
  205. data/lib/wx/doc/gen/pg/pg_editor.rb +76 -74
  206. data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -3
  207. data/lib/wx/doc/gen/pg/pg_properties.rb +221 -138
  208. data/lib/wx/doc/gen/pg/pg_property.rb +103 -54
  209. data/lib/wx/doc/gen/pg/pg_validation_info.rb +1 -1
  210. data/lib/wx/doc/gen/pg/property_grid.rb +19 -19
  211. data/lib/wx/doc/gen/pg/property_grid_event.rb +18 -5
  212. data/lib/wx/doc/gen/pg/property_grid_interface.rb +36 -24
  213. data/lib/wx/doc/gen/pg/property_grid_manager.rb +12 -12
  214. data/lib/wx/doc/gen/pg/property_grid_page.rb +12 -11
  215. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +8 -8
  216. data/lib/wx/doc/gen/picker_base.rb +12 -11
  217. data/lib/wx/doc/gen/platform_info.rb +7 -7
  218. data/lib/wx/doc/gen/popup_window.rb +6 -6
  219. data/lib/wx/doc/gen/progress_dialog.rb +1 -1
  220. data/lib/wx/doc/gen/property_sheet_dialog.rb +19 -17
  221. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
  222. data/lib/wx/doc/gen/prt/preview_frame.rb +4 -1
  223. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  224. data/lib/wx/doc/gen/prt/print_data.rb +24 -18
  225. data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
  226. data/lib/wx/doc/gen/prt/printer.rb +22 -22
  227. data/lib/wx/doc/gen/query_layout_info_event.rb +2 -1
  228. data/lib/wx/doc/gen/radio_box.rb +12 -10
  229. data/lib/wx/doc/gen/radio_button.rb +8 -6
  230. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +39 -39
  231. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +25 -7
  232. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
  233. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +9 -2
  234. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +5 -5
  235. data/lib/wx/doc/gen/rbn/ribbon_control.rb +4 -4
  236. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +6 -2
  237. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
  238. data/lib/wx/doc/gen/rbn/ribbon_page.rb +5 -5
  239. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -6
  240. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
  241. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +4 -2
  242. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +5 -5
  243. data/lib/wx/doc/gen/region.rb +9 -8
  244. data/lib/wx/doc/gen/region_iterator.rb +2 -2
  245. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +92 -92
  246. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +56 -34
  247. data/lib/wx/doc/gen/rtc/rich_text_event.rb +23 -4
  248. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +6 -6
  249. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +9 -5
  250. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -2
  251. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +12 -12
  252. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
  253. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
  254. data/lib/wx/doc/gen/sash_event.rb +3 -1
  255. data/lib/wx/doc/gen/sash_layout_window.rb +5 -3
  256. data/lib/wx/doc/gen/sash_window.rb +8 -3
  257. data/lib/wx/doc/gen/scroll_bar.rb +29 -8
  258. data/lib/wx/doc/gen/scrolled_canvas.rb +41 -23
  259. data/lib/wx/doc/gen/scrolled_control.rb +41 -23
  260. data/lib/wx/doc/gen/scrolled_window.rb +41 -23
  261. data/lib/wx/doc/gen/search_ctrl.rb +15 -8
  262. data/lib/wx/doc/gen/simplebook.rb +2 -2
  263. data/lib/wx/doc/gen/single_choice_dialog.rb +4 -2
  264. data/lib/wx/doc/gen/sizer.rb +29 -28
  265. data/lib/wx/doc/gen/slider.rb +49 -16
  266. data/lib/wx/doc/gen/spin_button.rb +15 -9
  267. data/lib/wx/doc/gen/spin_ctrl.rb +12 -6
  268. data/lib/wx/doc/gen/spin_event.rb +5 -2
  269. data/lib/wx/doc/gen/splash_screen.rb +16 -12
  270. data/lib/wx/doc/gen/splitter_event.rb +6 -2
  271. data/lib/wx/doc/gen/splitter_window.rb +20 -4
  272. data/lib/wx/doc/gen/static_bitmap.rb +5 -5
  273. data/lib/wx/doc/gen/static_box.rb +36 -32
  274. data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
  275. data/lib/wx/doc/gen/static_line.rb +5 -4
  276. data/lib/wx/doc/gen/static_text.rb +12 -6
  277. data/lib/wx/doc/gen/status_bar.rb +14 -5
  278. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +55 -7
  279. data/lib/wx/doc/gen/stc/styled_text_event.rb +224 -49
  280. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
  281. data/lib/wx/doc/gen/svg_file_dc.rb +3 -3
  282. data/lib/wx/doc/gen/system_options.rb +11 -1
  283. data/lib/wx/doc/gen/system_settings.rb +3 -3
  284. data/lib/wx/doc/gen/task_bar_icon.rb +10 -2
  285. data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
  286. data/lib/wx/doc/gen/text_attr.rb +11 -7
  287. data/lib/wx/doc/gen/text_ctrl.rb +61 -92
  288. data/lib/wx/doc/gen/text_entry.rb +28 -40
  289. data/lib/wx/doc/gen/text_entry_dialog.rb +19 -19
  290. data/lib/wx/doc/gen/text_validator.rb +0 -11
  291. data/lib/wx/doc/gen/time_picker_ctrl.rb +6 -5
  292. data/lib/wx/doc/gen/timer.rb +8 -4
  293. data/lib/wx/doc/gen/timer_event.rb +19 -26
  294. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  295. data/lib/wx/doc/gen/toggle_button.rb +6 -5
  296. data/lib/wx/doc/gen/tool_bar.rb +41 -24
  297. data/lib/wx/doc/gen/tool_tip.rb +2 -2
  298. data/lib/wx/doc/gen/toolbook.rb +6 -3
  299. data/lib/wx/doc/gen/top_level_window.rb +35 -25
  300. data/lib/wx/doc/gen/tree_ctrl.rb +63 -13
  301. data/lib/wx/doc/gen/tree_event.rb +23 -2
  302. data/lib/wx/doc/gen/treebook.rb +6 -2
  303. data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
  304. data/lib/wx/doc/gen/utils.rb +9 -3
  305. data/lib/wx/doc/gen/v_list_box.rb +2 -2
  306. data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
  307. data/lib/wx/doc/gen/validator.rb +7 -5
  308. data/lib/wx/doc/gen/variant.rb +34 -97
  309. data/lib/wx/doc/gen/window.rb +157 -102
  310. data/lib/wx/doc/gen/window_dc.rb +1 -1
  311. data/lib/wx/doc/gen/with_images.rb +1 -1
  312. data/lib/wx/doc/gen/wizard.rb +17 -4
  313. data/lib/wx/doc/gen/wizard_event.rb +9 -2
  314. data/lib/wx/doc/gen/wizard_page.rb +1 -1
  315. data/lib/wx/doc/gen/wizard_page_simple.rb +7 -7
  316. data/lib/wx/doc/gen/xml_node.rb +3 -3
  317. data/lib/wx/doc/gen/xml_resource.rb +12 -9
  318. data/lib/wx/doc/image.rb +42 -12
  319. data/lib/wx/doc/list_ctrl.rb +32 -0
  320. data/lib/wx/doc/log.rb +28 -0
  321. data/lib/wx/doc/prt/printer_dc.rb +2 -2
  322. data/lib/wx/doc/scaled_dc.rb +1 -1
  323. data/lib/wx/doc/text_validator.rb +12 -0
  324. data/lib/wx/version.rb +1 -1
  325. data/lib/wxruby_aui.so +0 -0
  326. data/lib/wxruby_core.so +0 -0
  327. data/lib/wxruby_grid.so +0 -0
  328. data/lib/wxruby_html.so +0 -0
  329. data/lib/wxruby_pg.so +0 -0
  330. data/lib/wxruby_prt.so +0 -0
  331. data/lib/wxruby_rbn.so +0 -0
  332. data/lib/wxruby_rtc.so +0 -0
  333. data/lib/wxruby_stc.so +0 -0
  334. data/tests/test_art.rb +9 -0
  335. data/tests/test_box_sizer.rb +161 -0
  336. data/tests/test_grid_sizer.rb +148 -0
  337. data/tests/test_list_ctrl.rb +53 -0
  338. data/tests/test_log.rb +163 -0
  339. data/tests/test_std_controls.rb +58 -0
  340. data/tests/test_timer.rb +95 -0
  341. metadata +13 -2
@@ -64,13 +64,19 @@ module Wx
64
64
  # === Styles
65
65
  #
66
66
  # This class supports the following styles:
67
- #
67
+ #
68
68
  # - {Wx::NB_TOP}: Place tabs on the top side.
69
+ #
69
70
  # - {Wx::NB_LEFT}: Place tabs on the left side.
71
+ #
70
72
  # - {Wx::NB_RIGHT}: Place tabs on the right side.
73
+ #
71
74
  # - {Wx::NB_BOTTOM}: Place tabs under instead of above the notebook pages.
75
+ #
72
76
  # - {Wx::NB_FIXEDWIDTH}: (Windows only) All tabs will have same width.
77
+ #
73
78
  # - {Wx::NB_MULTILINE}: (Windows only) There can be several rows of tabs.
79
+ #
74
80
  # - {Wx::NB_NOPAGETHEME}: (Windows only) Display a solid colour on notebook pages, and not a gradient, which can reduce performance.
75
81
  #
76
82
  # The styles {Wx::NB_LEFT}, RIGHT and BOTTOM are not supported under Microsoft Windows when using visual themes.
@@ -78,32 +84,31 @@ module Wx
78
84
  #
79
85
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::BookCtrlEvent} events.
80
86
  # Event handler methods for events emitted by this class:
87
+ #
81
88
  # - {Wx::EvtHandler#evt_notebook_page_changed}(id, meth = nil, &block): The page selection was changed. Processes a {Wx::EVT_NOTEBOOK_PAGE_CHANGED} event.
89
+ #
82
90
  # - {Wx::EvtHandler#evt_notebook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::EVT_NOTEBOOK_PAGE_CHANGING} event. This event can be vetoed.
83
91
  #
84
92
  # == Page backgrounds
85
93
  #
86
94
  # On Windows, the default theme paints a background on the notebook's pages. If you wish to suppress this theme, for aesthetic or performance reasons, there are three ways of doing it. You can use {Wx::NB_NOPAGETHEME} to disable themed drawing for a particular notebook, you can call {Wx::SystemOptions.set_option} to disable it for the whole application, or you can disable it for individual pages by using {Wx::Notebook#set_background_colour}.
87
95
  # To disable themed pages globally:
88
- # ```
89
- # wxSystemOptions::SetOption("msw.notebook.themed-background", 0);
96
+ # ```ruby
97
+ # Wx::SystemOptions.set_option("msw.notebook.themed-background", 0)
90
98
  # ```
91
99
  #
92
100
  # Set the value to 1 to enable it again. To give a single page a solid background that more or less fits in with the overall theme, use:
93
- # ```
94
- # wxColour col = notebook->GetThemeBackgroundColour();
95
- # if (col.IsOk())
96
- # {
97
- # page->SetBackgroundColour(col);
98
- # }
101
+ # ```ruby
102
+ # col = notebook.get_theme_background_colour
103
+ # page.set_background_colour(col) if col.ok?
99
104
  # ```
100
105
  #
101
106
  # On platforms other than Windows, or if the application is not using Windows themes, {Wx::Notebook#get_theme_background_colour} will return an uninitialised colour object, and the above code will therefore work on all platforms.
102
107
  # ===
103
108
  #
104
- # Category: Book Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
105
- # </td><td> {Wx::GTK} Appearance
106
- # </td><td> {Wx::OSX} Appearance
109
+ # Category: Book Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
110
+ # </td><td> wxGTK Appearance
111
+ # </td><td> wxOSX Appearance
107
112
  # </td></tr></table></div>
108
113
  # @see Wx::BookCtrl
109
114
  # @see Wx::BookCtrlEvent
@@ -115,7 +120,7 @@ module Wx
115
120
 
116
121
  # @overload initialize()
117
122
  # Constructs a notebook control.
118
- # @return [Notebook]
123
+ # @return [Wx::Notebook]
119
124
  # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::NotebookNameStr)
120
125
  # Constructs a notebook control.
121
126
  # Note that sometimes you can reduce flicker by passing the {Wx::CLIP_CHILDREN} window style.
@@ -125,7 +130,7 @@ module Wx
125
130
  # @param size [Array(Integer, Integer), Wx::Size] The window size.
126
131
  # @param style [Integer] The window style. See {Wx::Notebook}.
127
132
  # @param name [String] The name of the control.
128
- # @return [Notebook]
133
+ # @return [Wx::Notebook]
129
134
  def initialize(*args) end
130
135
 
131
136
  # Creates a notebook control.
@@ -151,7 +156,7 @@ module Wx
151
156
  alias_method :theme_background_colour, :get_theme_background_colour
152
157
 
153
158
  # Sets the amount of space around each page's icon and label, in pixels.
154
- # The vertical padding cannot be changed in {Wx::GTK}.
159
+ # The vertical padding cannot be changed in wxGTK.
155
160
  # @param padding [Array(Integer, Integer), Wx::Size]
156
161
  # @return [void]
157
162
  def set_padding(padding) end
@@ -36,7 +36,7 @@ module Wx
36
36
  # @overload initialize()
37
37
  # Default constructor.
38
38
  # Call {Wx::NumberEntryDialog#create} to really create the dialog later.
39
- # @return [NumberEntryDialog]
39
+ # @return [Wx::NumberEntryDialog]
40
40
  # @overload initialize(parent, message, prompt, caption, value, min, max, pos=Wx::DEFAULT_POSITION)
41
41
  # Constructor.
42
42
  # Use {Wx::NumberEntryDialog#show_modal} to show the dialog.
@@ -49,7 +49,7 @@ module Wx
49
49
  # @param min [Integer]
50
50
  # @param max [Integer]
51
51
  # @param pos [Array(Integer, Integer), Wx::Point]
52
- # @return [NumberEntryDialog]
52
+ # @return [Wx::NumberEntryDialog]
53
53
  def initialize(*args) end
54
54
 
55
55
  # @param parent [Wx::Window] Parent window.
@@ -30,12 +30,12 @@ module Wx
30
30
 
31
31
  # @overload initialize()
32
32
  # Default ctor; initializes to NULL the internal reference data.
33
- # @return [Object]
33
+ # @return [Wx::Object]
34
34
  # @overload initialize(other)
35
35
  # Copy ctor.
36
36
  # Sets the internal {Wx::Object::m_refData} pointer to point to the same instance of the {Wx::ObjectRefData}-derived class pointed by other and increments the refcount of {Wx::Object::m_refData}.
37
37
  # @param other [Wx::Object]
38
- # @return [Object]
38
+ # @return [Wx::Object]
39
39
  def initialize(*args) end
40
40
 
41
41
  # Returns true if this object has the same data pointer as obj.
@@ -27,11 +27,11 @@ module Wx
27
27
 
28
28
  # @overload initialize()
29
29
  # Default constructor.
30
- # @return [Palette]
30
+ # @return [Wx::Palette]
31
31
  # @overload initialize(palette)
32
32
  # Copy constructor, uses Reference Counting.
33
33
  # @param palette [Wx::Palette] A reference to the palette to copy.
34
- # @return [Palette]
34
+ # @return [Wx::Palette]
35
35
  # @overload initialize(n, red, green, blue)
36
36
  # Creates a palette from arrays of size n, one for each red, blue or green component.
37
37
  #
@@ -40,7 +40,7 @@ module Wx
40
40
  # @param red [unsigned char] An array of red values.
41
41
  # @param green [unsigned char] An array of green values.
42
42
  # @param blue [unsigned char] An array of blue values.
43
- # @return [Palette]
43
+ # @return [Wx::Palette]
44
44
  def initialize(*args) end
45
45
 
46
46
  # Creates a palette from arrays of size n, one for each red, blue or green component.
@@ -7,7 +7,7 @@
7
7
  module Wx
8
8
 
9
9
  # A panel is a window on which controls are placed.
10
- # It is usually placed within a frame. Its main feature over its parent class {Wx::Window} is code for handling child windows and TAB traversal, which is implemented natively if possible (e.g. in {Wx::GTK}) or by wxWidgets itself otherwise.
10
+ # It is usually placed within a frame. Its main feature over its parent class {Wx::Window} is code for handling child windows and TAB traversal, which is implemented natively if possible (e.g. in wxGTK) or by wxWidgets itself otherwise.
11
11
  # Tab traversal is implemented through an otherwise undocumented intermediate {Wx::ControlContainer} class from which any class can derive in addition to the normal {Wx::Window} base class. Please see <code>Wx::/containr.h</code> and <code>Wx::/panel.h</code> to find out how this is achieved.
12
12
  #
13
13
  # if not all characters are being intercepted by your OnKeyDown or OnChar handler, it may be because you are using the {Wx::TAB_TRAVERSAL} style, which grabs some keypresses for use by child controls.
@@ -18,6 +18,7 @@ module Wx
18
18
  #
19
19
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::NavigationKeyEvent} events.
20
20
  # Event handler methods for events emitted by this class:
21
+ #
21
22
  # - {Wx::EvtHandler#evt_navigation_key}(meth = nil, &block): Process a navigation key event.
22
23
  #
23
24
  # ===
@@ -30,7 +31,7 @@ module Wx
30
31
 
31
32
  # @overload initialize()
32
33
  # Default constructor.
33
- # @return [Panel]
34
+ # @return [Wx::Panel]
34
35
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TAB_TRAVERSAL, name=Wx::PanelNameStr)
35
36
  # Constructor.
36
37
  #
@@ -41,7 +42,7 @@ module Wx
41
42
  # @param size [Array(Integer, Integer), Wx::Size] The panel size. The value {Wx::DEFAULT_SIZE} indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform.
42
43
  # @param style [Integer] The window style. See {Wx::Panel}.
43
44
  # @param name [String] Window name.
44
- # @return [Panel]
45
+ # @return [Wx::Panel]
45
46
  def initialize(*args) end
46
47
 
47
48
  # This method is overridden from {Wx::Window#accepts_focus} and returns true only if there is no child window in the panel which can accept the focus.
@@ -8,7 +8,7 @@ module Wx
8
8
 
9
9
  # The possible styles for a {Wx::Pen}.
10
10
  #
11
- # Note that hatched pen styles are not supported by X11-based ports, including {Wx::GTK}.
11
+ # Note that hatched pen styles are not supported by X11-based ports, including wxGTK.
12
12
  #
13
13
  class PenStyle < Wx::Enum
14
14
 
@@ -92,8 +92,8 @@ module Wx
92
92
 
93
93
  # Possible values for pen quality.
94
94
  #
95
- # Pen quality is currently only used in {Wx::MSW}, the other ports ignore it and always use the same default pen quality.
96
- # In {Wx::MSW} the choice of quality affects whether "cosmetic" or "geometric" native pens are used in situations when both are usable. Notably, for dotted and dashed pens of width 1, high quality geometric pens are used by default since wxWidgets 3.1.4, while previous versions used lower quality but much faster cosmetic pens. If drawing performance is more important than the exact appearance of the lines drawn using this pen, low quality may be explicitly selected.
95
+ # Pen quality is currently only used in wxMSW, the other ports ignore it and always use the same default pen quality.
96
+ # In wxMSW the choice of quality affects whether "cosmetic" or "geometric" native pens are used in situations when both are usable. Notably, for dotted and dashed pens of width 1, high quality geometric pens are used by default since wxWidgets 3.1.4, while previous versions used lower quality but much faster cosmetic pens. If drawing performance is more important than the exact appearance of the lines drawn using this pen, low quality may be explicitly selected.
97
97
  # See {Wx::PenInfo#quality} and {Wx::Pen#set_quality}.
98
98
  #
99
99
  class PenQuality < Wx::Enum
@@ -175,18 +175,31 @@ module Wx
175
175
  #
176
176
  # Category: Graphics Device Interface (GDI)
177
177
  # Predefined objects/pointers:
178
+ #
178
179
  # - {Wx::NULL_PEN}
180
+ #
179
181
  # - {Wx::BLACK_DASHED_PEN}
182
+ #
180
183
  # - {Wx::BLACK_PEN}
184
+ #
181
185
  # - {Wx::BLUE_PEN}
186
+ #
182
187
  # - {Wx::CYAN_PEN}
188
+ #
183
189
  # - {Wx::GREEN_PEN}
190
+ #
184
191
  # - {Wx::YELLOW_PEN}
192
+ #
185
193
  # - {Wx::GREY_PEN}
194
+ #
186
195
  # - {Wx::LIGHT_GREY_PEN}
196
+ #
187
197
  # - {Wx::MEDIUM_GREY_PEN}
198
+ #
188
199
  # - {Wx::RED_PEN}
200
+ #
189
201
  # - {Wx::TRANSPARENT_PEN}
202
+ #
190
203
  # - {Wx::WHITE_PEN}
191
204
  # @see Wx::PenList
192
205
  # @see Wx::DC
@@ -217,7 +230,7 @@ module Wx
217
230
  # @overload initialize()
218
231
  # Default constructor.
219
232
  # The pen will be uninitialised, and {Wx::Pen#is_ok} will return false.
220
- # @return [Pen]
233
+ # @return [Wx::Pen]
221
234
  # @overload initialize(colour, width=1, style=Wx::PenStyle::PENSTYLE_SOLID)
222
235
  # Constructs a pen from a colour object, pen width and style.
223
236
  # Different versions of Windows and different versions of other platforms support very different subsets of the styles above so handle with care.
@@ -227,19 +240,19 @@ module Wx
227
240
  # @param colour [Wx::Colour,String,Symbol] A colour object.
228
241
  # @param width [Integer] Pen width. Under Windows, the pen width cannot be greater than 1 if the style is {Wx::PenStyle::PENSTYLE_DOT}, {Wx::PenStyle::PENSTYLE_LONG_DASH}, {Wx::PenStyle::PENSTYLE_SHORT_DASH}, {Wx::PenStyle::PENSTYLE_DOT_DASH}, or {Wx::PenStyle::PENSTYLE_USER_DASH}.
229
242
  # @param style [PenStyle] The style may be one of the {Wx::PenStyle} values.
230
- # @return [Pen]
243
+ # @return [Wx::Pen]
231
244
  # @overload initialize(stipple, width)
232
245
  # Constructs a stippled pen from a stipple bitmap and a width.
233
- # Availability: only available for the {Wx::MSW}, {Wx::OSX/Cocoa} ports. {Wx::msw},{Wx::osx}
246
+ # Availability: only available for the wxMSW, wxOSX/Cocoa ports. {Wx::msw},{Wx::osx}
234
247
  # @see Wx::Pen#set_width
235
248
  # @see Wx::Pen#set_stipple
236
249
  # @param stipple [Wx::Bitmap] A stipple bitmap.
237
250
  # @param width [Integer] Pen width. Under Windows, the pen width cannot be greater than 1 if the style is {Wx::PenStyle::PENSTYLE_DOT}, {Wx::PenStyle::PENSTYLE_LONG_DASH}, {Wx::PenStyle::PENSTYLE_SHORT_DASH}, {Wx::PenStyle::PENSTYLE_DOT_DASH}, or {Wx::PenStyle::PENSTYLE_USER_DASH}.
238
- # @return [Pen]
251
+ # @return [Wx::Pen]
239
252
  # @overload initialize(pen)
240
253
  # Copy constructor, uses Reference Counting.
241
254
  # @param pen [Wx::Pen] A pointer or reference to a pen to copy.
242
- # @return [Pen]
255
+ # @return [Wx::Pen]
243
256
  def initialize(*args) end
244
257
 
245
258
  # Returns the pen cap style, which may be one of {Wx::PenCap::CAP_ROUND}, {Wx::PenCap::CAP_PROJECTING} and {Wx::PenCap::CAP_BUTT}.
@@ -332,7 +345,7 @@ module Wx
332
345
  alias_method :cap=, :set_cap
333
346
 
334
347
  # Sets the pen quality.
335
- # Explicitly selecting low pen quality may be useful in {Wx::MSW} if drawing performance is more important than the exact appearance of the lines drawn with this pen.
348
+ # Explicitly selecting low pen quality may be useful in wxMSW if drawing performance is more important than the exact appearance of the lines drawn with this pen.
336
349
  # @see Wx::PenQuality
337
350
  # @param quality [PenQuality]
338
351
  # @return [void]
@@ -389,8 +402,8 @@ module Wx
389
402
 
390
403
  # This class is a helper used for {Wx::Pen} creation using named parameter idiom: it allows specifying various {Wx::Pen} attributes using the chained calls to its clearly named methods instead of passing them in the fixed order to {Wx::Pen} constructors.
391
404
  # For instance, to create a dotted blue pen with the given join style you could do
392
- # ```
393
- # wxPen pen(wxPenInfo(*wxBLUE).Style(wxPENSTYLE_DOT).Join(wxJOIN_BEVEL));
405
+ # ```ruby
406
+ # pen = Wx::Pen.new(Wx::PenInfo.new(Wx::BLUE).style(Wx::PENSTYLE_DOT).join(Wx::JOIN_BEVEL))
394
407
  # ```
395
408
  #
396
409
  #
@@ -400,7 +413,7 @@ module Wx
400
413
  # @param colour [Wx::Colour,String,Symbol]
401
414
  # @param width [Integer]
402
415
  # @param style [PenStyle]
403
- # @return [PenInfo]
416
+ # @return [Wx::PenInfo]
404
417
  def initialize(colour=(Wx::Colour.new()), width=1, style=Wx::PenStyle::PENSTYLE_SOLID) end
405
418
 
406
419
  # @param col [Wx::Colour,String,Symbol]
@@ -33,7 +33,7 @@ module Wx::PG
33
33
 
34
34
  # @param numericType [NumericType]
35
35
  # @param base [Integer]
36
- # @return [NumericPropertyValidator]
36
+ # @return [Wx::PG::NumericPropertyValidator]
37
37
  def initialize(numericType, base=10) end
38
38
 
39
39
  # Validates the window contents against the include or exclude lists, depending on the validator style.
@@ -52,7 +52,7 @@ module Wx::PG
52
52
  #
53
53
  class PGArrayEditorDialog < Dialog
54
54
 
55
- # @return [PGArrayEditorDialog]
55
+ # @return [Wx::PG::PGArrayEditorDialog]
56
56
  def initialize; end
57
57
 
58
58
  # @return [void]
@@ -215,7 +215,7 @@ module Wx::PG
215
215
  #
216
216
  class PGArrayStringEditorDialog < PGArrayEditorDialog
217
217
 
218
- # @return [PGArrayStringEditorDialog]
218
+ # @return [Wx::PG::PGArrayStringEditorDialog]
219
219
  def initialize; end
220
220
 
221
221
  # @return [void]
@@ -233,7 +233,7 @@ module Wx::PG
233
233
  alias_method :dialog_value, :get_dialog_value
234
234
 
235
235
  # @param custBtText [String]
236
- # @param pcc [Wx::ArrayStringProperty]
236
+ # @param pcc [Wx::PG::ArrayStringProperty]
237
237
  # @return [void]
238
238
  def set_custom_button(custBtText, pcc) end
239
239
 
@@ -14,22 +14,22 @@ module Wx::PG
14
14
  class PGCell < Object
15
15
 
16
16
  # @overload initialize()
17
- # @return [PGCell]
17
+ # @return [Wx::PG::PGCell]
18
18
  # @overload initialize(other)
19
- # @param other [Wx::PGCell]
20
- # @return [PGCell]
19
+ # @param other [Wx::PG::PGCell]
20
+ # @return [Wx::PG::PGCell]
21
21
  # @overload initialize(text, bitmap=(Wx::BitmapBundle.new()), fgCol=Wx::NULL_COLOUR, bgCol=Wx::NULL_COLOUR)
22
22
  # @param text [String]
23
23
  # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
24
24
  # @param fgCol [Wx::Colour,String,Symbol]
25
25
  # @param bgCol [Wx::Colour,String,Symbol]
26
- # @return [PGCell]
26
+ # @return [Wx::PG::PGCell]
27
27
  def initialize(*args) end
28
28
 
29
29
  # @overload get_data()
30
- # @return [Wx::PGCellData]
30
+ # @return [Wx::PG::PGCellData]
31
31
  # @overload get_data()
32
- # @return [Wx::PGCellData]
32
+ # @return [Wx::PG::PGCellData]
33
33
  def get_data(*args) end
34
34
  alias_method :data, :get_data
35
35
 
@@ -43,7 +43,7 @@ module Wx::PG
43
43
  def set_empty_data; end
44
44
 
45
45
  # Merges valid data from srcCell into this.
46
- # @param srcCell [Wx::PGCell]
46
+ # @param srcCell [Wx::PG::PGCell]
47
47
  # @return [void]
48
48
  def merge_from(srcCell) end
49
49
 
@@ -105,7 +105,7 @@ module Wx::PG
105
105
  #
106
106
  class PGCellData < ::Object
107
107
 
108
- # @return [PGCellData]
108
+ # @return [Wx::PG::PGCellData]
109
109
  def initialize; end
110
110
 
111
111
  # @param text [String]
@@ -141,14 +141,14 @@ module Wx::PG
141
141
  class PGChoiceEntry < PGCell
142
142
 
143
143
  # @overload initialize()
144
- # @return [PGChoiceEntry]
144
+ # @return [Wx::PG::PGChoiceEntry]
145
145
  # @overload initialize(other)
146
- # @param other [Wx::PGChoiceEntry]
147
- # @return [PGChoiceEntry]
146
+ # @param other [Wx::PG::PGChoiceEntry]
147
+ # @return [Wx::PG::PGChoiceEntry]
148
148
  # @overload initialize(label, value=Wx::PG::PG_INVALID_VALUE)
149
149
  # @param label [String]
150
150
  # @param value [Integer]
151
- # @return [PGChoiceEntry]
151
+ # @return [Wx::PG::PGChoiceEntry]
152
152
  def initialize(*args) end
153
153
 
154
154
  # @param value [Integer]