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
@@ -14,10 +14,10 @@ module Wx::AUI
14
14
  #
15
15
  class AuiToolBarArt < ::Object
16
16
 
17
- # @return [AuiToolBarArt]
17
+ # @return [Wx::AUI::AuiToolBarArt]
18
18
  def initialize; end
19
19
 
20
- # @return [Wx::AuiToolBarArt]
20
+ # @return [Wx::AUI::AuiToolBarArt]
21
21
  def clone; end
22
22
 
23
23
  # @param flags [Integer]
@@ -61,28 +61,28 @@ module Wx::AUI
61
61
 
62
62
  # @param dc [Wx::DC]
63
63
  # @param wnd [Wx::Window]
64
- # @param item [Wx::AuiToolBarItem]
64
+ # @param item [Wx::AUI::AuiToolBarItem]
65
65
  # @param rect [Wx::Rect]
66
66
  # @return [void]
67
67
  def draw_label(dc, wnd, item, rect) end
68
68
 
69
69
  # @param dc [Wx::DC]
70
70
  # @param wnd [Wx::Window]
71
- # @param item [Wx::AuiToolBarItem]
71
+ # @param item [Wx::AUI::AuiToolBarItem]
72
72
  # @param rect [Wx::Rect]
73
73
  # @return [void]
74
74
  def draw_button(dc, wnd, item, rect) end
75
75
 
76
76
  # @param dc [Wx::DC]
77
77
  # @param wnd [Wx::Window]
78
- # @param item [Wx::AuiToolBarItem]
78
+ # @param item [Wx::AUI::AuiToolBarItem]
79
79
  # @param rect [Wx::Rect]
80
80
  # @return [void]
81
81
  def draw_drop_down_button(dc, wnd, item, rect) end
82
82
 
83
83
  # @param dc [Wx::DC]
84
84
  # @param wnd [Wx::Window]
85
- # @param item [Wx::AuiToolBarItem]
85
+ # @param item [Wx::AUI::AuiToolBarItem]
86
86
  # @param rect [Wx::Rect]
87
87
  # @return [void]
88
88
  def draw_control_label(dc, wnd, item, rect) end
@@ -108,14 +108,14 @@ module Wx::AUI
108
108
 
109
109
  # @param dc [Wx::DC]
110
110
  # @param wnd [Wx::Window]
111
- # @param item [Wx::AuiToolBarItem]
111
+ # @param item [Wx::AUI::AuiToolBarItem]
112
112
  # @return [Wx::Size]
113
113
  def get_label_size(dc, wnd, item) end
114
114
  alias_method :label_size, :get_label_size
115
115
 
116
116
  # @param dc [Wx::DC]
117
117
  # @param wnd [Wx::Window]
118
- # @param item [Wx::AuiToolBarItem]
118
+ # @param item [Wx::AUI::AuiToolBarItem]
119
119
  # @return [Wx::Size]
120
120
  def get_tool_size(dc, wnd, item) end
121
121
  alias_method :tool_size, :get_tool_size
@@ -145,10 +145,10 @@ module Wx::AUI
145
145
  #
146
146
  class AuiDefaultToolBarArt < AuiToolBarArt
147
147
 
148
- # @return [AuiDefaultToolBarArt]
148
+ # @return [Wx::AUI::AuiDefaultToolBarArt]
149
149
  def initialize; end
150
150
 
151
- # @return [Wx::AuiToolBarArt]
151
+ # @return [Wx::AUI::AuiToolBarArt]
152
152
  def clone; end
153
153
 
154
154
  # @param flags [Integer]
@@ -192,28 +192,28 @@ module Wx::AUI
192
192
 
193
193
  # @param dc [Wx::DC]
194
194
  # @param wnd [Wx::Window]
195
- # @param item [Wx::AuiToolBarItem]
195
+ # @param item [Wx::AUI::AuiToolBarItem]
196
196
  # @param rect [Wx::Rect]
197
197
  # @return [void]
198
198
  def draw_label(dc, wnd, item, rect) end
199
199
 
200
200
  # @param dc [Wx::DC]
201
201
  # @param wnd [Wx::Window]
202
- # @param item [Wx::AuiToolBarItem]
202
+ # @param item [Wx::AUI::AuiToolBarItem]
203
203
  # @param rect [Wx::Rect]
204
204
  # @return [void]
205
205
  def draw_button(dc, wnd, item, rect) end
206
206
 
207
207
  # @param dc [Wx::DC]
208
208
  # @param wnd [Wx::Window]
209
- # @param item [Wx::AuiToolBarItem]
209
+ # @param item [Wx::AUI::AuiToolBarItem]
210
210
  # @param rect [Wx::Rect]
211
211
  # @return [void]
212
212
  def draw_drop_down_button(dc, wnd, item, rect) end
213
213
 
214
214
  # @param dc [Wx::DC]
215
215
  # @param wnd [Wx::Window]
216
- # @param item [Wx::AuiToolBarItem]
216
+ # @param item [Wx::AUI::AuiToolBarItem]
217
217
  # @param rect [Wx::Rect]
218
218
  # @return [void]
219
219
  def draw_control_label(dc, wnd, item, rect) end
@@ -239,14 +239,14 @@ module Wx::AUI
239
239
 
240
240
  # @param dc [Wx::DC]
241
241
  # @param wnd [Wx::Window]
242
- # @param item [Wx::AuiToolBarItem]
242
+ # @param item [Wx::AUI::AuiToolBarItem]
243
243
  # @return [Wx::Size]
244
244
  def get_label_size(dc, wnd, item) end
245
245
  alias_method :label_size, :get_label_size
246
246
 
247
247
  # @param dc [Wx::DC]
248
248
  # @param wnd [Wx::Window]
249
- # @param item [Wx::AuiToolBarItem]
249
+ # @param item [Wx::AUI::AuiToolBarItem]
250
250
  # @return [Wx::Size]
251
251
  def get_tool_size(dc, wnd, item) end
252
252
  alias_method :tool_size, :get_tool_size
@@ -141,12 +141,12 @@ module Wx::AUI
141
141
  class AuiToolBarEvent < NotifyEvent
142
142
 
143
143
  # @overload initialize(commandType=Wx::EVT_NULL, winId=0)
144
- # @param commandType [Integer]
144
+ # @param commandType [Wx::AUI::AuiMDIChildFrame::EventType]
145
145
  # @param winId [Integer]
146
- # @return [AuiToolBarEvent]
146
+ # @return [Wx::AUI::AuiToolBarEvent]
147
147
  # @overload initialize(c)
148
- # @param c [Wx::AuiToolBarEvent]
149
- # @return [AuiToolBarEvent]
148
+ # @param c [Wx::AUI::AuiToolBarEvent]
149
+ # @return [Wx::AUI::AuiToolBarEvent]
150
150
  def initialize(*args) end
151
151
 
152
152
  # Returns whether the drop down menu has been clicked.
@@ -17,15 +17,15 @@ module Wx::AUI
17
17
 
18
18
  # @overload initialize()
19
19
  # Default Constructor.
20
- # @return [AuiToolBarItem]
20
+ # @return [Wx::AUI::AuiToolBarItem]
21
21
  # @overload initialize(c)
22
22
  # Assigns the properties of the {Wx::AUI::AuiToolBarItem} "c" to this.
23
- # @param c [Wx::AuiToolBarItem]
24
- # @return [AuiToolBarItem]
23
+ # @param c [Wx::AUI::AuiToolBarItem]
24
+ # @return [Wx::AUI::AuiToolBarItem]
25
25
  def initialize(*args) end
26
26
 
27
27
  # Assigns the properties of the {Wx::AUI::AuiToolBarItem} "c" to this.
28
- # @param c [Wx::AuiToolBarItem]
28
+ # @param c [Wx::AUI::AuiToolBarItem]
29
29
  # @return [void]
30
30
  def assign(c) end
31
31
 
@@ -16,7 +16,11 @@ module Wx
16
16
  # This class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour or colour with alpha channel support.
17
17
  # If you need direct access the bitmap data instead going through drawing to it using {Wx::MemoryDC} you need to use the {Wx::PixelData} class (either {Wx::NativePixelData} for RGB bitmaps or {Wx::AlphaPixelData} for bitmaps with an additionally alpha channel).
18
18
  # Note that many {Wx::Bitmap} functions take a type parameter, which is a value of the {Wx::BitmapType} enumeration. The validity of those values depends however on the platform where your program is running and from the wxWidgets configuration. If all possible wxWidgets settings are used:
19
- # - {Wx::MSW} supports BMP and ICO files, BMP and ICO resources;- {Wx::GTK} supports any file supported by gdk-pixbuf;- {Wx::Mac} supports PICT resources;- {Wx::X11} supports XPM files, XPM data, XBM data;
19
+ #
20
+ # - wxMSW supports BMP and ICO files, BMP and ICO resources;
21
+ # - wxGTK supports any file supported by gdk-pixbuf;
22
+ # - {Wx::Mac} supports PICT resources;
23
+ # - wxX11 supports XPM files, XPM data, XBM data;
20
24
  #
21
25
  # In addition, {Wx::Bitmap} can load and save all formats that {Wx::Image} can; see {Wx::Image} for more info. Of course, you must have loaded the {Wx::Image} handlers (see {init_all_image_handlers} and {Wx::Image.add_handler}). Note that all available {Wx::BitmapHandlers} for a given wxWidgets port are automatically loaded at startup so you won't need to use {Wx::Bitmap.add_handler}.
22
26
  # More on the difference between {Wx::Image} and {Wx::Bitmap}: {Wx::Image} is just a buffer of RGB bytes with an optional buffer for the alpha bytes. It is all generic, platform independent and image file format independent code. It includes generic code for scaling, resizing, clipping, and other manipulations of the image data. OTOH, {Wx::Bitmap} is intended to be a wrapper of whatever is the native image format that is quickest/easiest to draw to a DC or to be the target of the drawing operations performed on a {Wx::MemoryDC}. By splitting the responsibilities between {Wx::Image}/{Wx::Bitmap} like this then it's easier to use generic code shared by all platforms and image types for generic operations and platform specific code where performance or compatibility is needed.
@@ -41,7 +45,7 @@ module Wx
41
45
  # @overload initialize()
42
46
  # Default constructor.
43
47
  # Constructs a bitmap object with no data; an assignment or another member function such as {Wx::Bitmap#create} or {Wx::Bitmap#load_file} must be called subsequently.
44
- # @return [Bitmap]
48
+ # @return [Wx::Bitmap]
45
49
  # @overload initialize(bitmap)
46
50
  # Copy constructor, uses reference counting.
47
51
  # To make a real copy, you can use:
@@ -50,7 +54,7 @@ module Wx
50
54
  # Wx::Rect.new(0, 0, oldBitmap.width, oldBitmap.height))
51
55
  # ```
52
56
  # @param bitmap [Wx::Bitmap]
53
- # @return [Bitmap]
57
+ # @return [Wx::Bitmap]
54
58
  # @overload initialize(width, height, depth=Wx::BITMAP_SCREEN_DEPTH)
55
59
  # Creates a new bitmap.
56
60
  # A depth of {Wx::BITMAP_SCREEN_DEPTH} indicates the depth of the current screen or visual.
@@ -59,25 +63,25 @@ module Wx
59
63
  # @param width [Integer] The width of the bitmap in pixels, must be strictly positive.
60
64
  # @param height [Integer] The height of the bitmap in pixels, must be strictly positive.
61
65
  # @param depth [Integer] The number of bits used to represent each bitmap pixel.
62
- # @return [Bitmap]
66
+ # @return [Wx::Bitmap]
63
67
  # @overload initialize(sz, depth=Wx::BITMAP_SCREEN_DEPTH)
64
68
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
65
69
  # @param sz [Array(Integer, Integer), Wx::Size]
66
70
  # @param depth [Integer]
67
- # @return [Bitmap]
71
+ # @return [Wx::Bitmap]
68
72
  # @overload initialize(width, height, dc)
69
73
  # Create a bitmap compatible with the given DC, inheriting its magnification factor.
70
74
  # @param width [Integer] The width of the bitmap in pixels, must be strictly positive.
71
75
  # @param height [Integer] The height of the bitmap in pixels, must be strictly positive.
72
76
  # @param dc [Wx::DC] DC from which the scaling factor is inherited
73
- # @return [Bitmap]
77
+ # @return [Wx::Bitmap]
74
78
  # @overload initialize(name, type=Wx::BITMAP_DEFAULT_TYPE)
75
79
  # Loads a bitmap from a file or resource.
76
80
  #
77
81
  # @see Wx::Bitmap#load_file
78
82
  # @param name [String] This can refer to a resource name or a filename under MS Windows and X. Its meaning is determined by the type parameter.
79
83
  # @param type [BitmapType] May be one of the {Wx::BitmapType} values and indicates which type of bitmap should be loaded. See the note in the class detailed description. Note that the {Wx::BITMAP_DEFAULT_TYPE} constant has different value under different wxWidgets ports. See the bitmap.h header for the value it takes for a specific port.
80
- # @return [Bitmap]
84
+ # @return [Wx::Bitmap]
81
85
  # @overload initialize(img, depth=Wx::BITMAP_SCREEN_DEPTH)
82
86
  # Creates this bitmap object from the given image.
83
87
  # This has to be done to actually display an image as you cannot draw an image directly on a window.
@@ -85,18 +89,18 @@ module Wx
85
89
  # On Windows, if there is a palette present (set with SetPalette), it will be used when creating the {Wx::Bitmap} (most useful in 8-bit display mode). On other platforms, the palette is currently ignored.
86
90
  # @param img [Wx::Image] Platform-independent {Wx::Image} object.
87
91
  # @param depth [Integer] Specifies the depth of the bitmap. If this is omitted, the display depth of the screen is used.
88
- # @return [Bitmap]
92
+ # @return [Wx::Bitmap]
89
93
  # @overload initialize(img, dc)
90
94
  # Creates a bitmap compatible with the given DC from the given image.
91
95
  # This constructor initializes the bitmap with the data of the given image, which must be valid, but inherits the scaling factor from the given device context instead of simply using the default factor of 1.
92
96
  # @param img [Wx::Image] Platform-independent {Wx::Image} object.
93
97
  # @param dc [Wx::DC] DC from which the scaling factor is inherited
94
- # @return [Bitmap]
98
+ # @return [Wx::Bitmap]
95
99
  # @overload initialize(cursor)
96
100
  # Creates bitmap corresponding to the given cursor.
97
101
  # This can be useful to display a cursor as it cannot be drawn directly on a window.
98
102
  # @param cursor [Wx::Cursor] A valid {Wx::Cursor}.
99
- # @return [Bitmap]
103
+ # @return [Wx::Bitmap]
100
104
  def initialize(*args) end
101
105
 
102
106
  # Returns disabled (dimmed) version of the bitmap.
@@ -143,7 +147,9 @@ module Wx
143
147
  # The physical size of the bitmap is obtained by multiplying the given size by scale and rounding it to the closest integer.
144
148
  # After using this function the following postconditions are true:
145
149
  #
146
- # - {Wx::Bitmap#get_size} returns size multiplied by scale - {Wx::Bitmap#get_dip_size} returns size - {Wx::Bitmap#get_scale_factor} returns scale
150
+ # - {Wx::Bitmap#get_size} returns size multiplied by scale
151
+ # - {Wx::Bitmap#get_dip_size} returns size
152
+ # - {Wx::Bitmap#get_scale_factor} returns scale
147
153
  #
148
154
  # true if the creation was successful.
149
155
  # @param size [Array(Integer, Integer), Wx::Size] The size of the bitmap in DPI-independent pixels. Both width and height must be strictly positive.
@@ -201,7 +207,7 @@ module Wx
201
207
  alias_method :logical_height, :get_logical_height
202
208
 
203
209
  # Returns the size of the bitmap in logical pixels.
204
- # For the platforms using DPI-independent pixels, i.e. those where {Wx::HAS_DPI_INDEPENDENT_PIXELS} is defined, such as {Wx::OSX} or {Wx::GTK} 3, this function returns the physical size of the bitmap, as returned by {Wx::Bitmap#get_size}, divided by its scale factor, as returned by {Wx::Bitmap#get_scale_factor}, while for the other platforms, it simply returns the same thing as {Wx::Bitmap#get_size}.
210
+ # For the platforms using DPI-independent pixels, i.e. those where {Wx::HAS_DPI_INDEPENDENT_PIXELS} is defined, such as wxOSX or wxGTK 3, this function returns the physical size of the bitmap, as returned by {Wx::Bitmap#get_size}, divided by its scale factor, as returned by {Wx::Bitmap#get_scale_factor}, while for the other platforms, it simply returns the same thing as {Wx::Bitmap#get_size}.
205
211
  # This ensures that the result of this function is always expressed in the pixel coordinates appropriate for the current platform, i.e. its return value is always in logical pixels, used for window and {Wx::DC} coordinates, whether these pixels are the same as physical pixels, which are returned by {Wx::Bitmap#get_size}, or not.
206
212
  # @see Wx::Bitmap#get_logical_width
207
213
  # @see Wx::Bitmap#get_logical_height
@@ -235,7 +241,7 @@ module Wx
235
241
 
236
242
  # Returns the scale factor of this bitmap.
237
243
  # Scale factor is 1 by default, but can be greater to indicate that the size of bitmap in logical, DPI-independent pixels is smaller than its actual size in physical pixels. Bitmaps with scale factor greater than 1 must be used in high DPI to appear sharp on the screen.
238
- # Note that the scale factor is only used in the ports where logical pixels are not the same as physical ones, such as {Wx::OSX} or {Wx::GTK3}, and this function always returns 1 under the other platforms.
244
+ # Note that the scale factor is only used in the ports where logical pixels are not the same as physical ones, such as wxOSX or wxGTK3, and this function always returns 1 under the other platforms.
239
245
  # @see Wx::Bitmap#set_scale_factor
240
246
  # @see Wx::Bitmap#get_logical_width
241
247
  # @see Wx::Bitmap#get_logical_height
@@ -318,7 +324,7 @@ module Wx
318
324
  def save_file(name, type, palette=nil) end
319
325
 
320
326
  # Sets the bitmap scale factor.
321
- # This doesn't change the bitmap actual size or its contents, but changes its scale factor, so that it appears in a smaller size when it is drawn on screen: e.g. setting scale to 2 means that the bitmap will be twice smaller (in each direction) when drawn on screen in the ports in which logical and physical pixels differ (i.e. {Wx::OSX} and {Wx::GTK3}, but not {Wx::MSW}).
327
+ # This doesn't change the bitmap actual size or its contents, but changes its scale factor, so that it appears in a smaller size when it is drawn on screen: e.g. setting scale to 2 means that the bitmap will be twice smaller (in each direction) when drawn on screen in the ports in which logical and physical pixels differ (i.e. wxOSX and wxGTK3, but not wxMSW).
322
328
  # When creating a new bitmap, {Wx::Bitmap#create_with_dip_size} can be used to specify the correct scale factor from the beginning.
323
329
  # @param scale [Float]
324
330
  # @return [void]
@@ -328,7 +334,7 @@ module Wx
328
334
  # Sets the mask for this bitmap.
329
335
  # The bitmap object owns the mask once this has been called.
330
336
  #
331
- # A mask can be set also for bitmap with an alpha channel but doing so under {Wx::MSW} is not recommended because performance of drawing such bitmap is not very good.
337
+ # A mask can be set also for bitmap with an alpha channel but doing so under wxMSW is not recommended because performance of drawing such bitmap is not very good.
332
338
  # @see Wx::Bitmap#get_mask
333
339
  # @see Wx::Mask
334
340
  # @param mask [Wx::Mask]
@@ -386,26 +392,26 @@ module Wx
386
392
  # @overload initialize()
387
393
  # Default constructor constructs an empty bundle.
388
394
  # An empty bundle can't be used for anything, but can be assigned something else later.
389
- # @return [BitmapBundle]
395
+ # @return [Wx::BitmapBundle]
390
396
  # @overload initialize(bitmap)
391
397
  # Conversion constructor from a single bitmap.
392
398
  # This constructor does the same thing as {Wx::BitmapBundle.from_bitmap} and only exists for interoperability with the existing code using {Wx::Bitmap}.
393
399
  # @param bitmap [Wx::Bitmap]
394
- # @return [BitmapBundle]
400
+ # @return [Wx::BitmapBundle]
395
401
  # @overload initialize(icon)
396
402
  # Conversion constructor from a single icon.
397
403
  # This constructor does the same thing as {Wx::BitmapBundle.from_bitmap} and only exists for interoperability with the existing code using {Wx::Icon}.
398
404
  # @param icon [Wx::Icon]
399
- # @return [BitmapBundle]
405
+ # @return [Wx::BitmapBundle]
400
406
  # @overload initialize(image)
401
407
  # Conversion constructor from a single image.
402
408
  # Similarly to the constructor from {Wx::Bitmap}, this constructor only exists for interoperability with the existing code using {Wx::Image} and can be replaced with more readable {Wx::BitmapBundle.from_image} in the new code.
403
409
  # @param image [Wx::Image]
404
- # @return [BitmapBundle]
410
+ # @return [Wx::BitmapBundle]
405
411
  # @overload initialize(other)
406
412
  # Copy constructor creates a copy of another bundle.
407
413
  # @param other [Wx::BitmapBundle]
408
- # @return [BitmapBundle]
414
+ # @return [Wx::BitmapBundle]
409
415
  def initialize(*args) end
410
416
 
411
417
  # Clear the existing bundle contents.
@@ -577,7 +583,7 @@ module Wx
577
583
 
578
584
  # This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked area is white.
579
585
  # When associated with a bitmap and drawn in a device context, the unmasked area of the bitmap will be drawn, and the masked area will not be drawn.
580
- # A mask can be associated also with a bitmap with an alpha channel but drawing such bitmaps under {Wx::MSW} may be slow so using them should be avoided if drawing performance is an important factor.
586
+ # A mask can be associated also with a bitmap with an alpha channel but drawing such bitmaps under wxMSW may be slow so using them should be avoided if drawing performance is an important factor.
581
587
  #
582
588
  # ===
583
589
  #
@@ -591,22 +597,22 @@ module Wx
591
597
 
592
598
  # @overload initialize()
593
599
  # Default constructor.
594
- # @return [Mask]
600
+ # @return [Wx::Mask]
595
601
  # @overload initialize(bitmap, index)
596
602
  # Constructs a mask from a bitmap and a palette index that indicates the background.
597
603
  # Not implemented for GTK.
598
604
  # @param bitmap [Wx::Bitmap] A valid bitmap.
599
605
  # @param index [Integer] Index into a palette, specifying the transparency colour.
600
- # @return [Mask]
606
+ # @return [Wx::Mask]
601
607
  # @overload initialize(bitmap)
602
608
  # Constructs a mask from a monochrome bitmap.
603
609
  # @param bitmap [Wx::Bitmap]
604
- # @return [Mask]
610
+ # @return [Wx::Mask]
605
611
  # @overload initialize(bitmap, colour)
606
612
  # Constructs a mask from a bitmap and a colour that indicates the background.
607
613
  # @param bitmap [Wx::Bitmap]
608
614
  # @param colour [Wx::Colour,String,Symbol]
609
- # @return [Mask]
615
+ # @return [Wx::Mask]
610
616
  def initialize(*args) end
611
617
 
612
618
  # @overload create(bitmap, index)
@@ -627,7 +633,7 @@ module Wx
627
633
  def create(*args) end
628
634
 
629
635
  # Returns the mask as a monochrome bitmap.
630
- # Currently this method is implemented in {Wx::MSW}, {Wx::GTK} and {Wx::OSX}.
636
+ # Currently this method is implemented in wxMSW, wxGTK and wxOSX.
631
637
  # @return [Wx::Bitmap]
632
638
  def get_bitmap; end
633
639
  alias_method :bitmap, :get_bitmap
@@ -11,10 +11,13 @@ module Wx
11
11
  # === Styles
12
12
  #
13
13
  # This class supports the following styles:
14
- #
14
+ #
15
15
  # - {Wx::BU_LEFT}: Left-justifies the bitmap label.
16
+ #
16
17
  # - {Wx::BU_TOP}: Aligns the bitmap label to the top of the button.
18
+ #
17
19
  # - {Wx::BU_RIGHT}: Right-justifies the bitmap label.
20
+ #
18
21
  # - {Wx::BU_BOTTOM}: Aligns the bitmap label to the bottom of the button.
19
22
  #
20
23
  # Note that the {Wx::BU_EXACTFIT} style supported by {Wx::Button} is not used by this class as bitmap buttons don't have any minimal standard size by default.
@@ -22,13 +25,14 @@ module Wx
22
25
  #
23
26
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
24
27
  # Event handler methods for events emitted by this class:
28
+ #
25
29
  # - {Wx::EvtHandler#evt_button}(id, meth = nil, &block): Process a {Wx::EVT_BUTTON} event, when the button is clicked.
26
30
  #
27
31
  # ===
28
32
  #
29
- # Category: {Wx::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
33
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
34
+ # </td><td> wxGTK Appearance
35
+ # </td><td> wxOSX Appearance
32
36
  # </td></tr></table></div>
33
37
  # @see Wx::Button
34
38
  #
@@ -37,7 +41,7 @@ module Wx
37
41
 
38
42
  # @overload initialize()
39
43
  # Default ctor.
40
- # @return [BitmapButton]
44
+ # @return [Wx::BitmapButton]
41
45
  # @overload initialize(parent, id, bitmap, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ButtonNameStr)
42
46
  # Constructor, creating and showing a button.
43
47
  # The bitmap parameter is normally the only bitmap you need to provide, and wxWidgets will draw the button correctly in its different states. If you want more control, call any of the functions {Wx::BitmapButton#set_bitmap_pressed}, {Wx::BitmapButton#set_bitmap_focus}, {Wx::BitmapButton#set_bitmap_disabled}.
@@ -51,7 +55,7 @@ module Wx
51
55
  # @param style [Integer] Window style. See {Wx::BitmapButton}.
52
56
  # @param validator [Wx::Validator] Window validator.
53
57
  # @param name [String] Window name.
54
- # @return [BitmapButton]
58
+ # @return [Wx::BitmapButton]
55
59
  def initialize(*args) end
56
60
 
57
61
  # Button creation function for two-step creation.
@@ -13,9 +13,11 @@ module Wx
13
13
  # === Styles
14
14
  #
15
15
  # This class supports the following styles:
16
- #
16
+ #
17
17
  # - {Wx::CB_READONLY}: Creates a combobox without a text editor. On some platforms the control may appear very different when this style is used.
18
+ #
18
19
  # - {Wx::CB_SORT}: Sorts the entries in the list alphabetically.
20
+ #
19
21
  # - {Wx::TE_PROCESS_ENTER}: The control will generate the event {Wx::EVT_TEXT_ENTER} (otherwise pressing Enter key is either processed internally by the control or used for navigation between dialog controls). Windows only.
20
22
  #
21
23
  # Todocreate {Wx::CB_PROCESS_ENTER} rather than reusing {Wx::TE_PROCESS_ENTER}!
@@ -24,15 +26,18 @@ module Wx
24
26
  #
25
27
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
26
28
  # Event handler methods for events emitted by this class:
29
+ #
27
30
  # - {Wx::EvtHandler#evt_combobox}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX} event, when an item on the list is selected.
31
+ #
28
32
  # - {Wx::EvtHandler#evt_text}(id, meth = nil, &block): Process a {Wx::EVT_TEXT} event, when the combobox text changes.
33
+ #
29
34
  # - {Wx::EvtHandler#evt_text_enter}(id, meth = nil, &block): Process a {Wx::EVT_TEXT_ENTER} event, when RETURN is pressed in the combobox.
30
35
  #
31
36
  # ===
32
37
  #
33
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
34
- # </td><td> {Wx::GTK} Appearance
35
- # </td><td> {Wx::OSX} Appearance
38
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
39
+ # </td><td> wxGTK Appearance
40
+ # </td><td> wxOSX Appearance
36
41
  # </td></tr></table></div>
37
42
  # @see Wx::ComboBox
38
43
  # @see Wx::Choice
@@ -44,7 +49,7 @@ module Wx
44
49
 
45
50
  # @overload initialize()
46
51
  # Default ctor.
47
- # @return [BitmapComboBox]
52
+ # @return [Wx::BitmapComboBox]
48
53
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BitmapComboBoxNameStr)
49
54
  # Constructor, creating and showing a combobox.
50
55
  #
@@ -59,7 +64,7 @@ module Wx
59
64
  # @param style [Integer] The window style, see {Wx::CB_}* flags.
60
65
  # @param validator [Wx::Validator] Validator which can be used for additional data checks.
61
66
  # @param name [String] Control name.
62
- # @return [BitmapComboBox]
67
+ # @return [Wx::BitmapComboBox]
63
68
  # @overload initialize(parent, id, value, pos, size, choices, style, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BitmapComboBoxNameStr)
64
69
  # Constructor, creating and showing a combobox.
65
70
  #
@@ -74,7 +79,7 @@ module Wx
74
79
  # @param style [Integer] The window style, see {Wx::CB_}* flags.
75
80
  # @param validator [Wx::Validator] Validator which can be used for additional data checks.
76
81
  # @param name [String] Control name.
77
- # @return [BitmapComboBox]
82
+ # @return [Wx::BitmapComboBox]
78
83
  def initialize(*args) end
79
84
 
80
85
  # @overload append(item, bitmap=Wx::NULL_BITMAP)
@@ -48,9 +48,13 @@ module Wx
48
48
  # wxWidgets has five variants of this control:
49
49
  #
50
50
  # - {Wx::Choicebook}: controlled by a {Wx::Choice}
51
+ #
51
52
  # - {Wx::Listbook}: controlled by a {Wx::ListCtrl}
53
+ #
52
54
  # - {Wx::Notebook}: uses a row of tabs
55
+ #
53
56
  # - {Wx::Treebook}: controlled by a {Wx::TreeCtrl}
57
+ #
54
58
  # - {Wx::Toolbook}: controlled by a {Wx::ToolBar}
55
59
  #
56
60
  # This abstract class is the parent of all these book controls, and provides their basic interface. This is a pure virtual class so you cannot allocate it directly.
@@ -196,7 +200,7 @@ module Wx
196
200
 
197
201
  # @overload initialize()
198
202
  # Default ctor.
199
- # @return [BookCtrlBase]
203
+ # @return [Wx::BookCtrlBase]
200
204
  # @overload initialize(parent, winid, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=(''))
201
205
  # Constructs the book control with the given parameters.
202
206
  # See {Wx::BookCtrlBase#create} for two-step construction.
@@ -206,7 +210,7 @@ module Wx
206
210
  # @param size [Array(Integer, Integer), Wx::Size]
207
211
  # @param style [Integer]
208
212
  # @param name [String]
209
- # @return [BookCtrlBase]
213
+ # @return [Wx::BookCtrlBase]
210
214
  def initialize(*args) end
211
215
 
212
216
  # Constructs the book control with the given parameters.
@@ -220,7 +224,7 @@ module Wx
220
224
  def create(parent, winid, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=('')) end
221
225
 
222
226
  # Sets the width and height of the pages.
223
- # This method is currently not implemented for {Wx::GTK}.
227
+ # This method is currently not implemented for wxGTK.
224
228
  # @param size [Array(Integer, Integer), Wx::Size]
225
229
  # @return [void]
226
230
  def set_page_size(size) end
@@ -24,11 +24,11 @@ module Wx
24
24
  class BookCtrlEvent < NotifyEvent
25
25
 
26
26
  # Constructor (used internally by wxWidgets only).
27
- # @param eventType [Integer]
27
+ # @param eventType [Wx::AUI::AuiMDIChildFrame::EventType]
28
28
  # @param id [Integer]
29
29
  # @param sel [Integer]
30
30
  # @param oldSel [Integer]
31
- # @return [BookCtrlEvent]
31
+ # @return [Wx::BookCtrlEvent]
32
32
  def initialize(eventType=Wx::EVT_NULL, id=0, sel=Wx::NOT_FOUND, oldSel=Wx::NOT_FOUND) end
33
33
 
34
34
  # Returns the page that was selected before the change, {Wx::NOT_FOUND} if none was selected.
@@ -20,7 +20,7 @@ module Wx
20
20
  # Constructor for a {Wx::BoxSizer}.
21
21
  # orient may be either of {Wx::Orientation::VERTICAL} or {Wx::Orientation::HORIZONTAL} for creating either a column sizer or a row sizer.
22
22
  # @param orient [Integer]
23
- # @return [BoxSizer]
23
+ # @return [Wx::BoxSizer]
24
24
  def initialize(orient) end
25
25
 
26
26
  # Adds non-stretchable space to the main orientation of the sizer only.
@@ -84,17 +84,29 @@ module Wx
84
84
  #
85
85
  # Category: Graphics Device Interface (GDI)
86
86
  # Predefined objects/pointers:
87
+ #
87
88
  # - {Wx::NULL_BRUSH}
89
+ #
88
90
  # - {Wx::BLACK_BRUSH}
91
+ #
89
92
  # - {Wx::BLUE_BRUSH}
93
+ #
90
94
  # - {Wx::CYAN_BRUSH}
95
+ #
91
96
  # - {Wx::GREEN_BRUSH}
97
+ #
92
98
  # - {Wx::YELLOW_BRUSH}
99
+ #
93
100
  # - {Wx::GREY_BRUSH}
101
+ #
94
102
  # - {Wx::LIGHT_GREY_BRUSH}
103
+ #
95
104
  # - {Wx::MEDIUM_GREY_BRUSH}
105
+ #
96
106
  # - {Wx::RED_BRUSH}
107
+ #
97
108
  # - {Wx::TRANSPARENT_BRUSH}
109
+ #
98
110
  # - {Wx::WHITE_BRUSH}
99
111
  # @see Wx::BrushList
100
112
  # @see Wx::DC
@@ -125,21 +137,21 @@ module Wx
125
137
  # @overload initialize()
126
138
  # Default constructor.
127
139
  # The brush will be uninitialised, and {Wx::Brush}:{Wx::Brush#is_ok} will return false.
128
- # @return [Brush]
140
+ # @return [Wx::Brush]
129
141
  # @overload initialize(colour, style=Wx::BrushStyle::BRUSHSTYLE_SOLID)
130
142
  # Constructs a brush from a colour object and style.
131
143
  # @param colour [Wx::Colour,String,Symbol] Colour object.
132
144
  # @param style [BrushStyle] One of the {Wx::BrushStyle} enumeration values.
133
- # @return [Brush]
145
+ # @return [Wx::Brush]
134
146
  # @overload initialize(stippleBitmap)
135
147
  # Constructs a stippled brush using a bitmap.
136
148
  # The brush style will be set to {Wx::BrushStyle::BRUSHSTYLE_STIPPLE}.
137
149
  # @param stippleBitmap [Wx::Bitmap]
138
- # @return [Brush]
150
+ # @return [Wx::Brush]
139
151
  # @overload initialize(brush)
140
152
  # Copy constructor, uses reference counting.
141
153
  # @param brush [Wx::Brush]
142
- # @return [Brush]
154
+ # @return [Wx::Brush]
143
155
  def initialize(*args) end
144
156
 
145
157
  # Returns a reference to the brush colour.
@@ -93,7 +93,7 @@ module Wx
93
93
 
94
94
  # Default constructor initializes all attributes to default values.
95
95
  # Call the other methods to really fill in the object.
96
- # @return [BusyInfoFlags]
96
+ # @return [Wx::BusyInfoFlags]
97
97
  def initialize; end
98
98
 
99
99
  # Sets the parent for {Wx::BusyInfo}.