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
@@ -177,23 +177,25 @@ module Wx::RTC
177
177
  # === Styles
178
178
  #
179
179
  # This class supports the following styles:
180
- #
180
+ #
181
181
  # - {Wx::RTC::RE_CENTRE_CARET}: The control will try to keep the caret line centred vertically while editing. {Wx::RTC::RE_CENTER_CARET} is a synonym for this style.
182
+ #
182
183
  # - {Wx::RTC::RE_MULTILINE}: The control will be multiline (mandatory).
184
+ #
183
185
  # - {Wx::RTC::RE_READONLY}: The control will not be editable.
184
186
  #
185
187
  # ===
186
188
  #
187
- # Category: Rich Text <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
188
- # </td><td> {Wx::GTK} Appearance
189
- # </td><td> {Wx::OSX} Appearance
189
+ # Category: Rich Text <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
190
+ # </td><td> wxGTK Appearance
191
+ # </td><td> wxOSX Appearance
190
192
  # </td></tr></table></div>
191
193
  #
192
194
  class RichTextCtrl < Control
193
195
 
194
196
  # @overload initialize()
195
197
  # Default constructor.
196
- # @return [RichTextCtrl]
198
+ # @return [Wx::RTC::RichTextCtrl]
197
199
  # @overload initialize(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TextCtrlNameStr)
198
200
  # Constructor, creating and showing a rich text control.
199
201
  #
@@ -207,7 +209,7 @@ module Wx::RTC
207
209
  # @param style [Integer] Window style.
208
210
  # @param validator [Wx::Validator] Window validator.
209
211
  # @param name [String] Window name.
210
- # @return [RichTextCtrl]
212
+ # @return [Wx::RTC::RichTextCtrl]
211
213
  def initialize(*args) end
212
214
 
213
215
  # Creates the underlying window.
@@ -582,11 +584,11 @@ module Wx::RTC
582
584
  # @return [true,false]
583
585
  # @overload get_style(position, style)
584
586
  # @param position [Integer]
585
- # @param style [Wx::RichTextAttr]
587
+ # @param style [Wx::RTC::RichTextAttr]
586
588
  # @return [true,false]
587
589
  # @overload get_style(position, style, container)
588
590
  # @param position [Integer]
589
- # @param style [Wx::RichTextAttr]
591
+ # @param style [Wx::RTC::RichTextAttr]
590
592
  # @param container [Wx::RichTextParagraphLayoutBox]
591
593
  # @return [true,false]
592
594
  def get_style(*args) end
@@ -595,21 +597,21 @@ module Wx::RTC
595
597
  # @overload set_style(start, end_, style)
596
598
  # @param start [Integer]
597
599
  # @param end_ [Integer]
598
- # @param style [Wx::RichTextAttr]
600
+ # @param style [Wx::RTC::RichTextAttr]
599
601
  # @return [true,false]
600
602
  # @overload set_style(range, style)
601
603
  # @param range [Range]
602
- # @param style [Wx::RichTextAttr]
604
+ # @param style [Wx::RTC::RichTextAttr]
603
605
  # @return [true,false]
604
606
  def set_style(*args) end
605
607
 
606
608
  # @overload get_style_for_range(range, style)
607
609
  # @param range [Range]
608
- # @param style [Wx::RichTextAttr]
610
+ # @param style [Wx::RTC::RichTextAttr]
609
611
  # @return [true,false]
610
612
  # @overload get_style_for_range(range, style, container)
611
613
  # @param range [Range]
612
- # @param style [Wx::RichTextAttr]
614
+ # @param style [Wx::RTC::RichTextAttr]
613
615
  # @param container [Wx::RichTextParagraphLayoutBox]
614
616
  # @return [true,false]
615
617
  def get_style_for_range(*args) end
@@ -618,9 +620,16 @@ module Wx::RTC
618
620
  # Sets the attributes for the given range, passing flags to determine how the attributes are set.
619
621
  # The end point of range is specified as the last character position of the span of text, plus one. So, for example, to set the style for a character at position 5, use the range (5,6).
620
622
  # flags may contain a bit list of the following values:
621
- # - {Wx::RTC::RICHTEXT_SETSTYLE_NONE}: no style flag.- {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this operation should be undoable.- {Wx::RTC::RICHTEXT_SETSTYLE_OPTIMIZE}: specifies that the style should not be applied if the combined style at this point is already the style in question.- {Wx::RTC::RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY}: specifies that the style should only be applied to paragraphs, and not the content. This allows content styling to be preserved independently from that of e.g. a named paragraph style.- {Wx::RTC::RICHTEXT_SETSTYLE_CHARACTERS_ONLY}: specifies that the style should only be applied to characters, and not the paragraph. This allows content styling to be preserved independently from that of e.g. a named paragraph style.- {Wx::RTC::RICHTEXT_SETSTYLE_RESET}: resets (clears) the existing style before applying the new style.- {Wx::RTC::RICHTEXT_SETSTYLE_REMOVE}: removes the specified style. Only the style flags are used in this operation.
623
+ #
624
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_NONE}: no style flag.
625
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this operation should be undoable.
626
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_OPTIMIZE}: specifies that the style should not be applied if the combined style at this point is already the style in question.
627
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY}: specifies that the style should only be applied to paragraphs, and not the content. This allows content styling to be preserved independently from that of e.g. a named paragraph style.
628
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_CHARACTERS_ONLY}: specifies that the style should only be applied to characters, and not the paragraph. This allows content styling to be preserved independently from that of e.g. a named paragraph style.
629
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_RESET}: resets (clears) the existing style before applying the new style.
630
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_REMOVE}: removes the specified style. Only the style flags are used in this operation.
622
631
  # @param range [Range]
623
- # @param style [Wx::RichTextAttr]
632
+ # @param style [Wx::RTC::RichTextAttr]
624
633
  # @param flags [Integer]
625
634
  # @return [true,false]
626
635
  def set_style_ex(range, style, flags=Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO) end
@@ -630,11 +639,11 @@ module Wx::RTC
630
639
  # This function gets the uncombined style - that is, the attributes associated with the paragraph or character content, and not necessarily the combined attributes you see on the screen. To get the combined attributes, use {Wx::RTC::RichTextCtrl#get_style}.
631
640
  # If you specify (any) paragraph attribute in style's flags, this function will fetch the paragraph attributes. Otherwise, it will return the character attributes.
632
641
  # @param position [Integer]
633
- # @param style [Wx::RichTextAttr]
642
+ # @param style [Wx::RTC::RichTextAttr]
634
643
  # @return [true,false]
635
644
  # @overload get_uncombined_style(position, style, container)
636
645
  # @param position [Integer]
637
- # @param style [Wx::RichTextAttr]
646
+ # @param style [Wx::RTC::RichTextAttr]
638
647
  # @param container [Wx::RichTextParagraphLayoutBox]
639
648
  # @return [true,false]
640
649
  def get_uncombined_style(*args) end
@@ -645,13 +654,13 @@ module Wx::RTC
645
654
  # @param style [Wx::TextAttr]
646
655
  # @return [true,false]
647
656
  # @overload set_default_style(style)
648
- # @param style [Wx::RichTextAttr]
657
+ # @param style [Wx::RTC::RichTextAttr]
649
658
  # @return [true,false]
650
659
  def set_default_style(*args) end
651
660
  alias_method :default_style=, :set_default_style
652
661
 
653
662
  # Returns the current default style, which can be used to change how subsequently inserted text is displayed.
654
- # @return [Wx::RichTextAttr]
663
+ # @return [Wx::RTC::RichTextAttr]
655
664
  def get_default_style_ex; end
656
665
  alias_method :default_style_ex, :get_default_style_ex
657
666
 
@@ -665,6 +674,7 @@ module Wx::RTC
665
674
 
666
675
  # Clears the list style from the given range, clearing list-related attributes and applying any named paragraph style associated with each paragraph.
667
676
  # flags is a bit list of the following:
677
+ #
668
678
  # - {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this command will be undoable.
669
679
  # @see Wx::RTC::RichTextCtrl#set_list_style
670
680
  # @see Wx::RTC::RichTextCtrl#promote_list
@@ -679,7 +689,10 @@ module Wx::RTC
679
689
  # Pass flags to determine how the attributes are set.
680
690
  # Either the style definition or the name of the style definition (in the current sheet) can be passed.
681
691
  # flags is a bit list of the following:
682
- # - {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this command will be undoable.- {Wx::RTC::RICHTEXT_SETSTYLE_RENUMBER}: specifies that numbering should start from startFrom, otherwise existing attributes are used.- {Wx::RTC::RICHTEXT_SETSTYLE_SPECIFY_LEVEL}: specifies that listLevel should be used as the level for all paragraphs, otherwise the current indentation will be used.
692
+ #
693
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this command will be undoable.
694
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_RENUMBER}: specifies that numbering should start from startFrom, otherwise existing attributes are used.
695
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_SPECIFY_LEVEL}: specifies that listLevel should be used as the level for all paragraphs, otherwise the current indentation will be used.
683
696
  # @see Wx::RTC::RichTextCtrl#set_list_style
684
697
  # @see Wx::RTC::RichTextCtrl#promote_list
685
698
  # @see Wx::RTC::RichTextCtrl#clear_list_style.
@@ -702,7 +715,10 @@ module Wx::RTC
702
715
  # Promotes or demotes the paragraphs in the given range.
703
716
  # A positive promoteBy produces a smaller indent, and a negative number produces a larger indent. Pass flags to determine how the attributes are set. Either the style definition or the name of the style definition (in the current sheet) can be passed.
704
717
  # flags is a bit list of the following:
705
- # - {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this command will be undoable.- {Wx::RTC::RICHTEXT_SETSTYLE_RENUMBER}: specifies that numbering should start from startFrom, otherwise existing attributes are used.- {Wx::RTC::RICHTEXT_SETSTYLE_SPECIFY_LEVEL}: specifies that listLevel should be used as the level for all paragraphs, otherwise the current indentation will be used.
718
+ #
719
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this command will be undoable.
720
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_RENUMBER}: specifies that numbering should start from startFrom, otherwise existing attributes are used.
721
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_SPECIFY_LEVEL}: specifies that listLevel should be used as the level for all paragraphs, otherwise the current indentation will be used.
706
722
  # @see Wx::RTC::RichTextCtrl#set_list_style
707
723
  # @see
708
724
  #
@@ -727,7 +743,13 @@ module Wx::RTC
727
743
  # You can merge properties or replace them.
728
744
  # The end point of range is specified as the last character position of the span of text, plus one. So, for example, to set the properties for a character at position 5, use the range (5,6).
729
745
  # flags may contain a bit list of the following values:
730
- # - {Wx::RICHTEXT_SETSPROPERTIES_NONE}: no flag.- {Wx::RTC::RICHTEXT_SETPROPERTIES_WITH_UNDO}: specifies that this operation should be undoable.- {Wx::RTC::RICHTEXT_SETPROPERTIES_PARAGRAPHS_ONLY}: specifies that the properties should only be applied to paragraphs, and not the content.- {Wx::RTC::RICHTEXT_SETPROPERTIES_CHARACTERS_ONLY}: specifies that the properties should only be applied to characters, and not the paragraph.- {Wx::RTC::RICHTEXT_SETPROPERTIES_RESET}: resets (clears) the existing properties before applying the new properties.- {Wx::RTC::RICHTEXT_SETPROPERTIES_REMOVE}: removes the specified properties.
746
+ #
747
+ # - {Wx::RICHTEXT_SETSPROPERTIES_NONE}: no flag.
748
+ # - {Wx::RTC::RICHTEXT_SETPROPERTIES_WITH_UNDO}: specifies that this operation should be undoable.
749
+ # - {Wx::RTC::RICHTEXT_SETPROPERTIES_PARAGRAPHS_ONLY}: specifies that the properties should only be applied to paragraphs, and not the content.
750
+ # - {Wx::RTC::RICHTEXT_SETPROPERTIES_CHARACTERS_ONLY}: specifies that the properties should only be applied to characters, and not the paragraph.
751
+ # - {Wx::RTC::RICHTEXT_SETPROPERTIES_RESET}: resets (clears) the existing properties before applying the new properties.
752
+ # - {Wx::RTC::RICHTEXT_SETPROPERTIES_REMOVE}: removes the specified properties.
731
753
  # @param range [Range]
732
754
  # @param properties [Wx::RichTextProperties]
733
755
  # @param flags [Integer]
@@ -882,23 +904,23 @@ module Wx::RTC
882
904
  # Supply an optional type to use for internal and file storage of the raw data.
883
905
  # @param image [Wx::Image]
884
906
  # @param bitmapType [BitmapType]
885
- # @param textAttr [Wx::RichTextAttr]
907
+ # @param textAttr [Wx::RTC::RichTextAttr]
886
908
  # @return [true,false]
887
909
  # @overload write_image(bitmap, bitmapType=Wx::BitmapType::BITMAP_TYPE_PNG, textAttr=(Wx::RichTextAttr.new()))
888
910
  # @param bitmap [Wx::Bitmap]
889
911
  # @param bitmapType [BitmapType]
890
- # @param textAttr [Wx::RichTextAttr]
912
+ # @param textAttr [Wx::RTC::RichTextAttr]
891
913
  # @return [true,false]
892
914
  # @overload write_image(filename, bitmapType, textAttr=(Wx::RichTextAttr.new()))
893
915
  # Loads an image from a file and writes it at the current insertion point.
894
916
  # @param filename [String]
895
917
  # @param bitmapType [BitmapType]
896
- # @param textAttr [Wx::RichTextAttr]
918
+ # @param textAttr [Wx::RTC::RichTextAttr]
897
919
  # @return [true,false]
898
920
  # @overload write_image(imageBlock, textAttr=(Wx::RichTextAttr.new()))
899
921
  # Writes an image block at the current insertion point.
900
922
  # @param imageBlock [Wx::RichTextImageBlock]
901
- # @param textAttr [Wx::RichTextAttr]
923
+ # @param textAttr [Wx::RTC::RichTextAttr]
902
924
  # @return [true,false]
903
925
  def write_image(*args) end
904
926
 
@@ -915,19 +937,19 @@ module Wx::RTC
915
937
 
916
938
  # Sets the basic (overall) style.
917
939
  # This is the style of the whole buffer before further styles are applied, unlike the default style, which only affects the style currently being applied (for example, setting the default style to bold will cause subsequently inserted text to be bold).
918
- # @param style [Wx::RichTextAttr]
940
+ # @param style [Wx::RTC::RichTextAttr]
919
941
  # @return [void]
920
942
  def set_basic_style(style) end
921
943
  alias_method :basic_style=, :set_basic_style
922
944
 
923
945
  # Gets the basic (overall) style.
924
946
  # This is the style of the whole buffer before further styles are applied, unlike the default style, which only affects the style currently being applied (for example, setting the default style to bold will cause subsequently inserted text to be bold).
925
- # @return [Wx::RichTextAttr]
947
+ # @return [Wx::RTC::RichTextAttr]
926
948
  def get_basic_style; end
927
949
  alias_method :basic_style, :get_basic_style
928
950
 
929
951
  # Begins applying a style.
930
- # @param style [Wx::RichTextAttr]
952
+ # @param style [Wx::RTC::RichTextAttr]
931
953
  # @return [true,false]
932
954
  def begin_style(style) end
933
955
 
@@ -1182,7 +1204,7 @@ module Wx::RTC
1182
1204
 
1183
1205
  # Implements layout.
1184
1206
  # An application may override this to perform operations before or after layout.
1185
- # @param buffer [Wx::RichTextBuffer]
1207
+ # @param buffer [Wx::RTC::RichTextBuffer]
1186
1208
  # @param dc [Wx::DC]
1187
1209
  # @param context [Wx::RichTextDrawingContext]
1188
1210
  # @param rect [Wx::Rect]
@@ -1279,9 +1301,9 @@ module Wx::RTC
1279
1301
 
1280
1302
  # @overload get_buffer()
1281
1303
  # Returns the buffer associated with the control.
1282
- # @return [Wx::RichTextBuffer]
1304
+ # @return [Wx::RTC::RichTextBuffer]
1283
1305
  # @overload get_buffer()
1284
- # @return [Wx::RichTextBuffer]
1306
+ # @return [Wx::RTC::RichTextBuffer]
1285
1307
  def get_buffer(*args) end
1286
1308
  alias_method :buffer, :get_buffer
1287
1309
 
@@ -1314,7 +1336,7 @@ module Wx::RTC
1314
1336
  # If any of the attributes are different within the range, the test fails.
1315
1337
  # You can use this to implement, for example, bold button updating. style must have flags indicating which attributes are of interest.
1316
1338
  # @param range [Range]
1317
- # @param style [Wx::RichTextAttr]
1339
+ # @param style [Wx::RTC::RichTextAttr]
1318
1340
  # @return [true,false]
1319
1341
  def has_character_attributes(range, style) end
1320
1342
  alias_method :has_character_attributes?, :has_character_attributes
@@ -1322,7 +1344,7 @@ module Wx::RTC
1322
1344
  # Test if this whole range has paragraph attributes of the specified kind.
1323
1345
  # If any of the attributes are different within the range, the test fails. You can use this to implement, for example, centering button updating. style must have flags indicating which attributes are of interest.
1324
1346
  # @param range [Range]
1325
- # @param style [Wx::RichTextAttr]
1347
+ # @param style [Wx::RTC::RichTextAttr]
1326
1348
  # @return [true,false]
1327
1349
  def has_paragraph_attributes(range, style) end
1328
1350
  alias_method :has_paragraph_attributes?, :has_paragraph_attributes
@@ -1932,7 +1954,7 @@ module Wx::RTC
1932
1954
  # Sets attr as the default style and tells the control that the UI should reflect this attribute until the user moves the caret.
1933
1955
  #
1934
1956
  # @see Wx::RTC::RichTextCtrl#is_default_style_showing.
1935
- # @param attr [Wx::RichTextAttr]
1957
+ # @param attr [Wx::RTC::RichTextAttr]
1936
1958
  # @return [void]
1937
1959
  def set_and_show_default_style(attr) end
1938
1960
  alias_method :and_show_default_style=, :set_and_show_default_style
@@ -11,24 +11,43 @@ module Wx::RTC
11
11
  #
12
12
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::RTC::RichTextEvent} events.
13
13
  # Event handler methods:
14
+ #
14
15
  # - {Wx::EvtHandler#evt_richtext_left_click}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_LEFT_CLICK} event, generated when the user releases the left mouse button over an object.
16
+ #
15
17
  # - {Wx::EvtHandler#evt_richtext_right_click}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_RIGHT_CLICK} event, generated when the user releases the right mouse button over an object.
18
+ #
16
19
  # - {Wx::EvtHandler#evt_richtext_middle_click}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_MIDDLE_CLICK} event, generated when the user releases the middle mouse button over an object.
20
+ #
17
21
  # - {Wx::EvtHandler#evt_richtext_left_dclick}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_LEFT_DCLICK} event, generated when the user double-clicks an object.
22
+ #
18
23
  # - {Wx::EvtHandler#evt_richtext_return}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_RETURN} event, generated when the user presses the return key. Valid event functions: GetFlags, GetPosition.
24
+ #
19
25
  # - {Wx::EvtHandler#evt_richtext_character}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_CHARACTER} event, generated when the user presses a character key. Valid event functions: GetFlags, GetPosition, GetCharacter.
26
+ #
20
27
  # - {Wx::EvtHandler#evt_richtext_consuming_character}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_CONSUMING_CHARACTER} event, generated when the user presses a character key but before it is processed and inserted into the control. Call Veto to prevent normal processing. Valid event functions: GetFlags, GetPosition, GetCharacter, Veto.
28
+ #
21
29
  # - {Wx::EvtHandler#evt_richtext_delete}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_DELETE} event, generated when the user presses the backspace or delete key. Valid event functions: GetFlags, GetPosition.
30
+ #
22
31
  # - {Wx::EvtHandler#evt_richtext_return}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_RETURN} event, generated when the user presses the return key. Valid event functions: GetFlags, GetPosition.
32
+ #
23
33
  # - {Wx::EvtHandler#evt_richtext_style_changed}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_STYLE_CHANGED} event, generated when styling has been applied to the control. Valid event functions: GetPosition, GetRange.
34
+ #
24
35
  # - {Wx::EvtHandler#evt_richtext_stylesheet_changed}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_STYLESHEET_CHANGING} event, generated when the control's stylesheet has changed, for example the user added, edited or deleted a style. Valid event functions: GetRange, GetPosition.
36
+ #
25
37
  # - {Wx::EvtHandler#evt_richtext_stylesheet_replacing}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_STYLESHEET_REPLACING} event, generated when the control's stylesheet is about to be replaced, for example when a file is loaded into the control. Valid event functions: Veto, GetOldStyleSheet, GetNewStyleSheet.
38
+ #
26
39
  # - {Wx::EvtHandler#evt_richtext_stylesheet_replaced}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_STYLESHEET_REPLACED} event, generated when the control's stylesheet has been replaced, for example when a file is loaded into the control. Valid event functions: GetOldStyleSheet, GetNewStyleSheet.
40
+ #
27
41
  # - {Wx::EvtHandler#evt_richtext_properties_changed}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_PROPERTIES_CHANGED} event, generated when properties have been applied to the control. Valid event functions: GetPosition, GetRange.
42
+ #
28
43
  # - {Wx::EvtHandler#evt_richtext_content_inserted}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_CONTENT_INSERTED} event, generated when content has been inserted into the control. Valid event functions: GetPosition, GetRange.
44
+ #
29
45
  # - {Wx::EvtHandler#evt_richtext_content_deleted}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_CONTENT_DELETED} event, generated when content has been deleted from the control. Valid event functions: GetPosition, GetRange.
46
+ #
30
47
  # - {Wx::EvtHandler#evt_richtext_buffer_reset}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_BUFFER_RESET} event, generated when the buffer has been reset by deleting all content. You can use this to set a default style for the first new paragraph.
48
+ #
31
49
  # - {Wx::EvtHandler#evt_richtext_selection_changed}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_SELECTION_CHANGED} event, generated when the selection range has changed.
50
+ #
32
51
  # - {Wx::EvtHandler#evt_richtext_focus_object_changed}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_FOCUS_OBJECT_CHANGED} event, generated when the current focus object has changed.
33
52
  #
34
53
  # ===
@@ -39,13 +58,13 @@ module Wx::RTC
39
58
 
40
59
  # @overload initialize(commandType=Wx::EVT_NULL, winid=0)
41
60
  # Constructor.
42
- # @param commandType [Integer] The type of the event.
61
+ # @param commandType [Wx::AUI::AuiMDIChildFrame::EventType] The type of the event.
43
62
  # @param winid [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
44
- # @return [RichTextEvent]
63
+ # @return [Wx::RTC::RichTextEvent]
45
64
  # @overload initialize(event)
46
65
  # Copy constructor.
47
- # @param event [Wx::RichTextEvent]
48
- # @return [RichTextEvent]
66
+ # @param event [Wx::RTC::RichTextEvent]
67
+ # @return [Wx::RTC::RichTextEvent]
49
68
  def initialize(*args) end
50
69
 
51
70
  # Returns the buffer position at which the event occurred.
@@ -20,18 +20,18 @@ module Wx::RTC
20
20
  # @param name [String]
21
21
  # @param ext [String]
22
22
  # @param type [Integer]
23
- # @return [RichTextFileHandler]
23
+ # @return [Wx::RTC::RichTextFileHandler]
24
24
  def initialize(name=(''), ext=(''), type=0) end
25
25
 
26
26
  # @overload load_file(buffer, stream)
27
27
  # Loads the buffer from a stream.
28
28
  # Not all handlers will implement file loading.
29
- # @param buffer [Wx::RichTextBuffer]
29
+ # @param buffer [Wx::RTC::RichTextBuffer]
30
30
  # @param stream [IO,Wx::InputStream]
31
31
  # @return [true,false]
32
32
  # @overload load_file(buffer, filename)
33
33
  # Loads the buffer from a file.
34
- # @param buffer [Wx::RichTextBuffer]
34
+ # @param buffer [Wx::RTC::RichTextBuffer]
35
35
  # @param filename [String]
36
36
  # @return [true,false]
37
37
  def load_file(*args) end
@@ -39,12 +39,12 @@ module Wx::RTC
39
39
  # @overload save_file(buffer, stream)
40
40
  # Saves the buffer to a stream.
41
41
  # Not all handlers will implement file saving.
42
- # @param buffer [Wx::RichTextBuffer]
42
+ # @param buffer [Wx::RTC::RichTextBuffer]
43
43
  # @param stream [IO,Wx::OutputStream]
44
44
  # @return [true,false]
45
45
  # @overload save_file(buffer, filename)
46
46
  # Saves the buffer to a file.
47
- # @param buffer [Wx::RichTextBuffer]
47
+ # @param buffer [Wx::RTC::RichTextBuffer]
48
48
  # @param filename [String]
49
49
  # @return [true,false]
50
50
  def save_file(*args) end
@@ -152,7 +152,7 @@ module Wx::RTC
152
152
  # @param name [String]
153
153
  # @param ext [String]
154
154
  # @param type [RichTextFileType]
155
- # @return [RichTextPlainTextHandler]
155
+ # @return [Wx::RTC::RichTextPlainTextHandler]
156
156
  def initialize(name=("Text"), ext=("txt"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_TEXT) end
157
157
 
158
158
  # Returns true if we can save using this handler.
@@ -50,7 +50,11 @@ module Wx::RTC
50
50
  # Headers and footers can be specified independently for odd, even or both page sides. Different text can be specified for left, centre and right locations on the page, and the font and text colour can also be specified.
51
51
  # You can specify the following keywords in header and footer text, which will be substituted for the actual values during printing and preview.
52
52
  #
53
- # - @DATE@: the current date.- @PAGESCNT@: the total number of pages.- @PAGENUM@: the current page number.- @TIME@: the current time.- @TITLE@: the title of the document, as passed to the {Wx::RTC::RichTextPrinting} or {Wx::RichTextLayout} constructor.
53
+ # - @DATE@: the current date.
54
+ # - @PAGESCNT@: the total number of pages.
55
+ # - @PAGENUM@: the current page number.
56
+ # - @TIME@: the current time.
57
+ # - @TITLE@: the title of the document, as passed to the {Wx::RTC::RichTextPrinting} or {Wx::RichTextLayout} constructor.
54
58
  #
55
59
  # ===
56
60
  #
@@ -62,10 +66,10 @@ module Wx::RTC
62
66
 
63
67
  # @overload initialize()
64
68
  # Constructors.
65
- # @return [RichTextHeaderFooterData]
69
+ # @return [Wx::RTC::RichTextHeaderFooterData]
66
70
  # @overload initialize(data)
67
- # @param data [Wx::RichTextHeaderFooterData]
68
- # @return [RichTextHeaderFooterData]
71
+ # @param data [Wx::RTC::RichTextHeaderFooterData]
72
+ # @return [Wx::RTC::RichTextHeaderFooterData]
69
73
  def initialize(*args) end
70
74
 
71
75
  # Clears all text.
@@ -73,7 +77,7 @@ module Wx::RTC
73
77
  def clear; end
74
78
 
75
79
  # Copies the data.
76
- # @param data [Wx::RichTextHeaderFooterData]
80
+ # @param data [Wx::RTC::RichTextHeaderFooterData]
77
81
  # @return [void]
78
82
  def copy(data) end
79
83
 
@@ -17,7 +17,11 @@ module Wx::RTC
17
17
  #
18
18
  # The following flags can be used with this handler, via the handler's {Wx::RTC::RichTextHTMLHandler#set_flags} function or the buffer or control's SetHandlerFlags() function:
19
19
  #
20
- # - {Wx::RTC::RICHTEXT_HANDLER_SAVE_IMAGES_TO_MEMORY} Images are saved to the memory filesystem: suitable for showing {Wx::HTML} windows.- {Wx::RTC::RICHTEXT_HANDLER_SAVE_IMAGES_TO_FILES} Images are saved to temporary files: suitable for showing in {Wx::HTML} windows.- {Wx::RTC::RICHTEXT_HANDLER_SAVE_IMAGES_TO_BASE64} Images are written with the HTML files in Base 64 format: suitable for showing in web browsers.- {Wx::RTC::RICHTEXT_HANDLER_NO_HEADER_FOOTER} Don't include header and footer tags (HTML, HEAD, BODY), so that the HTML can be used as part of a larger document.- {Wx::RTC::RICHTEXT_HANDLER_USE_CSS} Use CSS where possible, otherwise use workarounds that will show in {Wx::HTML::HtmlWindow}.
20
+ # - {Wx::RTC::RICHTEXT_HANDLER_SAVE_IMAGES_TO_MEMORY} Images are saved to the memory filesystem: suitable for showing {Wx::HTML} windows.
21
+ # - {Wx::RTC::RICHTEXT_HANDLER_SAVE_IMAGES_TO_FILES} Images are saved to temporary files: suitable for showing in {Wx::HTML} windows.
22
+ # - {Wx::RTC::RICHTEXT_HANDLER_SAVE_IMAGES_TO_BASE64} Images are written with the HTML files in Base 64 format: suitable for showing in web browsers.
23
+ # - {Wx::RTC::RICHTEXT_HANDLER_NO_HEADER_FOOTER} Don't include header and footer tags (HTML, HEAD, BODY), so that the HTML can be used as part of a larger document.
24
+ # - {Wx::RTC::RICHTEXT_HANDLER_USE_CSS} Use CSS where possible, otherwise use workarounds that will show in {Wx::HTML::HtmlWindow}.
21
25
  #
22
26
  # ===
23
27
  #
@@ -29,7 +33,7 @@ module Wx::RTC
29
33
  # @param name [String]
30
34
  # @param ext [String]
31
35
  # @param type [Integer]
32
- # @return [RichTextHTMLHandler]
36
+ # @return [Wx::RTC::RichTextHTMLHandler]
33
37
  def initialize(name=("Wx::HTML"), ext=("Wx::HTML"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_HTML) end
34
38
 
35
39
  # Clears the image locations generated by the last operation.
@@ -18,7 +18,7 @@ module Wx::RTC
18
18
  # Optionally pass a title to be used in the preview frame and printing wait dialog, and also a parent window for these windows.
19
19
  # @param name [String]
20
20
  # @param parentWindow [Wx::Window]
21
- # @return [RichTextPrinting]
21
+ # @return [Wx::RTC::RichTextPrinting]
22
22
  def initialize(name=("Printing"), parentWindow=nil) end
23
23
 
24
24
  # A convenience function to get the footer text.
@@ -30,7 +30,7 @@ module Wx::RTC
30
30
  alias_method :footer_text, :get_footer_text
31
31
 
32
32
  # Returns the internal {Wx::RTC::RichTextHeaderFooterData} object.
33
- # @return [Wx::RichTextHeaderFooterData]
33
+ # @return [Wx::RTC::RichTextHeaderFooterData]
34
34
  def get_header_footer_data; end
35
35
  alias_method :header_footer_data, :get_header_footer_data
36
36
 
@@ -63,7 +63,7 @@ module Wx::RTC
63
63
 
64
64
  # Shows a preview window for the given buffer.
65
65
  # The function takes its own copy of buffer.
66
- # @param buffer [Wx::RichTextBuffer]
66
+ # @param buffer [Wx::RTC::RichTextBuffer]
67
67
  # @return [true,false]
68
68
  def preview_buffer(buffer) end
69
69
 
@@ -75,7 +75,7 @@ module Wx::RTC
75
75
 
76
76
  # Prints the given buffer.
77
77
  # The function takes its own copy of buffer. showPrintDialog can be true to show the print dialog, or false to print quietly.
78
- # @param buffer [Wx::RichTextBuffer]
78
+ # @param buffer [Wx::RTC::RichTextBuffer]
79
79
  # @param showPrintDialog [true,false]
80
80
  # @return [true,false]
81
81
  def print_buffer(buffer, showPrintDialog=true) end
@@ -97,7 +97,7 @@ module Wx::RTC
97
97
  alias_method :footer_text=, :set_footer_text
98
98
 
99
99
  # Sets the internal {Wx::RTC::RichTextHeaderFooterData} object.
100
- # @param data [Wx::RichTextHeaderFooterData]
100
+ # @param data [Wx::RTC::RichTextHeaderFooterData]
101
101
  # @return [void]
102
102
  def set_header_footer_data(data) end
103
103
  alias_method :header_footer_data=, :set_header_footer_data
@@ -124,7 +124,7 @@ module Wx::RTC
124
124
  alias_method :header_text=, :set_header_text
125
125
 
126
126
  # Sets the page setup data.
127
- # @param pageSetupData [Wx::PageSetupDialogData]
127
+ # @param pageSetupData [Wx::PRT::PageSetupDialogData]
128
128
  # @return [void]
129
129
  def set_page_setup_data(pageSetupData) end
130
130
  alias_method :page_setup_data=, :set_page_setup_data
@@ -142,7 +142,7 @@ module Wx::RTC
142
142
  alias_method :preview_rect=, :set_preview_rect
143
143
 
144
144
  # Sets the print data.
145
- # @param printData [Wx::PrintData]
145
+ # @param printData [Wx::PRT::PrintData]
146
146
  # @return [void]
147
147
  def set_print_data(printData) end
148
148
  alias_method :print_data=, :set_print_data
@@ -171,7 +171,7 @@ module Wx::RTC
171
171
 
172
172
  # Constructor.
173
173
  # @param title [String]
174
- # @return [RichTextPrintout]
174
+ # @return [Wx::RTC::RichTextPrintout]
175
175
  def initialize(title=("Wx::PRT::Printout")) end
176
176
 
177
177
  # Calculates scaling and text, header and footer rectangles.
@@ -183,7 +183,7 @@ module Wx::RTC
183
183
  def calculate_scaling(dc, textRect, headerRect, footerRect) end
184
184
 
185
185
  # Returns the header and footer data associated with the printout.
186
- # @return [Wx::RichTextHeaderFooterData]
186
+ # @return [Wx::RTC::RichTextHeaderFooterData]
187
187
  def get_header_footer_data; end
188
188
  alias_method :header_footer_data, :get_header_footer_data
189
189
 
@@ -193,7 +193,7 @@ module Wx::RTC
193
193
  alias_method :page_info, :get_page_info
194
194
 
195
195
  # Returns a pointer to the buffer being rendered.
196
- # @return [Wx::RichTextBuffer]
196
+ # @return [Wx::RTC::RichTextBuffer]
197
197
  def get_rich_text_buffer; end
198
198
  alias_method :rich_text_buffer, :get_rich_text_buffer
199
199
 
@@ -213,7 +213,7 @@ module Wx::RTC
213
213
  def on_print_page(page) end
214
214
 
215
215
  # Sets the header and footer data associated with the printout.
216
- # @param data [Wx::RichTextHeaderFooterData]
216
+ # @param data [Wx::RTC::RichTextHeaderFooterData]
217
217
  # @return [void]
218
218
  def set_header_footer_data(data) end
219
219
  alias_method :header_footer_data=, :set_header_footer_data
@@ -230,7 +230,7 @@ module Wx::RTC
230
230
 
231
231
  # Sets the buffer to print.
232
232
  # {Wx::RTC::RichTextPrintout} does not manage this pointer; it should be managed by the calling code, such as {Wx::RTC::RichTextPrinting}.
233
- # @param buffer [Wx::RichTextBuffer]
233
+ # @param buffer [Wx::RTC::RichTextBuffer]
234
234
  # @return [void]
235
235
  def set_rich_text_buffer(buffer) end
236
236
  alias_method :rich_text_buffer=, :set_rich_text_buffer
@@ -25,7 +25,7 @@ module Wx::RTC
25
25
  # @param name [String]
26
26
  # @param ext [String]
27
27
  # @param type [Integer]
28
- # @return [RichTextXMLHandler]
28
+ # @return [Wx::RTC::RichTextXMLHandler]
29
29
  def initialize(name=("XML"), ext=("xml"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_XML) end
30
30
 
31
31
  # Returns true.
@@ -57,7 +57,7 @@ module Wx::RTC
57
57
 
58
58
  # @overload initialize()
59
59
  # Default ctor.
60
- # @return [SymbolPickerDialog]
60
+ # @return [Wx::RTC::SymbolPickerDialog]
61
61
  # @overload initialize(symbol, initialFont, normalTextFont, parent, id=Wx::StandardID::ID_ANY, title=(_.new("Symbols")), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER|Wx::CLOSE_BOX))
62
62
  # Constructor.
63
63
  # @param symbol [String] The initial symbol to show. Specify a single character in a string, or an empty string.
@@ -69,7 +69,7 @@ module Wx::RTC
69
69
  # @param pos [Array(Integer, Integer), Wx::Point] The dialog's position.
70
70
  # @param size [Array(Integer, Integer), Wx::Size] The dialog's size.
71
71
  # @param style [Integer] The dialog's window style.
72
- # @return [SymbolPickerDialog]
72
+ # @return [Wx::RTC::SymbolPickerDialog]
73
73
  def initialize(*args) end
74
74
 
75
75
  # Creation: see the constructor for details about the parameters.
@@ -76,7 +76,9 @@ module Wx
76
76
  #
77
77
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::SashEvent} events.
78
78
  # Event handler methods:
79
+ #
79
80
  # - {Wx::EvtHandler#evt_sash_dragged}(id, meth = nil, &block): Process a {Wx::EVT_SASH_DRAGGED} event, when the user has finished dragging a sash.
81
+ #
80
82
  # - {Wx::EvtHandler#evt_sash_dragged_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_SASH_DRAGGED_RANGE} event, when the user has finished dragging a sash. The event handler is called when windows with ids in the given range have their sashes dragged.
81
83
  #
82
84
  # ===
@@ -91,7 +93,7 @@ module Wx
91
93
  # Constructor.
92
94
  # @param id [Integer]
93
95
  # @param edge [SashEdgePosition]
94
- # @return [SashEvent]
96
+ # @return [Wx::SashEvent]
95
97
  def initialize(id=0, edge=Wx::SashEdgePosition::SASH_NONE) end
96
98
 
97
99
  # Returns the rectangle representing the new size the window would be if the resize was applied.
@@ -76,7 +76,7 @@ module Wx
76
76
 
77
77
  # @overload initialize()
78
78
  # Default ctor.
79
- # @return [SashLayoutWindow]
79
+ # @return [Wx::SashLayoutWindow]
80
80
  # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("layoutWindow"))
81
81
  # Constructs a sash layout window, which can be a child of a frame, dialog or any other non-control window.
82
82
  # @param parent [Wx::Window] Pointer to a parent window.
@@ -85,7 +85,7 @@ module Wx
85
85
  # @param size [Array(Integer, Integer), Wx::Size] Window size. {Wx::DEFAULT_SIZE} is (-1, -1) which indicates that {Wx::SashLayoutWindows} should generate a default size for the window.
86
86
  # @param style [Integer] Window style. For window styles, please see {Wx::SashLayoutWindow}.
87
87
  # @param name [String] Window name.
88
- # @return [SashLayoutWindow]
88
+ # @return [Wx::SashLayoutWindow]
89
89
  def initialize(*args) end
90
90
 
91
91
  # Initializes a sash layout window, which can be a child of a frame, dialog or any other non-control window.
@@ -158,7 +158,9 @@ module Wx
158
158
  #
159
159
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CalculateLayoutEvent} events.
160
160
  # Event handler methods for events emitted by this class:
161
+ #
161
162
  # - {Wx::EvtHandler#evt_query_layout_info}(meth = nil, &block): Process a {Wx::EVT_QUERY_LAYOUT_INFO} event, to get size, orientation and alignment from a window. See {Wx::QueryLayoutInfoEvent}.
163
+ #
162
164
  # - {Wx::EvtHandler#evt_calculate_layout}(meth = nil, &block): Process a {Wx::EVT_CALCULATE_LAYOUT} event, which asks the window to take a 'bite' out of a rectangle provided by the algorithm. See {Wx::CalculateLayoutEvent}.
163
165
  #
164
166
  # Note that the algorithm object does not respond to events, but itself generates the previous events in order to calculate window sizes.
@@ -173,7 +175,7 @@ module Wx
173
175
  class LayoutAlgorithm < Object
174
176
 
175
177
  # Default constructor.
176
- # @return [LayoutAlgorithm]
178
+ # @return [Wx::LayoutAlgorithm]
177
179
  def initialize; end
178
180
 
179
181
  # Lays out the children of a normal frame.