wxruby3 0.9.0.pre.rc.1-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 (383) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +73 -22
  3. data/README.md +40 -8
  4. data/assets/hello_button-macos.png +0 -0
  5. data/assets/hello_button-msw.png +0 -0
  6. data/assets/hello_button_clicked-macos.png +0 -0
  7. data/assets/hello_button_clicked-msw.png +0 -0
  8. data/assets/hello_button_clicked_combi.png +0 -0
  9. data/assets/hello_world-macos.png +0 -0
  10. data/assets/hello_world-msw.png +0 -0
  11. data/assets/hello_world_combi.png +0 -0
  12. data/ext/wxbase32u_gcc_custom.dll +0 -0
  13. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  14. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  20. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  21. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  22. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  23. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  24. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  25. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  26. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  27. data/lib/wx/core/brush.rb +6 -0
  28. data/lib/wx/core/event_loop.rb +7 -0
  29. data/lib/wx/core/events/evt_list.rb +7 -0
  30. data/lib/wx/core/evthandler.rb +12 -2
  31. data/lib/wx/core/font.rb +22 -14
  32. data/lib/wx/core/helpprovider.rb +2 -2
  33. data/lib/wx/core/image.rb +33 -0
  34. data/lib/wx/core/listctrl.rb +17 -13
  35. data/lib/wx/core/log.rb +90 -0
  36. data/lib/wx/core/menu.rb +5 -0
  37. data/lib/wx/core/pen.rb +6 -0
  38. data/lib/wx/core/window.rb +28 -1
  39. data/lib/wx/doc/app.rb +40 -0
  40. data/lib/wx/doc/bitmap.rb +11 -15
  41. data/lib/wx/doc/brush.rb +17 -0
  42. data/lib/wx/doc/event_loop.rb +7 -0
  43. data/lib/wx/doc/extra/00_starting.md +6 -6
  44. data/lib/wx/doc/extra/02_lifecycles.md +9 -8
  45. data/lib/wx/doc/extra/09_exceptions.md +1 -1
  46. data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
  47. data/lib/wx/doc/font.rb +27 -0
  48. data/lib/wx/doc/functions.rb +51 -23
  49. data/lib/wx/doc/gc_dc.rb +1 -1
  50. data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
  51. data/lib/wx/doc/gen/accelerator.rb +6 -6
  52. data/lib/wx/doc/gen/accessible.rb +6 -2
  53. data/lib/wx/doc/gen/activity_indicator.rb +65 -0
  54. data/lib/wx/doc/gen/animation.rb +7 -7
  55. data/lib/wx/doc/gen/animation_ctrl.rb +7 -6
  56. data/lib/wx/doc/gen/any_button.rb +1 -1
  57. data/lib/wx/doc/gen/app.rb +17 -11
  58. data/lib/wx/doc/gen/art_provider.rb +61 -1
  59. data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
  60. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
  61. data/lib/wx/doc/gen/aui/aui_manager.rb +45 -27
  62. data/lib/wx/doc/gen/aui/aui_manager_event.rb +12 -6
  63. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +6 -6
  64. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +6 -6
  65. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +10 -10
  66. data/lib/wx/doc/gen/aui/aui_notebook.rb +34 -7
  67. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
  68. data/lib/wx/doc/gen/aui/aui_pane_info.rb +51 -51
  69. data/lib/wx/doc/gen/aui/aui_tab_art.rb +6 -6
  70. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +35 -20
  71. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +16 -16
  72. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +4 -4
  73. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +4 -4
  74. data/lib/wx/doc/gen/bitmap.rb +32 -26
  75. data/lib/wx/doc/gen/bitmap_button.rb +10 -6
  76. data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -7
  77. data/lib/wx/doc/gen/book_ctrl_base.rb +7 -3
  78. data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
  79. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  80. data/lib/wx/doc/gen/brush.rb +16 -4
  81. data/lib/wx/doc/gen/busy_info.rb +1 -1
  82. data/lib/wx/doc/gen/button.rb +19 -7
  83. data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
  84. data/lib/wx/doc/gen/calendar_ctrl.rb +28 -16
  85. data/lib/wx/doc/gen/calendar_date_attr.rb +2 -2
  86. data/lib/wx/doc/gen/calendar_event.rb +3 -3
  87. data/lib/wx/doc/gen/caret.rb +2 -2
  88. data/lib/wx/doc/gen/check_box.rb +10 -6
  89. data/lib/wx/doc/gen/check_list_box.rb +8 -7
  90. data/lib/wx/doc/gen/choice.rb +7 -6
  91. data/lib/wx/doc/gen/choicebook.rb +12 -6
  92. data/lib/wx/doc/gen/client_dc.rb +1 -1
  93. data/lib/wx/doc/gen/clipboard.rb +1 -1
  94. data/lib/wx/doc/gen/collapsible_pane.rb +9 -6
  95. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -1
  96. data/lib/wx/doc/gen/colour.rb +16 -6
  97. data/lib/wx/doc/gen/colour_dialog.rb +6 -6
  98. data/lib/wx/doc/gen/colour_picker_ctrl.rb +15 -9
  99. data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
  100. data/lib/wx/doc/gen/combo_box.rb +22 -13
  101. data/lib/wx/doc/gen/context_help_button.rb +50 -1
  102. data/lib/wx/doc/gen/control.rb +9 -6
  103. data/lib/wx/doc/gen/core.rb +5 -2
  104. data/lib/wx/doc/gen/cursor.rb +16 -11
  105. data/lib/wx/doc/gen/data_format.rb +2 -2
  106. data/lib/wx/doc/gen/data_object.rb +23 -16
  107. data/lib/wx/doc/gen/date_event.rb +3 -3
  108. data/lib/wx/doc/gen/date_picker_ctrl.rb +11 -6
  109. data/lib/wx/doc/gen/dc.rb +37 -12
  110. data/lib/wx/doc/gen/defs.rb +16 -16
  111. data/lib/wx/doc/gen/dialog.rb +19 -5
  112. data/lib/wx/doc/gen/dir_dialog.rb +6 -2
  113. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
  114. data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -9
  115. data/lib/wx/doc/gen/drag_drop.rb +15 -15
  116. data/lib/wx/doc/gen/drag_image.rb +6 -6
  117. data/lib/wx/doc/gen/editable_list_box.rb +7 -3
  118. data/lib/wx/doc/gen/event.rb +44 -13
  119. data/lib/wx/doc/gen/event_blocker.rb +19 -17
  120. data/lib/wx/doc/gen/event_filter.rb +43 -47
  121. data/lib/wx/doc/gen/event_list.rb +22 -15
  122. data/lib/wx/doc/gen/events.rb +215 -79
  123. data/lib/wx/doc/gen/evt_handler.rb +1 -1
  124. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  125. data/lib/wx/doc/gen/file_dialog.rb +64 -56
  126. data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
  127. data/lib/wx/doc/gen/file_picker_ctrl.rb +16 -8
  128. data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
  129. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  130. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  131. data/lib/wx/doc/gen/flex_grid_sizer.rb +12 -6
  132. data/lib/wx/doc/gen/font.rb +39 -29
  133. data/lib/wx/doc/gen/font_data.rb +9 -5
  134. data/lib/wx/doc/gen/font_dialog.rb +3 -3
  135. data/lib/wx/doc/gen/font_picker_ctrl.rb +10 -6
  136. data/lib/wx/doc/gen/font_picker_event.rb +2 -1
  137. data/lib/wx/doc/gen/frame.rb +34 -11
  138. data/lib/wx/doc/gen/fs_file.rb +4 -17
  139. data/lib/wx/doc/gen/gauge.rb +11 -7
  140. data/lib/wx/doc/gen/gcdc.rb +5 -1
  141. data/lib/wx/doc/gen/gdi_common.rb +35 -33
  142. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  143. data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
  144. data/lib/wx/doc/gen/graphics_context.rb +29 -28
  145. data/lib/wx/doc/gen/graphics_object.rb +1 -1
  146. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -2
  147. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +10 -10
  148. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
  149. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  150. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
  151. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
  152. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -2
  153. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  154. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  155. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  156. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +13 -10
  157. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  158. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  159. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
  160. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
  161. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -1
  162. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
  163. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +12 -12
  164. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
  165. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
  166. data/lib/wx/doc/gen/grid/grid_ctrl.rb +32 -18
  167. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
  168. data/lib/wx/doc/gen/grid/grid_event.rb +20 -3
  169. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +7 -3
  170. data/lib/wx/doc/gen/grid/grid_size_event.rb +9 -3
  171. data/lib/wx/doc/gen/grid/grid_string_table.rb +2 -2
  172. data/lib/wx/doc/gen/grid/grid_table_base.rb +7 -7
  173. data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
  174. data/lib/wx/doc/gen/grid_bag_sizer.rb +5 -5
  175. data/lib/wx/doc/gen/grid_sizer.rb +4 -4
  176. data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
  177. data/lib/wx/doc/gen/help_controller.rb +18 -12
  178. data/lib/wx/doc/gen/html/html_cell.rb +36 -18
  179. data/lib/wx/doc/gen/html/html_cell_event.rb +5 -3
  180. data/lib/wx/doc/gen/html/html_easy_printing.rb +9 -4
  181. data/lib/wx/doc/gen/html/html_help_controller.rb +34 -8
  182. data/lib/wx/doc/gen/html/html_help_data.rb +3 -3
  183. data/lib/wx/doc/gen/html/html_help_frame.rb +6 -6
  184. data/lib/wx/doc/gen/html/html_help_window.rb +12 -8
  185. data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
  186. data/lib/wx/doc/gen/html/html_list_box.rb +15 -7
  187. data/lib/wx/doc/gen/html/html_printout.rb +15 -5
  188. data/lib/wx/doc/gen/html/html_window.rb +19 -8
  189. data/lib/wx/doc/gen/hyperlink_ctrl.rb +152 -0
  190. data/lib/wx/doc/gen/hyperlink_event.rb +44 -0
  191. data/lib/wx/doc/gen/icon.rb +14 -14
  192. data/lib/wx/doc/gen/image.rb +119 -64
  193. data/lib/wx/doc/gen/image_list.rb +10 -6
  194. data/lib/wx/doc/gen/keyboard_state.rb +7 -7
  195. data/lib/wx/doc/gen/list_box.rb +30 -21
  196. data/lib/wx/doc/gen/list_ctrl.rb +169 -78
  197. data/lib/wx/doc/gen/list_event.rb +24 -2
  198. data/lib/wx/doc/gen/listbook.rb +12 -6
  199. data/lib/wx/doc/gen/locale.rb +11 -36
  200. data/lib/wx/doc/gen/log.rb +122 -45
  201. data/lib/wx/doc/gen/mdi_client_window.rb +2 -2
  202. data/lib/wx/doc/gen/mdi_frame.rb +15 -9
  203. data/lib/wx/doc/gen/media_ctrl.rb +7 -4
  204. data/lib/wx/doc/gen/media_event.rb +8 -2
  205. data/lib/wx/doc/gen/memory_dc.rb +23 -27
  206. data/lib/wx/doc/gen/menu.rb +9 -9
  207. data/lib/wx/doc/gen/menu_bar.rb +4 -10
  208. data/lib/wx/doc/gen/menu_item.rb +115 -34
  209. data/lib/wx/doc/gen/message_dialog.rb +48 -30
  210. data/lib/wx/doc/gen/mini_frame.rb +12 -3
  211. data/lib/wx/doc/gen/mouse_state.rb +1 -1
  212. data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
  213. data/lib/wx/doc/gen/non_owned_window.rb +6 -7
  214. data/lib/wx/doc/gen/notebook.rb +20 -15
  215. data/lib/wx/doc/gen/number_entry_dialog.rb +2 -2
  216. data/lib/wx/doc/gen/object.rb +2 -2
  217. data/lib/wx/doc/gen/palette.rb +3 -3
  218. data/lib/wx/doc/gen/panel.rb +4 -3
  219. data/lib/wx/doc/gen/pen.rb +25 -12
  220. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +1 -1
  221. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +3 -3
  222. data/lib/wx/doc/gen/pg/pg_cell.rb +12 -12
  223. data/lib/wx/doc/gen/pg/pg_editor.rb +76 -74
  224. data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -3
  225. data/lib/wx/doc/gen/pg/pg_properties.rb +221 -138
  226. data/lib/wx/doc/gen/pg/pg_property.rb +103 -54
  227. data/lib/wx/doc/gen/pg/pg_validation_info.rb +1 -1
  228. data/lib/wx/doc/gen/pg/property_grid.rb +19 -19
  229. data/lib/wx/doc/gen/pg/property_grid_event.rb +18 -5
  230. data/lib/wx/doc/gen/pg/property_grid_interface.rb +36 -24
  231. data/lib/wx/doc/gen/pg/property_grid_manager.rb +12 -12
  232. data/lib/wx/doc/gen/pg/property_grid_page.rb +12 -11
  233. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +8 -8
  234. data/lib/wx/doc/gen/picker_base.rb +12 -11
  235. data/lib/wx/doc/gen/platform_info.rb +7 -7
  236. data/lib/wx/doc/gen/popup_window.rb +6 -6
  237. data/lib/wx/doc/gen/progress_dialog.rb +1 -1
  238. data/lib/wx/doc/gen/property_sheet_dialog.rb +19 -17
  239. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
  240. data/lib/wx/doc/gen/prt/preview_frame.rb +4 -1
  241. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  242. data/lib/wx/doc/gen/prt/print_data.rb +24 -18
  243. data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
  244. data/lib/wx/doc/gen/prt/printer.rb +22 -22
  245. data/lib/wx/doc/gen/query_layout_info_event.rb +2 -1
  246. data/lib/wx/doc/gen/radio_box.rb +12 -18
  247. data/lib/wx/doc/gen/radio_button.rb +8 -6
  248. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +39 -39
  249. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +25 -7
  250. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
  251. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +9 -2
  252. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +5 -5
  253. data/lib/wx/doc/gen/rbn/ribbon_control.rb +4 -4
  254. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +6 -2
  255. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
  256. data/lib/wx/doc/gen/rbn/ribbon_page.rb +5 -5
  257. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -6
  258. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
  259. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +4 -2
  260. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +5 -5
  261. data/lib/wx/doc/gen/region.rb +9 -8
  262. data/lib/wx/doc/gen/region_iterator.rb +2 -2
  263. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +92 -92
  264. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +56 -34
  265. data/lib/wx/doc/gen/rtc/rich_text_event.rb +23 -4
  266. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +6 -6
  267. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +9 -5
  268. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -2
  269. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +12 -12
  270. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
  271. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
  272. data/lib/wx/doc/gen/sash_event.rb +3 -1
  273. data/lib/wx/doc/gen/sash_layout_window.rb +5 -3
  274. data/lib/wx/doc/gen/sash_window.rb +8 -3
  275. data/lib/wx/doc/gen/scroll_bar.rb +29 -8
  276. data/lib/wx/doc/gen/scrolled_canvas.rb +41 -23
  277. data/lib/wx/doc/gen/scrolled_control.rb +41 -23
  278. data/lib/wx/doc/gen/scrolled_window.rb +41 -23
  279. data/lib/wx/doc/gen/search_ctrl.rb +15 -8
  280. data/lib/wx/doc/gen/simplebook.rb +2 -2
  281. data/lib/wx/doc/gen/single_choice_dialog.rb +4 -2
  282. data/lib/wx/doc/gen/sizer.rb +29 -28
  283. data/lib/wx/doc/gen/slider.rb +49 -16
  284. data/lib/wx/doc/gen/spin_button.rb +15 -9
  285. data/lib/wx/doc/gen/spin_ctrl.rb +12 -6
  286. data/lib/wx/doc/gen/spin_event.rb +5 -2
  287. data/lib/wx/doc/gen/splash_screen.rb +16 -12
  288. data/lib/wx/doc/gen/splitter_event.rb +6 -2
  289. data/lib/wx/doc/gen/splitter_window.rb +20 -4
  290. data/lib/wx/doc/gen/static_bitmap.rb +5 -5
  291. data/lib/wx/doc/gen/static_box.rb +36 -32
  292. data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
  293. data/lib/wx/doc/gen/static_line.rb +5 -4
  294. data/lib/wx/doc/gen/static_text.rb +12 -6
  295. data/lib/wx/doc/gen/status_bar.rb +14 -5
  296. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +55 -7
  297. data/lib/wx/doc/gen/stc/styled_text_event.rb +224 -49
  298. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
  299. data/lib/wx/doc/gen/svg_file_dc.rb +3 -3
  300. data/lib/wx/doc/gen/system_options.rb +11 -1
  301. data/lib/wx/doc/gen/system_settings.rb +3 -3
  302. data/lib/wx/doc/gen/task_bar_icon.rb +10 -2
  303. data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
  304. data/lib/wx/doc/gen/text_attr.rb +11 -7
  305. data/lib/wx/doc/gen/text_ctrl.rb +61 -92
  306. data/lib/wx/doc/gen/text_entry.rb +28 -40
  307. data/lib/wx/doc/gen/text_entry_dialog.rb +19 -19
  308. data/lib/wx/doc/gen/text_validator.rb +0 -11
  309. data/lib/wx/doc/gen/time_picker_ctrl.rb +6 -5
  310. data/lib/wx/doc/gen/timer.rb +8 -4
  311. data/lib/wx/doc/gen/timer_event.rb +19 -26
  312. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  313. data/lib/wx/doc/gen/toggle_button.rb +6 -5
  314. data/lib/wx/doc/gen/tool_bar.rb +41 -24
  315. data/lib/wx/doc/gen/tool_tip.rb +2 -2
  316. data/lib/wx/doc/gen/toolbook.rb +6 -3
  317. data/lib/wx/doc/gen/top_level_window.rb +35 -25
  318. data/lib/wx/doc/gen/tree_ctrl.rb +63 -13
  319. data/lib/wx/doc/gen/tree_event.rb +23 -2
  320. data/lib/wx/doc/gen/treebook.rb +6 -2
  321. data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
  322. data/lib/wx/doc/gen/utils.rb +9 -3
  323. data/lib/wx/doc/gen/v_list_box.rb +2 -2
  324. data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
  325. data/lib/wx/doc/gen/validator.rb +7 -5
  326. data/lib/wx/doc/gen/variant.rb +34 -97
  327. data/lib/wx/doc/gen/window.rb +157 -102
  328. data/lib/wx/doc/gen/window_dc.rb +1 -1
  329. data/lib/wx/doc/gen/with_images.rb +1 -1
  330. data/lib/wx/doc/gen/wizard.rb +17 -4
  331. data/lib/wx/doc/gen/wizard_event.rb +9 -2
  332. data/lib/wx/doc/gen/wizard_page.rb +1 -1
  333. data/lib/wx/doc/gen/wizard_page_simple.rb +7 -7
  334. data/lib/wx/doc/gen/xml_node.rb +3 -3
  335. data/lib/wx/doc/gen/xml_resource.rb +12 -9
  336. data/lib/wx/doc/image.rb +42 -12
  337. data/lib/wx/doc/list_ctrl.rb +32 -0
  338. data/lib/wx/doc/log.rb +28 -0
  339. data/lib/wx/doc/pen.rb +17 -0
  340. data/lib/wx/doc/prt/printer_dc.rb +2 -2
  341. data/lib/wx/doc/radio_box.rb +20 -0
  342. data/lib/wx/doc/scaled_dc.rb +1 -1
  343. data/lib/wx/doc/text_validator.rb +12 -0
  344. data/lib/wx/doc/window.rb +27 -0
  345. data/lib/wx/keyword_defs.rb +77 -76
  346. data/lib/wx/prt/keyword_defs.rb +5 -1
  347. data/lib/wx/version.rb +1 -1
  348. data/lib/wxruby_aui.so +0 -0
  349. data/lib/wxruby_core.so +0 -0
  350. data/lib/wxruby_grid.so +0 -0
  351. data/lib/wxruby_html.so +0 -0
  352. data/lib/wxruby_pg.so +0 -0
  353. data/lib/wxruby_prt.so +0 -0
  354. data/lib/wxruby_rbn.so +0 -0
  355. data/lib/wxruby_rtc.so +0 -0
  356. data/lib/wxruby_stc.so +0 -0
  357. data/rakelib/install.rb +17 -6
  358. data/rakelib/lib/config/linux.rb +4 -2
  359. data/rakelib/lib/config/macosx.rb +120 -1
  360. data/rakelib/lib/config/mingw.rb +6 -1
  361. data/rakelib/lib/config/unixish.rb +26 -11
  362. data/rakelib/lib/config.rb +15 -6
  363. data/samples/aui/aui.rb +432 -363
  364. data/samples/propgrid/propgrid.rb +3 -0
  365. data/samples/sampler/editor.rb +33 -25
  366. data/samples/sampler/sample.rb +2 -2
  367. data/samples/sampler/stc_editor.rb +4 -2
  368. data/tests/lib/item_container_tests.rb +82 -0
  369. data/tests/lib/text_entry_tests.rb +80 -0
  370. data/tests/lib/wxapp_runner.rb +12 -0
  371. data/tests/lib/wxframe_runner.rb +89 -4
  372. data/tests/test_art.rb +9 -0
  373. data/tests/test_box_sizer.rb +161 -0
  374. data/tests/test_ext_controls.rb +28 -0
  375. data/tests/test_font.rb +239 -0
  376. data/tests/test_grid_sizer.rb +148 -0
  377. data/tests/test_intl.rb +5 -1
  378. data/tests/test_list_ctrl.rb +53 -0
  379. data/tests/test_log.rb +163 -0
  380. data/tests/test_std_controls.rb +321 -37
  381. data/tests/test_timer.rb +95 -0
  382. data/tests/test_window.rb +340 -0
  383. metadata +36 -2
@@ -51,21 +51,23 @@ module Wx
51
51
  # To use this class, call {Wx::PropertySheetDialog#create} from your own Create function. Then call {Wx::PropertySheetDialog#create_buttons}, and create pages, adding them to the book control. Finally call {Wx::PropertySheetDialog#layout_dialog}.
52
52
  # For example:
53
53
  #
54
- # ```
55
- # bool MyPropertySheetDialog::Create(...)
56
- # {
57
- # if (!wxPropertySheetDialog::Create(...))
58
- # return false;
59
- #
60
- # CreateButtons(wxOK|wxCANCEL|wxHELP);
61
- #
62
- # // Add page
63
- # wxPanel* panel = new wxPanel(GetBookCtrl(), ...);
64
- # GetBookCtrl()->AddPage(panel, "General");
65
- #
66
- # LayoutDialog();
67
- # return true;
68
- # }
54
+ # ```ruby
55
+ # class MyPropertySheetDialog < Wx::PropertySheetDialog
56
+ #
57
+ # def create(...)
58
+ # return false if !super
59
+ #
60
+ # create_buttons(Wx::OK|Wx::CANCEL|Wx::HELP)
61
+ #
62
+ # # Add page
63
+ # panel = Wx::Panel.new(get_book_ctrl, ...)
64
+ # get_book_ctrl.add_page(panel, "General")
65
+ #
66
+ # layout_dialog
67
+ # true
68
+ # end
69
+ #
70
+ # end
69
71
  # ```
70
72
  #
71
73
  # If necessary, override {Wx::PropertySheetDialog#create_book_ctrl} and {Wx::PropertySheetDialog#add_book_ctrl} to create and add a different kind of book control. You will then need to use two-step construction for the dialog or change the style of the book control by calling {Wx::PropertySheetDialog#set_sheet_style} before calling {Wx::PropertySheetDialog#create}.
@@ -81,7 +83,7 @@ module Wx
81
83
  # @overload initialize()
82
84
  # Default constructor.
83
85
  # Call Create if using this form of constructor.
84
- # @return [PropertySheetDialog]
86
+ # @return [Wx::PropertySheetDialog]
85
87
  # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DialogNameStr)
86
88
  # Constructor.
87
89
  # @param parent [Wx::Window]
@@ -91,7 +93,7 @@ module Wx
91
93
  # @param size [Array(Integer, Integer), Wx::Size]
92
94
  # @param style [Integer]
93
95
  # @param name [String]
94
- # @return [PropertySheetDialog]
96
+ # @return [Wx::PropertySheetDialog]
95
97
  def initialize(*args) end
96
98
 
97
99
  # Override this if you wish to add the book control in a way different from the standard way (for example, using different spacing).
@@ -24,8 +24,8 @@ module Wx::PRT
24
24
  # Constructor.
25
25
  # Pass a parent window, and optionally a pointer to a block of page setup data, which will be copied to the print dialog's internal data.
26
26
  # @param parent [Wx::Window]
27
- # @param data [Wx::PageSetupDialogData]
28
- # @return [PageSetupDialog]
27
+ # @param data [Wx::PRT::PageSetupDialogData]
28
+ # @return [Wx::PRT::PageSetupDialog]
29
29
  def initialize(parent, data=nil) end
30
30
 
31
31
  # Shows the dialog, returning {Wx::StandardID::ID_OK} if the user pressed OK, and {Wx::StandardID::ID_CANCEL} otherwise.
@@ -26,7 +26,10 @@ module Wx::PRT
26
26
 
27
27
  # Initializes the frame elements and prepares for showing it with the given modality kind.
28
28
  # This method creates the frame elements by calling {Wx::PRT::PreviewFrame#create_canvas} and {Wx::PRT::PreviewFrame#create_control_bar} methods (which may be overridden to customize them) and prepares to show the frame according to the value of kind parameter:
29
- # - If it is {Wx::PRT::PreviewFrameModalityKind::PreviewFrame_AppModal}, all the other application windows will be disabled when this frame is shown. This is the same behaviour as that of simple {Wx::PRT::PreviewFrame#initialize}.- If it is {Wx::PRT::PreviewFrameModalityKind::PreviewFrame_WindowModal}, only the parent window of the preview frame will be disabled when it is shown.- And if it is {Wx::PRT::PreviewFrameModalityKind::PreviewFrame_NonModal}, no windows at all will be disabled while the preview is shown.
29
+ #
30
+ # - If it is {Wx::PRT::PreviewFrameModalityKind::PreviewFrame_AppModal}, all the other application windows will be disabled when this frame is shown. This is the same behaviour as that of simple {Wx::PRT::PreviewFrame#initialize}.
31
+ # - If it is {Wx::PRT::PreviewFrameModalityKind::PreviewFrame_WindowModal}, only the parent window of the preview frame will be disabled when it is shown.
32
+ # - And if it is {Wx::PRT::PreviewFrameModalityKind::PreviewFrame_NonModal}, no windows at all will be disabled while the preview is shown.
30
33
  #
31
34
  # Notice that this function (or {Wx::PRT::PreviewFrame#initialize}) must be called by the application prior to showing the frame but you still must call <code>Show(true)</code> to actually show it afterwards.
32
35
  # @param kind [PreviewFrameModalityKind] The modality kind of preview frame.
@@ -111,7 +111,7 @@ module Wx::PRT
111
111
  # @param size [Array(Integer, Integer), Wx::Size]
112
112
  # @param style [Integer]
113
113
  # @param name [String]
114
- # @return [PrintAbortDialog]
114
+ # @return [Wx::PRT::PrintAbortDialog]
115
115
  def initialize(parent, documentTitle, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=("dialog")) end
116
116
 
117
117
  # @param currentPage [Integer]
@@ -97,11 +97,11 @@ module Wx::PRT
97
97
 
98
98
  # @overload initialize()
99
99
  # Default constructor.
100
- # @return [PrintData]
100
+ # @return [Wx::PRT::PrintData]
101
101
  # @overload initialize(data)
102
102
  # Copy constructor.
103
- # @param data [Wx::PrintData]
104
- # @return [PrintData]
103
+ # @param data [Wx::PRT::PrintData]
104
+ # @return [Wx::PRT::PrintData]
105
105
  def initialize(*args) end
106
106
 
107
107
  # Returns the current bin (papersource).
@@ -154,7 +154,10 @@ module Wx::PRT
154
154
  # Returns the current print quality.
155
155
  # This can be a positive integer, denoting the number of dots per inch, or one of the following identifiers:
156
156
  #
157
- # - {Wx::PRINT_QUALITY_HIGH}- {Wx::PRINT_QUALITY_MEDIUM}- {Wx::PRINT_QUALITY_LOW}- {Wx::PRINT_QUALITY_DRAFT}
157
+ # - {Wx::PRINT_QUALITY_HIGH}
158
+ # - {Wx::PRINT_QUALITY_MEDIUM}
159
+ # - {Wx::PRINT_QUALITY_LOW}
160
+ # - {Wx::PRINT_QUALITY_DRAFT}
158
161
  #
159
162
  # On input you should pass one of these identifiers, but on return you may get back a positive integer indicating the current resolution setting.
160
163
  # @return [Integer]
@@ -230,7 +233,10 @@ module Wx::PRT
230
233
  # Sets the desired print quality.
231
234
  # This can be a positive integer, denoting the number of dots per inch, or one of the following identifiers:
232
235
  #
233
- # - {Wx::PRINT_QUALITY_HIGH}- {Wx::PRINT_QUALITY_MEDIUM}- {Wx::PRINT_QUALITY_LOW}- {Wx::PRINT_QUALITY_DRAFT}
236
+ # - {Wx::PRINT_QUALITY_HIGH}
237
+ # - {Wx::PRINT_QUALITY_MEDIUM}
238
+ # - {Wx::PRINT_QUALITY_LOW}
239
+ # - {Wx::PRINT_QUALITY_DRAFT}
234
240
  #
235
241
  # On input you should pass one of these identifiers, but on return you may get back a positive integer indicating the current resolution setting.
236
242
  # @param quality [Integer]
@@ -274,15 +280,15 @@ module Wx::PRT
274
280
 
275
281
  # @overload initialize()
276
282
  # Default constructor.
277
- # @return [PrintDialogData]
283
+ # @return [Wx::PRT::PrintDialogData]
278
284
  # @overload initialize(dialogData)
279
285
  # Copy constructor.
280
- # @param dialogData [Wx::PrintDialogData]
281
- # @return [PrintDialogData]
286
+ # @param dialogData [Wx::PRT::PrintDialogData]
287
+ # @return [Wx::PRT::PrintDialogData]
282
288
  # @overload initialize(printData)
283
289
  # Construct an object from a print dialog data object.
284
- # @param printData [Wx::PrintData]
285
- # @return [PrintDialogData]
290
+ # @param printData [Wx::PRT::PrintData]
291
+ # @return [Wx::PRT::PrintDialogData]
286
292
  def initialize(*args) end
287
293
 
288
294
  # Enables or disables the "Help" button.
@@ -392,7 +398,7 @@ module Wx::PRT
392
398
  alias_method :no_copies=, :set_no_copies
393
399
 
394
400
  # Sets the internal {Wx::PRT::PrintData}.
395
- # @param printData [Wx::PrintData]
401
+ # @param printData [Wx::PRT::PrintData]
396
402
  # @return [void]
397
403
  def set_print_data(printData) end
398
404
  alias_method :print_data=, :set_print_data
@@ -433,15 +439,15 @@ module Wx::PRT
433
439
 
434
440
  # @overload initialize()
435
441
  # Default constructor.
436
- # @return [PageSetupDialogData]
442
+ # @return [Wx::PRT::PageSetupDialogData]
437
443
  # @overload initialize(data)
438
444
  # Copy constructor.
439
- # @param data [Wx::PageSetupDialogData]
440
- # @return [PageSetupDialogData]
445
+ # @param data [Wx::PRT::PageSetupDialogData]
446
+ # @return [Wx::PRT::PageSetupDialogData]
441
447
  # @overload initialize(printData)
442
448
  # Construct an object from a print data object.
443
- # @param printData [Wx::PrintData]
444
- # @return [PageSetupDialogData]
449
+ # @param printData [Wx::PRT::PrintData]
450
+ # @return [Wx::PRT::PageSetupDialogData]
445
451
  def initialize(*args) end
446
452
 
447
453
  # Enables or disables the "Help" button (Windows only).
@@ -533,7 +539,7 @@ module Wx::PRT
533
539
  def get_paper_size; end
534
540
  alias_method :paper_size, :get_paper_size
535
541
 
536
- # @return [Wx::PrintData]
542
+ # @return [Wx::PRT::PrintData]
537
543
  def get_print_data; end
538
544
  alias_method :print_data, :get_print_data
539
545
 
@@ -598,7 +604,7 @@ module Wx::PRT
598
604
  alias_method :paper_size=, :set_paper_size
599
605
 
600
606
  # Sets the print data associated with this object.
601
- # @param printData [Wx::PrintData]
607
+ # @param printData [Wx::PRT::PrintData]
602
608
  # @return [void]
603
609
  def set_print_data(printData) end
604
610
  alias_method :print_data=, :set_print_data
@@ -22,12 +22,12 @@ module Wx::PRT
22
22
  # Pass a parent window, and optionally a pointer to a block of print data, which will be copied to the print dialog's print data.
23
23
  # @see Wx::PRT::PrintDialogData
24
24
  # @param parent [Wx::Window]
25
- # @param data [Wx::PrintDialogData]
26
- # @return [PrintDialog]
25
+ # @param data [Wx::PRT::PrintDialogData]
26
+ # @return [Wx::PRT::PrintDialog]
27
27
  # @overload initialize(parent, data)
28
28
  # @param parent [Wx::Window]
29
- # @param data [Wx::PrintData]
30
- # @return [PrintDialog]
29
+ # @param data [Wx::PRT::PrintData]
30
+ # @return [Wx::PRT::PrintDialog]
31
31
  def initialize(*args) end
32
32
 
33
33
  # Returns the device context created by the print dialog, if any.
@@ -24,14 +24,14 @@ module Wx::PRT
24
24
  # Pass an optional pointer to a block of print dialog data, which will be copied to the printer object's local data.
25
25
  # @see Wx::PRT::PrintDialogData
26
26
  # @see Wx::PRT::PrintData
27
- # @param data [Wx::PrintDialogData]
28
- # @return [Printer]
27
+ # @param data [Wx::PRT::PrintDialogData]
28
+ # @return [Wx::PRT::Printer]
29
29
  def initialize(data=nil) end
30
30
 
31
31
  # Creates the default printing abort window, with a cancel button.
32
32
  # @param parent [Wx::Window]
33
- # @param printout [Wx::Printout]
34
- # @return [Wx::PrintAbortDialog]
33
+ # @param printout [Wx::PRT::Printout]
34
+ # @return [Wx::PRT::PrintAbortDialog]
35
35
  def create_abort_window(parent, printout) end
36
36
 
37
37
  # Returns true if the user has aborted the print job.
@@ -43,7 +43,7 @@ module Wx::PRT
43
43
  # Provide a parent window, a user-defined {Wx::PRT::Printout} object which controls the printing of a document, and whether the print dialog should be invoked first.
44
44
  # {Wx::PRT::Printer#print} could return false if there was a problem initializing the printer device context (current printer not set, for example) or the user cancelled printing. Call {Wx::PRT::Printer.get_last_error} to get detailed information about the kind of the error.
45
45
  # @param parent [Wx::Window]
46
- # @param printout [Wx::Printout]
46
+ # @param printout [Wx::PRT::Printout]
47
47
  # @param prompt [true,false]
48
48
  # @return [true,false]
49
49
  def print(parent, printout, prompt=true) end
@@ -57,7 +57,7 @@ module Wx::PRT
57
57
 
58
58
  # Default error-reporting function.
59
59
  # @param parent [Wx::Window]
60
- # @param printout [Wx::Printout]
60
+ # @param printout [Wx::PRT::Printout]
61
61
  # @param message [String]
62
62
  # @return [void]
63
63
  def report_error(parent, printout, message) end
@@ -99,7 +99,7 @@ module Wx::PRT
99
99
  # Constructor.
100
100
  # Pass an optional title argument - the current filename would be a good idea. This will appear in the printing list (at least in MSW)
101
101
  # @param title [String]
102
- # @return [Printout]
102
+ # @return [Wx::PRT::Printout]
103
103
  def initialize(title=("Wx::PRT::Printout")) end
104
104
 
105
105
  # Set the user scale and device origin of the {Wx::DC} associated with this {Wx::PRT::Printout} so that the given image size fits entirely within the page rectangle and the origin is at the top left corner of the page rectangle.
@@ -113,7 +113,7 @@ module Wx::PRT
113
113
  # This function provides the greatest consistency across all platforms because it does not depend on having access to the printable area of the paper.
114
114
  # On Mac, the native {Wx::PRT::PageSetupDialog} does not let you set the page margins; you'll have to provide your own mechanism, or you can use the Mac-only class {Wx::MacPageMarginsDialog}.
115
115
  # @param imageSize [Array(Integer, Integer), Wx::Size]
116
- # @param pageSetupData [Wx::PageSetupDialogData]
116
+ # @param pageSetupData [Wx::PRT::PageSetupDialogData]
117
117
  # @return [void]
118
118
  def fit_this_size_to_page_margins(imageSize, pageSetupData) end
119
119
 
@@ -133,7 +133,7 @@ module Wx::PRT
133
133
 
134
134
  # Return the rectangle corresponding to the page margins specified by the given {Wx::PRT::PageSetupDialogData} object in the associated {Wx::DC}'s logical coordinates for the current user scale and device origin.
135
135
  # The page margins are specified with respect to the edges of the paper on all platforms.
136
- # @param pageSetupData [Wx::PageSetupDialogData]
136
+ # @param pageSetupData [Wx::PRT::PageSetupDialogData]
137
137
  # @return [Wx::Rect]
138
138
  def get_logical_page_margins_rect(pageSetupData) end
139
139
  alias_method :logical_page_margins_rect, :get_logical_page_margins_rect
@@ -213,7 +213,7 @@ module Wx::PRT
213
213
  # If this printout object is used for previewing, returns the associated {Wx::PRT::PrintPreview}. Otherwise returns NULL.
214
214
  # The returned pointer is not owned by the printout and must not be deleted.
215
215
  # @see Wx::PRT::Printout#is_preview
216
- # @return [Wx::PrintPreview]
216
+ # @return [Wx::PRT::PrintPreview]
217
217
  def get_preview; end
218
218
  alias_method :preview, :get_preview
219
219
 
@@ -230,7 +230,7 @@ module Wx::PRT
230
230
  def map_screen_size_to_page; end
231
231
 
232
232
  # This sets the user scale of the {Wx::DC} associated with this {Wx::PRT::Printout} to the same scale as {Wx::PRT::Printout#map_screen_size_to_page_margins} but sets the logical origin to the top left corner of the page margins specified by the given {Wx::PRT::PageSetupDialogData} object.
233
- # @param pageSetupData [Wx::PageSetupDialogData]
233
+ # @param pageSetupData [Wx::PRT::PageSetupDialogData]
234
234
  # @return [void]
235
235
  def map_screen_size_to_page_margins(pageSetupData) end
236
236
 
@@ -316,15 +316,15 @@ module Wx::PRT
316
316
  # Do not explicitly delete the printout objects once this constructor has been called, since they will be deleted in the {Wx::PRT::PrintPreview} destructor. The same does not apply to the data argument.
317
317
  #
318
318
  # Use {Wx::PRT::PrintPreview#is_ok} to check whether the {Wx::PRT::PrintPreview} object was created correctly.
319
- # @param printout [Wx::Printout]
320
- # @param printoutForPrinting [Wx::Printout]
321
- # @param data [Wx::PrintDialogData]
322
- # @return [PrintPreview]
319
+ # @param printout [Wx::PRT::Printout]
320
+ # @param printoutForPrinting [Wx::PRT::Printout]
321
+ # @param data [Wx::PRT::PrintDialogData]
322
+ # @return [Wx::PRT::PrintPreview]
323
323
  # @overload initialize(printout, printoutForPrinting, data)
324
- # @param printout [Wx::Printout]
325
- # @param printoutForPrinting [Wx::Printout]
326
- # @param data [Wx::PrintData]
327
- # @return [PrintPreview]
324
+ # @param printout [Wx::PRT::Printout]
325
+ # @param printoutForPrinting [Wx::PRT::Printout]
326
+ # @param data [Wx::PRT::PrintData]
327
+ # @return [Wx::PRT::PrintPreview]
328
328
  def initialize(*args) end
329
329
 
330
330
  # Gets the preview window used for displaying the print preview image.
@@ -353,12 +353,12 @@ module Wx::PRT
353
353
  alias_method :min_page, :get_min_page
354
354
 
355
355
  # Gets the preview printout object associated with the {Wx::PRT::PrintPreview} object.
356
- # @return [Wx::Printout]
356
+ # @return [Wx::PRT::Printout]
357
357
  def get_printout; end
358
358
  alias_method :printout, :get_printout
359
359
 
360
360
  # Gets the printout object to be used for printing from within the preview interface, or NULL if none exists.
361
- # @return [Wx::Printout]
361
+ # @return [Wx::PRT::Printout]
362
362
  def get_printout_for_printing; end
363
363
  alias_method :printout_for_printing, :get_printout_for_printing
364
364
 
@@ -408,7 +408,7 @@ module Wx::PRT
408
408
  alias_method :frame=, :set_frame
409
409
 
410
410
  # Associates a printout object with the {Wx::PRT::PrintPreview} object.
411
- # @param printout [Wx::Printout]
411
+ # @param printout [Wx::PRT::Printout]
412
412
  # @return [void]
413
413
  def set_printout(printout) end
414
414
  alias_method :printout=, :set_printout
@@ -12,6 +12,7 @@ module Wx
12
12
  #
13
13
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::QueryLayoutInfoEvent} events.
14
14
  # Event handler methods:
15
+ #
15
16
  # - {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.
16
17
  #
17
18
  # ===
@@ -26,7 +27,7 @@ module Wx
26
27
 
27
28
  # Constructor.
28
29
  # @param id [Integer]
29
- # @return [QueryLayoutInfoEvent]
30
+ # @return [Wx::QueryLayoutInfoEvent]
30
31
  def initialize(id=0) end
31
32
 
32
33
  # Specifies the alignment of the window (which side of the remaining parent client area the window sticks to).
@@ -11,21 +11,23 @@ module Wx
11
11
  # === Styles
12
12
  #
13
13
  # This class supports the following styles:
14
- #
14
+ #
15
15
  # - {Wx::RA_SPECIFY_ROWS}: The major dimension parameter refers to the maximum number of rows.
16
+ #
16
17
  # - {Wx::RA_SPECIFY_COLS}: The major dimension parameter refers to the maximum number of columns.
17
18
  #
18
19
  # === Events emitted by this class
19
20
  #
20
21
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
21
22
  # Event handler methods for events emitted by this class:
23
+ #
22
24
  # - {Wx::EvtHandler#evt_radiobox}(id, meth = nil, &block): Process a {Wx::EVT_RADIOBOX} event, when a radiobutton is clicked.
23
25
  #
24
26
  # ===
25
27
  #
26
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
27
- # </td><td> {Wx::GTK} Appearance
28
- # </td><td> {Wx::OSX} Appearance
28
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
29
+ # </td><td> wxGTK Appearance
30
+ # </td><td> wxOSX Appearance
29
31
  # </td></tr></table></div>
30
32
  # @see Events and Event Handling
31
33
  # @see Wx::RadioButton
@@ -39,7 +41,7 @@ module Wx
39
41
  #
40
42
  # @see Wx::RadioBox#create
41
43
  # @see Wx::Validator
42
- # @return [RadioBox]
44
+ # @return [Wx::RadioBox]
43
45
  # @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioBoxNameStr)
44
46
  # Constructor, creating and showing a radiobox.
45
47
  #
@@ -55,7 +57,7 @@ module Wx
55
57
  # @param style [Integer] Window style. See {Wx::RadioBox}.
56
58
  # @param validator [Wx::Validator] Window validator.
57
59
  # @param name [String] Window name.
58
- # @return [RadioBox]
60
+ # @return [Wx::RadioBox]
59
61
  # @overload initialize(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioBoxNameStr)
60
62
  # Constructor, creating and showing a radiobox.
61
63
  #
@@ -71,7 +73,7 @@ module Wx
71
73
  # @param style [Integer] Window style. See {Wx::RadioBox}.
72
74
  # @param validator [Wx::Validator] Window validator.
73
75
  # @param name [String] Window name.
74
- # @return [RadioBox]
76
+ # @return [Wx::RadioBox]
75
77
  def initialize(*args) end
76
78
 
77
79
  # @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioBoxNameStr)
@@ -144,7 +146,7 @@ module Wx
144
146
  alias_method :row_count, :get_row_count
145
147
 
146
148
  # Returns true if the item is enabled or false if it was disabled using Enable(n, false).
147
- # This function is currently only implemented in {Wx::MSW}, {Wx::GTK}, {Wx::QT} and {Wx::Universal} and always returns true in the other ports.
149
+ # This function is currently only implemented in wxMSW, wxGTK, {Wx::QT} and {Wx::Universal} and always returns true in the other ports.
148
150
  # @param n [Integer] The zero-based button position.
149
151
  # @return [true,false]
150
152
  def is_item_enabled(n) end
@@ -152,7 +154,7 @@ module Wx
152
154
 
153
155
  # Returns true if the item is currently shown or false if it was hidden using Show(n, false).
154
156
  # Note that this function returns true for an item which hadn't been hidden even if the entire radiobox is not currently shown.
155
- # This function is currently only implemented in {Wx::MSW}, {Wx::GTK}, {Wx::QT} and {Wx::Universal} and always returns true in the other ports.
157
+ # This function is currently only implemented in wxMSW, wxGTK, {Wx::QT} and {Wx::Universal} and always returns true in the other ports.
156
158
  # @param n [Integer] The zero-based button position.
157
159
  # @return [true,false]
158
160
  def is_item_shown(n) end
@@ -167,7 +169,7 @@ module Wx
167
169
  def set_item_help_text(item, helptext) end
168
170
 
169
171
  # Sets the tooltip text for the specified item in the radio group.
170
- # This function is currently only implemented in {Wx::MSW} and {Wx::GTK2} and does nothing in the other ports.
172
+ # This function is currently only implemented in wxMSW and wxGTK2 and does nothing in the other ports.
171
173
  # @see Wx::RadioBox#get_item_tool_tip
172
174
  # @see Wx::Window#set_tool_tip
173
175
  # @param item [Integer] Index of the item the tooltip will be shown for.
@@ -182,14 +184,6 @@ module Wx
182
184
  def set_selection(n) end
183
185
  alias_method :selection=, :set_selection
184
186
 
185
- # Shows or hides individual buttons.
186
- # true if the item has been shown or hidden or false if nothing was done because it already was in the requested state.
187
- # @see Wx::Window#show
188
- # @param item [Integer] The zero-based position of the button to show or hide.
189
- # @param show [true,false] true to show, false to hide.
190
- # @return [true,false]
191
- def show(item, show=true) end
192
-
193
187
  # Returns the number of items in the control.
194
188
  #
195
189
  # @see Wx::RadioBox#is_empty
@@ -13,21 +13,23 @@ module Wx
13
13
  # === Styles
14
14
  #
15
15
  # This class supports the following styles:
16
- #
16
+ #
17
17
  # - {Wx::RB_GROUP}: Marks the beginning of a new group of radio buttons.
18
+ #
18
19
  # - {Wx::RB_SINGLE}: Creates a radio button which is not part of any radio button group. When this style is used, no other radio buttons will be turned off automatically when this button is turned on and such behaviour will need to be implemented manually, in the event handler for this button.
19
20
  #
20
21
  # === Events emitted by this class
21
22
  #
22
23
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
23
24
  # Event handler methods for events emitted by this class:
25
+ #
24
26
  # - {Wx::EvtHandler#evt_radiobutton}(id, meth = nil, &block): Process a {Wx::EVT_RADIOBUTTON} event, when the radiobutton is clicked.
25
27
  #
26
28
  # ===
27
29
  #
28
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
29
- # </td><td> {Wx::GTK} Appearance
30
- # </td><td> {Wx::OSX} Appearance
30
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
31
+ # </td><td> wxGTK Appearance
32
+ # </td><td> wxOSX Appearance
31
33
  # </td></tr></table></div>
32
34
  # @see Events and Event Handling
33
35
  # @see Wx::RadioBox
@@ -41,7 +43,7 @@ module Wx
41
43
  #
42
44
  # @see Wx::RadioButton#create
43
45
  # @see Wx::Validator
44
- # @return [RadioButton]
46
+ # @return [Wx::RadioButton]
45
47
  # @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioButtonNameStr)
46
48
  # Constructor, creating and showing a radio button.
47
49
  #
@@ -55,7 +57,7 @@ module Wx
55
57
  # @param style [Integer] Window style. See {Wx::RadioButton}.
56
58
  # @param validator [Wx::Validator] Window validator.
57
59
  # @param name [String] Window name.
58
- # @return [RadioButton]
60
+ # @return [Wx::RadioButton]
59
61
  def initialize(*args) end
60
62
 
61
63
  # Creates the choice for two-step construction.