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
@@ -2106,67 +2106,67 @@ module Wx
2106
2106
  #
2107
2107
  K_LAUNCH_APP2 = Wx::KeyCode.new(443)
2108
2108
 
2109
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2109
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2110
2110
  #
2111
2111
  K_LAUNCH_0 = Wx::KeyCode.new(432)
2112
2112
 
2113
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2113
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2114
2114
  #
2115
2115
  K_LAUNCH_1 = Wx::KeyCode.new(433)
2116
2116
 
2117
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2117
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2118
2118
  #
2119
2119
  K_LAUNCH_2 = Wx::KeyCode.new(434)
2120
2120
 
2121
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2121
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2122
2122
  #
2123
2123
  K_LAUNCH_3 = Wx::KeyCode.new(435)
2124
2124
 
2125
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2125
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2126
2126
  #
2127
2127
  K_LAUNCH_4 = Wx::KeyCode.new(436)
2128
2128
 
2129
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2129
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2130
2130
  #
2131
2131
  K_LAUNCH_5 = Wx::KeyCode.new(437)
2132
2132
 
2133
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2133
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2134
2134
  #
2135
2135
  K_LAUNCH_6 = Wx::KeyCode.new(438)
2136
2136
 
2137
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2137
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2138
2138
  #
2139
2139
  K_LAUNCH_7 = Wx::KeyCode.new(439)
2140
2140
 
2141
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2141
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2142
2142
  #
2143
2143
  K_LAUNCH_8 = Wx::KeyCode.new(440)
2144
2144
 
2145
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2145
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2146
2146
  #
2147
2147
  K_LAUNCH_9 = Wx::KeyCode.new(441)
2148
2148
 
2149
- # Available since wxWidgets 3.1.6, generated by {Wx::GTK} and {Wx::MSW}.
2149
+ # Available since wxWidgets 3.1.6, generated by wxGTK and wxMSW.
2150
2150
  #
2151
2151
  K_LAUNCH_A = Wx::KeyCode.new(442)
2152
2152
 
2153
- # Available since wxWidgets 3.1.6, generated by {Wx::GTK} and {Wx::MSW}.
2153
+ # Available since wxWidgets 3.1.6, generated by wxGTK and wxMSW.
2154
2154
  #
2155
2155
  K_LAUNCH_B = Wx::KeyCode.new(443)
2156
2156
 
2157
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2157
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2158
2158
  #
2159
2159
  K_LAUNCH_C = Wx::KeyCode.new(444)
2160
2160
 
2161
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2161
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2162
2162
  #
2163
2163
  K_LAUNCH_D = Wx::KeyCode.new(445)
2164
2164
 
2165
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2165
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2166
2166
  #
2167
2167
  K_LAUNCH_E = Wx::KeyCode.new(446)
2168
2168
 
2169
- # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2169
+ # Available since wxWidgets 3.1.6 and only generated by wxGTK.
2170
2170
  #
2171
2171
  K_LAUNCH_F = Wx::KeyCode.new(447)
2172
2172
 
@@ -84,19 +84,31 @@ module Wx
84
84
  # === Styles
85
85
  #
86
86
  # This class supports the following styles:
87
- #
87
+ #
88
88
  # - {Wx::CAPTION}: Puts a caption on the dialog box.
89
+ #
89
90
  # - {Wx::DEFAULT_DIALOG_STYLE}: Equivalent to a combination of {Wx::CAPTION}, {Wx::CLOSE_BOX} and {Wx::SYSTEM_MENU} (the last one is not used under Unix).
91
+ #
90
92
  # - {Wx::RESIZE_BORDER}: Display a resizable frame around the window.
93
+ #
91
94
  # - {Wx::SYSTEM_MENU}: Display a system menu.
95
+ #
92
96
  # - {Wx::CLOSE_BOX}: Displays a close box on the frame.
97
+ #
93
98
  # - {Wx::MAXIMIZE_BOX}: Displays a maximize box on the dialog.
99
+ #
94
100
  # - {Wx::MINIMIZE_BOX}: Displays a minimize box on the dialog.
101
+ #
95
102
  # - {Wx::THICK_FRAME}: Display a thick frame around the window.
103
+ #
96
104
  # - {Wx::STAY_ON_TOP}: The dialog stays on top of all other windows.
105
+ #
97
106
  # - {Wx::NO_3D}: This style is obsolete and doesn't do anything any more, don't use it in any new code.
107
+ #
98
108
  # - {Wx::DIALOG_NO_PARENT}: By default, a dialog created with a NULL parent window will be given the application's top level window as parent. Use this style to prevent this from happening and create an orphan dialog. This is not recommended for modal dialogs.
109
+ #
99
110
  # - {Wx::DIALOG_EX_CONTEXTHELP}: Under Windows, puts a query button on the caption. When pressed, Windows will go into a context-sensitive help mode and wxWidgets will send a {Wx::EVT_HELP} event if the user clicked on an application window. Note that this is an extended style and must be set by calling {Wx::Dialog#set_extra_style} before Create is called (two-step construction).
111
+ #
100
112
  # - {Wx::DIALOG_EX_METAL}: On macOS, frames with this style will be shown with a metallic look. This is an extra style.
101
113
  #
102
114
  # Under Unix or Linux, MWM (the Motif Window Manager) or other window managers recognizing the MHM hints should be running for any of these styles to have an effect.
@@ -104,7 +116,9 @@ module Wx
104
116
  #
105
117
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CloseEvent} events.
106
118
  # Event handler methods for events emitted by this class:
119
+ #
107
120
  # - {Wx::EvtHandler#evt_close}(meth = nil, &block): The dialog is being closed by the user or programmatically (see {Wx::Window#close}). The user may generate this event clicking the close button (typically the 'X' on the top-right of the title bar) if it's present (see the {Wx::CLOSE_BOX} style).
121
+ #
108
122
  # - {Wx::EvtHandler#evt_init_dialog}(meth = nil, &block): Process a {Wx::EVT_INIT_DIALOG} event. See {Wx::InitDialogEvent}.
109
123
  #
110
124
  # ===
@@ -119,7 +133,7 @@ module Wx
119
133
 
120
134
  # @overload initialize()
121
135
  # Default constructor.
122
- # @return [Dialog]
136
+ # @return [Wx::Dialog]
123
137
  # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DialogNameStr)
124
138
  # Constructor.
125
139
  #
@@ -131,7 +145,7 @@ module Wx
131
145
  # @param size [Array(Integer, Integer), Wx::Size] The dialog size. The value {Wx::DEFAULT_SIZE} indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform.
132
146
  # @param style [Integer] The window style.
133
147
  # @param name [String] Used to associate a name with the window, allowing the application user to set Motif resource values for individual dialog boxes.
134
- # @return [Dialog]
148
+ # @return [Wx::Dialog]
135
149
  def initialize(*args) end
136
150
 
137
151
  # Adds an identifier to be regarded as a main button for the non-scrolling area of a dialog.
@@ -287,7 +301,7 @@ module Wx
287
301
  alias_method :iconized?, :is_iconized
288
302
 
289
303
  # Returns true if id is in the array of identifiers to be regarded as the main buttons for the non-scrolling area of a dialog.
290
- # Availability: only available for the {Wx::MSW} port. {Wx::msw}
304
+ # Availability: only available for the wxMSW port. {Wx::msw}
291
305
  # @see Automatic Scrolled Dialogs (for more on layout adaptation)
292
306
  # @param id [Integer]
293
307
  # @return [true,false]
@@ -391,7 +405,7 @@ module Wx
391
405
 
392
406
  # Shows a dialog modal to the parent top level window only.
393
407
  # Unlike {Wx::Dialog#show_modal}, dialogs shown with this function only prevent the user from interacting with their parent frame only but not with the rest of the application. They also don't block the program execution but instead return immediately, as {Wx::Dialog#show}, and generate a {Wx::EVT_WINDOW_MODAL_DIALOG_CLOSED} event ({Wx::WindowModalDialogEvent}) later when the dialog is closed.
394
- # Currently this function is only fully implemented in {Wx::OSX} ports, under the other platforms it behaves like {Wx::Dialog#show_modal} (but also sends the above mentioned event).
408
+ # Currently this function is only fully implemented in wxOSX ports, under the other platforms it behaves like {Wx::Dialog#show_modal} (but also sends the above mentioned event).
395
409
  # @see Wx::WindowModalDialogEvent
396
410
  # @see Wx::Dialog#show_window_modal_then_do
397
411
  # @return [void]
@@ -58,11 +58,15 @@ module Wx
58
58
  # === Styles
59
59
  #
60
60
  # This class supports the following styles:
61
- #
61
+ #
62
62
  # - {Wx::DD_DEFAULT_STYLE}: Equivalent to a combination of {Wx::DEFAULT_DIALOG_STYLE} and {Wx::RESIZE_BORDER}.
63
+ #
63
64
  # - {Wx::DD_DIR_MUST_EXIST}: The dialog will allow the user to choose only an existing folder. When this style is not given, a "Create new directory" button is added to the dialog (on Windows) or some other way is provided to the user to type the name of a new folder.
65
+ #
64
66
  # - {Wx::DD_CHANGE_DIR}: Change the current working directory to the directory chosen by the user. This flag cannot be used with the {Wx::DD_MULTIPLE} style.
67
+ #
65
68
  # - {Wx::DD_MULTIPLE}: Allow the user to select multiple directories. This flag is only available since wxWidgets 3.1.4
69
+ #
66
70
  # - {Wx::DD_SHOW_HIDDEN}: Show hidden and system folders. This flag is only available since wxWidgets 3.1.4
67
71
  #
68
72
  # Notice that {Wx::RESIZE_BORDER} has special side effect under Windows where two different directory selection dialogs are available and this style also implicitly selects the new version as the old one always has fixed size. As the new version is almost always preferable, it is recommended that {Wx::RESIZE_BORDER} style be always used. This is the case if the dialog is created with the default style value but if you need to use any additional styles you should still specify {Wx::DD_DEFAULT_STYLE} unless you explicitly need to use the old dialog version under Windows. E.g. do
@@ -91,7 +95,7 @@ module Wx
91
95
  # @param pos [Array(Integer, Integer), Wx::Point] Dialog position. Ignored under Windows.
92
96
  # @param size [Array(Integer, Integer), Wx::Size] Dialog size. Ignored under Windows.
93
97
  # @param name [String] The dialog name, not used.
94
- # @return [DirDialog]
98
+ # @return [Wx::DirDialog]
95
99
  def initialize(parent, message=Wx::DIR_SELECTOR_PROMPT_STR, defaultPath=(''), style=Wx::DD_DEFAULT_STYLE, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, name=Wx::DIR_DIALOG_NAME_STR) end
96
100
 
97
101
  # Returns the message that will be displayed on the dialog.
@@ -48,14 +48,14 @@ module Wx
48
48
  class DirFilterListCtrl < Choice
49
49
 
50
50
  # @overload initialize()
51
- # @return [DirFilterListCtrl]
51
+ # @return [Wx::DirFilterListCtrl]
52
52
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0)
53
53
  # @param parent [Wx::GenericDirCtrl]
54
54
  # @param id [Integer]
55
55
  # @param pos [Array(Integer, Integer), Wx::Point]
56
56
  # @param size [Array(Integer, Integer), Wx::Size]
57
57
  # @param style [Integer]
58
- # @return [DirFilterListCtrl]
58
+ # @return [Wx::DirFilterListCtrl]
59
59
  def initialize(*args) end
60
60
 
61
61
  # @param parent [Wx::GenericDirCtrl]
@@ -11,24 +11,29 @@ module Wx
11
11
  # === Styles
12
12
  #
13
13
  # This class supports the following styles:
14
- #
15
- # - {Wx::DIRP_DEFAULT_STYLE}: The default style: includes {Wx::DIRP_DIR_MUST_EXIST} and, under {Wx::MSW} only, {Wx::DIRP_USE_TEXTCTRL}.
14
+ #
15
+ # - {Wx::DIRP_DEFAULT_STYLE}: The default style: includes {Wx::DIRP_DIR_MUST_EXIST} and, under wxMSW only, {Wx::DIRP_USE_TEXTCTRL}.
16
+ #
16
17
  # - {Wx::DIRP_USE_TEXTCTRL}: Creates a text control to the left of the picker button which is completely managed by the {Wx::DirPickerCtrl} and which can be used by the user to specify a path (see SetPath). The text control is automatically synchronized with button's value. Use functions defined in {Wx::PickerBase} to modify the text control.
17
- # - {Wx::DIRP_DIR_MUST_EXIST}: Creates a picker which allows selecting only existing directories in the popup {Wx::DirDialog}. Notice that, as with {Wx::FLP_FILE_MUST_EXIST}, it is still possible to enter a non-existent directory even when this file is specified if {Wx::DIRP_USE_TEXTCTRL} style is also used. Also note that if {Wx::DIRP_USE_TEXTCTRL} is not used, the native {Wx::GTK} implementation always uses this style as it doesn't support selecting non-existent directories.
18
+ #
19
+ # - {Wx::DIRP_DIR_MUST_EXIST}: Creates a picker which allows selecting only existing directories in the popup {Wx::DirDialog}. Notice that, as with {Wx::FLP_FILE_MUST_EXIST}, it is still possible to enter a non-existent directory even when this file is specified if {Wx::DIRP_USE_TEXTCTRL} style is also used. Also note that if {Wx::DIRP_USE_TEXTCTRL} is not used, the native wxGTK implementation always uses this style as it doesn't support selecting non-existent directories.
20
+ #
18
21
  # - {Wx::DIRP_CHANGE_DIR}: Change current working directory on each user directory selection change.
22
+ #
19
23
  # - {Wx::DIRP_SMALL}: Use smaller version of the control with a small "..." button instead of the normal "Browse" one. This flag is new since wxWidgets 2.9.3.
20
24
  #
21
25
  # === Events emitted by this class
22
26
  #
23
27
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::FileDirPickerEvent} events.
24
28
  # Event handler methods for events emitted by this class:
29
+ #
25
30
  # - {Wx::EvtHandler#evt_dirpicker_changed}(id, meth = nil, &block): The user changed the directory selected in the control either using the button or using text control (see {Wx::DIRP_USE_TEXTCTRL}; note that in this case the event is fired only if the user's input is valid, e.g. an existing directory path).
26
31
  #
27
32
  # ===
28
33
  #
29
- # Category: Picker Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
30
- # </td><td> {Wx::GTK} Appearance
31
- # </td><td> {Wx::OSX} Appearance
34
+ # Category: Picker Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
35
+ # </td><td> wxGTK Appearance
36
+ # </td><td> wxOSX Appearance
32
37
  # </td></tr></table></div>
33
38
  # @see Wx::DirDialog
34
39
  # @see Wx::FileDirPickerEvent
@@ -37,7 +42,7 @@ module Wx
37
42
  class DirPickerCtrl < PickerBase
38
43
 
39
44
  # @overload initialize()
40
- # @return [DirPickerCtrl]
45
+ # @return [Wx::DirPickerCtrl]
41
46
  # @overload initialize(parent, id, path=(''), message=Wx::DIR_SELECTOR_PROMPT_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::DirPickerCtrlNameStr)
42
47
  # Initializes the object and calls {Wx::DirPickerCtrl#create} with all the parameters.
43
48
  # @param parent [Wx::Window]
@@ -49,7 +54,7 @@ module Wx
49
54
  # @param style [Integer]
50
55
  # @param validator [Wx::Validator]
51
56
  # @param name [String]
52
- # @return [DirPickerCtrl]
57
+ # @return [Wx::DirPickerCtrl]
53
58
  def initialize(*args) end
54
59
 
55
60
  # Creates the widgets with the given parameters.
@@ -91,7 +96,7 @@ module Wx
91
96
  alias_method :initial_directory=, :set_initial_directory
92
97
 
93
98
  # Sets the absolute path of the currently selected directory.
94
- # If the control uses {Wx::DIRP_DIR_MUST_EXIST} and does not use {Wx::DIRP_USE_TEXTCTRL} style, the dirname must be a name of an existing directory and will be simply ignored by the native {Wx::GTK} implementation if this is not the case.
99
+ # If the control uses {Wx::DIRP_DIR_MUST_EXIST} and does not use {Wx::DIRP_USE_TEXTCTRL} style, the dirname must be a name of an existing directory and will be simply ignored by the native wxGTK implementation if this is not the case.
95
100
  # @param dirname [String]
96
101
  # @return [void]
97
102
  def set_path(dirname) end
@@ -72,41 +72,41 @@ module Wx
72
72
  # @overload initialize(win=nil, iconCopy=Wx::NULL_CURSOR, iconMove=Wx::NULL_CURSOR, iconNone=Wx::NULL_CURSOR)
73
73
  # This constructor requires that you must call {Wx::DropSource#set_data} later.
74
74
  # Note that the type of iconCopy and subsequent parameters differs between different ports: these are cursors under Windows and OS X but icons for GTK. You should use the macro {drop_icon} in portable programs instead of directly using either of these types.
75
- # Availability: only available for the {Wx::MSW}, {Wx::OSX/Cocoa} ports. {Wx::msw},{Wx::osx}
75
+ # Availability: only available for the wxMSW, wxOSX/Cocoa ports. {Wx::msw},{Wx::osx}
76
76
  # @param win [Wx::Window] The window which initiates the drag and drop operation.
77
77
  # @param iconCopy [Wx::Cursor] The icon or cursor used for feedback for copy operation.
78
78
  # @param iconMove [Wx::Cursor] The icon or cursor used for feedback for move operation.
79
79
  # @param iconNone [Wx::Cursor] The icon or cursor used for feedback when operation can't be done.
80
- # @return [DropSource]
80
+ # @return [Wx::DropSource]
81
81
  # @overload initialize(data, win=nil, iconCopy=Wx::NULL_CURSOR, iconMove=Wx::NULL_CURSOR, iconNone=Wx::NULL_CURSOR)
82
82
  # The constructor taking a {Wx::DataObject}.
83
83
  # Note that the type of iconCopy and subsequent parameters differs between different ports: these are cursors under Windows and OS X but icons for GTK. You should use the macro {drop_icon} in portable programs instead of directly using either of these types.
84
- # Availability: only available for the {Wx::MSW}, {Wx::OSX/Cocoa} ports. {Wx::msw},{Wx::osx}
84
+ # Availability: only available for the wxMSW, wxOSX/Cocoa ports. {Wx::msw},{Wx::osx}
85
85
  # @param data [Wx::DataObject] The data associated with the drop source.
86
86
  # @param win [Wx::Window] The window which initiates the drag and drop operation.
87
87
  # @param iconCopy [Wx::Cursor] The icon or cursor used for feedback for copy operation.
88
88
  # @param iconMove [Wx::Cursor] The icon or cursor used for feedback for move operation.
89
89
  # @param iconNone [Wx::Cursor] The icon or cursor used for feedback when operation can't be done.
90
- # @return [DropSource]
90
+ # @return [Wx::DropSource]
91
91
  # @overload initialize(win=nil, iconCopy=Wx::NULL_ICON, iconMove=Wx::NULL_ICON, iconNone=Wx::NULL_ICON)
92
92
  # This constructor requires that you must call {Wx::DropSource#set_data} later.
93
- # This is the {Wx::GTK}-specific version of the constructor taking {Wx::Icon} instead of {Wx::Cursor} as the other ports.
94
- # Availability: only available for the {Wx::GTK} port. {Wx::gtk}
93
+ # This is the wxGTK-specific version of the constructor taking {Wx::Icon} instead of {Wx::Cursor} as the other ports.
94
+ # Availability: only available for the wxGTK port. {Wx::gtk}
95
95
  # @param win [Wx::Window] The window which initiates the drag and drop operation.
96
96
  # @param iconCopy [Wx::Icon] The icon or cursor used for feedback for copy operation.
97
97
  # @param iconMove [Wx::Icon] The icon or cursor used for feedback for move operation.
98
98
  # @param iconNone [Wx::Icon] The icon or cursor used for feedback when operation can't be done.
99
- # @return [DropSource]
99
+ # @return [Wx::DropSource]
100
100
  # @overload initialize(data, win=nil, iconCopy=Wx::NULL_ICON, iconMove=Wx::NULL_ICON, iconNone=Wx::NULL_ICON)
101
101
  # The constructor taking a {Wx::DataObject}.
102
- # This is the {Wx::GTK}-specific version of the constructor taking {Wx::Icon} instead of {Wx::Cursor} as the other ports.
103
- # Availability: only available for the {Wx::GTK} port. {Wx::gtk}
102
+ # This is the wxGTK-specific version of the constructor taking {Wx::Icon} instead of {Wx::Cursor} as the other ports.
103
+ # Availability: only available for the wxGTK port. {Wx::gtk}
104
104
  # @param data [Wx::DataObject] The data associated with the drop source.
105
105
  # @param win [Wx::Window] The window which initiates the drag and drop operation.
106
106
  # @param iconCopy [Wx::Icon] The icon or cursor used for feedback for copy operation.
107
107
  # @param iconMove [Wx::Icon] The icon or cursor used for feedback for move operation.
108
108
  # @param iconNone [Wx::Icon] The icon or cursor used for feedback when operation can't be done.
109
- # @return [DropSource]
109
+ # @return [Wx::DropSource]
110
110
  def initialize(*args) end
111
111
 
112
112
  # Starts the drag-and-drop operation which will terminate when the user releases the mouse.
@@ -131,14 +131,14 @@ module Wx
131
131
  def give_feedback(effect) end
132
132
 
133
133
  # Set the icon to use for a certain drag result.
134
- # Availability: only available for the {Wx::MSW}, {Wx::OSX/Cocoa} ports. {Wx::msw},{Wx::osx}
134
+ # Availability: only available for the wxMSW, wxOSX/Cocoa ports. {Wx::msw},{Wx::osx}
135
135
  # @param res [DragResult] The drag result to set the icon for.
136
136
  # @param cursor [Wx::Cursor] The icon to show when this drag result occurs.
137
137
  # @return [void]
138
138
  def set_cursor(res, cursor) end
139
139
 
140
140
  # Set the icon to use for a certain drag result.
141
- # Availability: only available for the {Wx::GTK} port. {Wx::gtk}
141
+ # Availability: only available for the wxGTK port. {Wx::gtk}
142
142
  # @param res [DragResult] The drag result to set the icon for.
143
143
  # @param icon [Wx::Icon] The icon to show when this drag result occurs.
144
144
  # @return [void]
@@ -173,7 +173,7 @@ module Wx
173
173
  # Constructor.
174
174
  # data is the data to be associated with the drop target.
175
175
  # @param data [Wx::DataObject]
176
- # @return [DropTarget]
176
+ # @return [Wx::DropTarget]
177
177
  def initialize(data=nil) end
178
178
 
179
179
  # This method may only be called from within {Wx::DropTarget#on_data}.
@@ -261,7 +261,7 @@ module Wx
261
261
  class FileDropTarget < DropTarget
262
262
 
263
263
  # Constructor.
264
- # @return [FileDropTarget]
264
+ # @return [Wx::FileDropTarget]
265
265
  def initialize; end
266
266
 
267
267
  # Override this function to receive dropped files.
@@ -287,7 +287,7 @@ module Wx
287
287
  class TextDropTarget < DropTarget
288
288
 
289
289
  # Constructor.
290
- # @return [TextDropTarget]
290
+ # @return [Wx::TextDropTarget]
291
291
  def initialize; end
292
292
 
293
293
  # Override this function to receive dropped text.
@@ -21,32 +21,32 @@ module Wx
21
21
 
22
22
  # @overload initialize()
23
23
  # Default constructor.
24
- # @return [DragImage]
24
+ # @return [Wx::DragImage]
25
25
  # @overload initialize(image, cursor=Wx::NULL_CURSOR)
26
26
  # Constructs a drag image from a bitmap and optional cursor.
27
27
  # @param image [Wx::Bitmap] Bitmap to be used as the drag image. The bitmap can have a mask.
28
28
  # @param cursor [Wx::Cursor] Optional cursor to combine with the image.
29
- # @return [DragImage]
29
+ # @return [Wx::DragImage]
30
30
  # @overload initialize(image, cursor=Wx::NULL_CURSOR)
31
31
  # Constructs a drag image from an icon and optional cursor.
32
32
  # @param image [Wx::Icon] Icon to be used as the drag image.
33
33
  # @param cursor [Wx::Cursor] Optional cursor to combine with the image.
34
- # @return [DragImage]
34
+ # @return [Wx::DragImage]
35
35
  # @overload initialize(text, cursor=Wx::NULL_CURSOR)
36
36
  # Constructs a drag image from a text string and optional cursor.
37
37
  # @param text [String] Text used to construct a drag image.
38
38
  # @param cursor [Wx::Cursor] Optional cursor to combine with the image.
39
- # @return [DragImage]
39
+ # @return [Wx::DragImage]
40
40
  # @overload initialize(treeCtrl, id)
41
41
  # Constructs a drag image from the text in the given tree control item, and optional cursor.
42
42
  # @param treeCtrl [Wx::TreeCtrl] Tree control for constructing a tree drag image.
43
43
  # @param id [Wx::TreeItemId] Tree control item id.
44
- # @return [DragImage]
44
+ # @return [Wx::DragImage]
45
45
  # @overload initialize(listCtrl, id)
46
46
  # Constructs a drag image from the text in the given list control item, and optional cursor.
47
47
  # @param listCtrl [Wx::ListCtrl] List control for constructing a list drag image.
48
48
  # @param id [Integer] List control item id.
49
- # @return [DragImage]
49
+ # @return [Wx::DragImage]
50
50
  def initialize(*args) end
51
51
 
52
52
  # @overload begin_drag(hotspot, window, fullScreen=false, rect=nil)
@@ -25,11 +25,15 @@ module Wx
25
25
  # === Styles
26
26
  #
27
27
  # This class supports the following styles:
28
- #
28
+ #
29
29
  # - {Wx::EL_ALLOW_NEW}: Allows the user to enter new strings.
30
+ #
30
31
  # - {Wx::EL_ALLOW_EDIT}: Allows the user to edit existing strings.
32
+ #
31
33
  # - {Wx::EL_ALLOW_DELETE}: Allows the user to delete existing strings.
34
+ #
32
35
  # - {Wx::EL_NO_REORDER}: Does not allow the user to reorder the strings.
36
+ #
33
37
  # - {Wx::EL_DEFAULT_STYLE}: Default style: {Wx::EL_ALLOW_NEW}|{Wx::EL_ALLOW_EDIT}|{Wx::EL_ALLOW_DELETE}.
34
38
  #
35
39
  # The control uses a {Wx::ListCtrl} internally and emit its events.
@@ -44,7 +48,7 @@ module Wx
44
48
 
45
49
  # @overload initialize()
46
50
  # Default ctor.
47
- # @return [EditableListBox]
51
+ # @return [Wx::EditableListBox]
48
52
  # @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::EL_DEFAULT_STYLE, name=Wx::EditableListBoxNameStr)
49
53
  # Constructor, creating and showing a list box.
50
54
  #
@@ -56,7 +60,7 @@ module Wx
56
60
  # @param size [Array(Integer, Integer), Wx::Size] Window size. If {Wx::DEFAULT_SIZE} is specified then the window is sized appropriately.
57
61
  # @param style [Integer] Window style. See {Wx::EditableListBox}.
58
62
  # @param name [String] Window name.
59
- # @return [EditableListBox]
63
+ # @return [Wx::EditableListBox]
60
64
  def initialize(*args) end
61
65
 
62
66
  # Creates the editable listbox for two-step construction.
@@ -684,7 +684,7 @@ module Wx
684
684
 
685
685
  # Generates a new unique event type.
686
686
  # Usually this function is only used by {define_event} and not called directly.
687
- # @return [Integer]
687
+ # @return [Wx::AUI::AuiMDIChildFrame::EventType]
688
688
  def self.new_event_type; end
689
689
 
690
690
  # In a GUI application, this function posts event to the specified dest object using {Wx::EvtHandler#add_pending_event}.
@@ -713,7 +713,7 @@ module Wx
713
713
  alias_method :event_object, :get_event_object
714
714
 
715
715
  # Returns the identifier of the given event type, such as {Wx::EVT_BUTTON}.
716
- # @return [Integer]
716
+ # @return [Wx::AUI::AuiMDIChildFrame::EventType]
717
717
  def get_event_type; end
718
718
  alias_method :event_type, :get_event_type
719
719
 
@@ -759,7 +759,7 @@ module Wx
759
759
  alias_method :event_object=, :set_event_object
760
760
 
761
761
  # Sets the event type.
762
- # @param type [Integer]
762
+ # @param type [Wx::AUI::AuiMDIChildFrame::EventType]
763
763
  # @return [void]
764
764
  def set_event_type(type) end
765
765
  alias_method :event_type=, :set_event_type
@@ -801,36 +801,67 @@ module Wx
801
801
  #
802
802
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
803
803
  # Event handler methods:
804
+ #
804
805
  # - {Wx::EvtHandler#evt_command}(id, event, meth = nil, &block): Process a command, supplying the window identifier, command event identifier, and member function.
806
+ #
805
807
  # - {Wx::EvtHandler#evt_command_range}(id1, id2, event, meth = nil, &block): Process a command for a range of window identifiers, supplying the minimum and maximum window identifiers, command event identifier, and member function.
808
+ #
806
809
  # - {Wx::EvtHandler#evt_button}(id, meth = nil, &block): Process a {Wx::EVT_BUTTON} command, which is generated by a {Wx::Button} control.
810
+ #
807
811
  # - {Wx::EvtHandler#evt_checkbox}(id, meth = nil, &block): Process a {Wx::EVT_CHECKBOX} command, which is generated by a {Wx::CheckBox} control.
812
+ #
808
813
  # - {Wx::EvtHandler#evt_choice}(id, meth = nil, &block): Process a {Wx::EVT_CHOICE} command, which is generated by a {Wx::Choice} control.
814
+ #
809
815
  # - {Wx::EvtHandler#evt_combobox}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX} command, which is generated by a {Wx::ComboBox} control.
816
+ #
810
817
  # - {Wx::EvtHandler#evt_listbox}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX} command, which is generated by a {Wx::ListBox} control.
818
+ #
811
819
  # - {Wx::EvtHandler#evt_listbox_dclick}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX_DCLICK} command, which is generated by a {Wx::ListBox} control.
820
+ #
812
821
  # - {Wx::EvtHandler#evt_checklistbox}(id, meth = nil, &block): Process a {Wx::EVT_CHECKLISTBOX} command, which is generated by a {Wx::CheckListBox} control.
822
+ #
813
823
  # - {Wx::EvtHandler#evt_menu}(id, meth = nil, &block): Process a {Wx::EVT_MENU} command, which is generated by a menu item.
824
+ #
814
825
  # - {Wx::EvtHandler#evt_menu_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_MENU} command, which is generated by a range of menu items.
826
+ #
815
827
  # - {Wx::EvtHandler#evt_context_menu}(meth = nil, &block): Process the event generated when the user has requested a popup menu to appear by pressing a special keyboard key (under Windows) or by right clicking the mouse.
828
+ #
816
829
  # - {Wx::EvtHandler#evt_radiobox}(id, meth = nil, &block): Process a {Wx::EVT_RADIOBOX} command, which is generated by a {Wx::RadioBox} control.
830
+ #
817
831
  # - {Wx::EvtHandler#evt_radiobutton}(id, meth = nil, &block): Process a {Wx::EVT_RADIOBUTTON} command, which is generated by a {Wx::RadioButton} control.
832
+ #
818
833
  # - {Wx::EvtHandler#evt_scrollbar}(id, meth = nil, &block): Process a {Wx::EVT_SCROLLBAR} command, which is generated by a {Wx::ScrollBar} control. This is provided for compatibility only; more specific scrollbar event macros should be used instead (see {Wx::ScrollEvent}).
834
+ #
819
835
  # - {Wx::EvtHandler#evt_slider}(id, meth = nil, &block): Process a {Wx::EVT_SLIDER} command, which is generated by a {Wx::Slider} control.
836
+ #
820
837
  # - {Wx::EvtHandler#evt_text}(id, meth = nil, &block): Process a {Wx::EVT_TEXT} command, which is generated by a {Wx::TextCtrl} control.
838
+ #
821
839
  # - {Wx::EvtHandler#evt_text_enter}(id, meth = nil, &block): Process a {Wx::EVT_TEXT_ENTER} command, which is generated by a {Wx::TextCtrl} control. Note that you must use {Wx::TE_PROCESS_ENTER} flag when creating the control if you want it to generate such events.
840
+ #
822
841
  # - {Wx::EvtHandler#evt_text_maxlen}(id, meth = nil, &block): Process a {Wx::EVT_TEXT_MAXLEN} command, which is generated by a {Wx::TextCtrl} control when the user tries to enter more characters into it than the limit previously set with SetMaxLength().
842
+ #
823
843
  # - {Wx::EvtHandler#evt_togglebutton}(id, meth = nil, &block): Process a {Wx::EVT_TOGGLEBUTTON} event.
844
+ #
824
845
  # - {Wx::EvtHandler#evt_tool}(id, meth = nil, &block): Process a {Wx::EVT_TOOL} event (a synonym for {Wx::EVT_MENU}). Pass the id of the tool.
846
+ #
825
847
  # - {Wx::EvtHandler#evt_tool_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_TOOL} event for a range of identifiers. Pass the ids of the tools.
826
- # - {Wx::EvtHandler#evt_tool_rclicked}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event. Pass the id of the tool. (Not available on {Wx::OSX}.)
827
- # - {Wx::EvtHandler#evt_tool_rclicked_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event for a range of ids. Pass the ids of the tools. (Not available on {Wx::OSX}.)
828
- # - {Wx::EvtHandler#evt_tool_enter}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_ENTER} event. Pass the id of the toolbar itself. The value of {Wx::CommandEvent#get_selection} is the tool id, or -1 if the mouse cursor has moved off a tool. (Not available on {Wx::OSX}.)
829
- # - {Wx::EvtHandler#evt_command_left_click}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_LEFT_CLICK} command, which is generated by a control ({Wx::MSW} only).
830
- # - {Wx::EvtHandler#evt_command_left_dclick}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_LEFT_DCLICK} command, which is generated by a control ({Wx::MSW} only).
831
- # - {Wx::EvtHandler#evt_command_right_click}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_RIGHT_CLICK} command, which is generated by a control ({Wx::MSW} only).
832
- # - {Wx::EvtHandler#evt_command_set_focus}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_SET_FOCUS} command, which is generated by a control ({Wx::MSW} only).
833
- # - {Wx::EvtHandler#evt_command_kill_focus}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_KILL_FOCUS} command, which is generated by a control ({Wx::MSW} only).
848
+ #
849
+ # - {Wx::EvtHandler#evt_tool_rclicked}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event. Pass the id of the tool. (Not available on wxOSX.)
850
+ #
851
+ # - {Wx::EvtHandler#evt_tool_rclicked_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event for a range of ids. Pass the ids of the tools. (Not available on wxOSX.)
852
+ #
853
+ # - {Wx::EvtHandler#evt_tool_enter}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_ENTER} event. Pass the id of the toolbar itself. The value of {Wx::CommandEvent#get_selection} is the tool id, or -1 if the mouse cursor has moved off a tool. (Not available on wxOSX.)
854
+ #
855
+ # - {Wx::EvtHandler#evt_command_left_click}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_LEFT_CLICK} command, which is generated by a control (wxMSW only).
856
+ #
857
+ # - {Wx::EvtHandler#evt_command_left_dclick}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_LEFT_DCLICK} command, which is generated by a control (wxMSW only).
858
+ #
859
+ # - {Wx::EvtHandler#evt_command_right_click}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_RIGHT_CLICK} command, which is generated by a control (wxMSW only).
860
+ #
861
+ # - {Wx::EvtHandler#evt_command_set_focus}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_SET_FOCUS} command, which is generated by a control (wxMSW only).
862
+ #
863
+ # - {Wx::EvtHandler#evt_command_kill_focus}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_KILL_FOCUS} command, which is generated by a control (wxMSW only).
864
+ #
834
865
  # - {Wx::EvtHandler#evt_command_enter}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_ENTER} command, which is generated by a control.
835
866
  #
836
867
  # ===
@@ -840,9 +871,9 @@ module Wx
840
871
  class CommandEvent < Event
841
872
 
842
873
  # Constructor.
843
- # @param commandEventType [Integer]
874
+ # @param commandEventType [Wx::AUI::AuiMDIChildFrame::EventType]
844
875
  # @param id [Integer]
845
- # @return [CommandEvent]
876
+ # @return [Wx::CommandEvent]
846
877
  def initialize(commandEventType=Wx::EVT_NULL, id=0) end
847
878
 
848
879
  # Returns client data pointer for a listbox or choice selection event (not valid for a deselection).
@@ -41,7 +41,7 @@ module Wx
41
41
  class EventBlocker < EvtHandler
42
42
 
43
43
  # Adds to the list of event types which should be blocked the given eventType.
44
- # @param eventType [Integer]
44
+ # @param eventType [Wx::AUI::AuiMDIChildFrame::EventType]
45
45
  # @return [void]
46
46
  def block(eventType) end
47
47
 
@@ -71,13 +71,16 @@ module Wx
71
71
  # Default constructor.
72
72
  # Constructor does not register this filter using {Wx::EvtHandler.add_filter}, it's your responsibility to do it when necessary.
73
73
  # Notice that the objects of this class can't be copied.
74
- # @return [EventFilter]
74
+ # @return [Wx::EventFilter]
75
75
  def initialize; end
76
76
 
77
77
  # Override this method to implement event pre-processing.
78
78
  # This method allows filtering all the events processed by the program, so you should try to return quickly from it to avoid slowing down the program to a crawl.
79
79
  # Although the return type of this method is int, this is only due to backwards compatibility concerns and the actual return value must be one of the Event_XXX constants defined above:
80
- # - Event_Skip to continue processing the event normally (this should be used in most cases).- Event_Ignore to not process this event at all (this can be used to suppress some events).- Event_Processed to not process this event normally but indicate that it was already processed by the event filter and so no default processing should take place either (this should only be used if the filter really did process the event).
80
+ #
81
+ # - Event_Skip to continue processing the event normally (this should be used in most cases).
82
+ # - Event_Ignore to not process this event at all (this can be used to suppress some events).
83
+ # - Event_Processed to not process this event normally but indicate that it was already processed by the event filter and so no default processing should take place either (this should only be used if the filter really did process the event).
81
84
  # @param event [Wx::Event]
82
85
  # @return [Integer]
83
86
  def filter_event(event) end