wxruby3 0.9.4-x64-mingw-ucrt → 0.9.7-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (390) hide show
  1. checksums.yaml +4 -4
  2. data/.wxconfig +9 -8
  3. data/INSTALL.md +315 -78
  4. data/README.md +32 -21
  5. data/ext/wxbase32u_gcc_custom.dll +0 -0
  6. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  7. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  20. data/lib/wx/core/combo_ctrl.rb +171 -0
  21. data/lib/wx/core/ext.rb +22 -3
  22. data/lib/wx/doc/comboctrl.rb +128 -3
  23. data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
  24. data/lib/wx/doc/gen/accelerator.rb +1 -1
  25. data/lib/wx/doc/gen/accessible.rb +1 -1
  26. data/lib/wx/doc/gen/activity_indicator.rb +1 -1
  27. data/lib/wx/doc/gen/animation.rb +1 -1
  28. data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
  29. data/lib/wx/doc/gen/any_button.rb +1 -1
  30. data/lib/wx/doc/gen/app.rb +1 -1
  31. data/lib/wx/doc/gen/app_traits.rb +3 -55
  32. data/lib/wx/doc/gen/art_provider.rb +1 -3
  33. data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
  34. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
  35. data/lib/wx/doc/gen/aui/aui_manager.rb +352 -349
  36. data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
  37. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
  38. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -37
  39. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
  40. data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
  41. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
  42. data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
  43. data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
  44. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
  45. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
  46. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
  47. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
  48. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
  49. data/lib/wx/doc/gen/banner_window.rb +1 -1
  50. data/lib/wx/doc/gen/bitmap.rb +1 -1
  51. data/lib/wx/doc/gen/bitmap_button.rb +1 -1
  52. data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
  53. data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
  54. data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
  55. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  56. data/lib/wx/doc/gen/brush.rb +1 -1
  57. data/lib/wx/doc/gen/busy_info.rb +1 -1
  58. data/lib/wx/doc/gen/button.rb +1 -1
  59. data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
  60. data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
  61. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  62. data/lib/wx/doc/gen/calendar_event.rb +1 -1
  63. data/lib/wx/doc/gen/caret.rb +1 -1
  64. data/lib/wx/doc/gen/check_box.rb +1 -1
  65. data/lib/wx/doc/gen/check_list_box.rb +1 -1
  66. data/lib/wx/doc/gen/choice.rb +1 -1
  67. data/lib/wx/doc/gen/choicebook.rb +1 -1
  68. data/lib/wx/doc/gen/client_dc.rb +1 -1
  69. data/lib/wx/doc/gen/clipboard.rb +1 -1
  70. data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
  71. data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
  72. data/lib/wx/doc/gen/colour.rb +1 -2
  73. data/lib/wx/doc/gen/colour_dialog.rb +2 -2
  74. data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
  75. data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
  76. data/lib/wx/doc/gen/combo_box.rb +4 -3
  77. data/lib/wx/doc/gen/combo_ctrl.rb +92 -228
  78. data/lib/wx/doc/gen/command_link_button.rb +1 -1
  79. data/lib/wx/doc/gen/config_base.rb +1 -1
  80. data/lib/wx/doc/gen/context_help_button.rb +1 -1
  81. data/lib/wx/doc/gen/control.rb +1 -1
  82. data/lib/wx/doc/gen/control_with_items.rb +1 -1
  83. data/lib/wx/doc/gen/core.rb +5 -5
  84. data/lib/wx/doc/gen/cursor.rb +1 -1
  85. data/lib/wx/doc/gen/data_format.rb +1 -1
  86. data/lib/wx/doc/gen/data_object.rb +1 -1
  87. data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
  88. data/lib/wx/doc/gen/date_event.rb +1 -1
  89. data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
  90. data/lib/wx/doc/gen/dc.rb +1 -4
  91. data/lib/wx/doc/gen/defs.rb +1 -1
  92. data/lib/wx/doc/gen/dial_up_event.rb +1 -1
  93. data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
  94. data/lib/wx/doc/gen/dialog.rb +1 -2
  95. data/lib/wx/doc/gen/dir_dialog.rb +1 -1
  96. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
  97. data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
  98. data/lib/wx/doc/gen/drag_drop.rb +1 -1
  99. data/lib/wx/doc/gen/drag_image.rb +1 -1
  100. data/lib/wx/doc/gen/editable_list_box.rb +1 -1
  101. data/lib/wx/doc/gen/event.rb +1 -1
  102. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  103. data/lib/wx/doc/gen/event_filter.rb +1 -1
  104. data/lib/wx/doc/gen/events.rb +3 -25
  105. data/lib/wx/doc/gen/evt_handler.rb +1 -1
  106. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  107. data/lib/wx/doc/gen/file_ctrl.rb +1 -1
  108. data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
  109. data/lib/wx/doc/gen/file_dialog.rb +1 -3
  110. data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
  111. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +54 -62
  112. data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
  113. data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
  114. data/lib/wx/doc/gen/file_system.rb +2 -59
  115. data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
  116. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  117. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  118. data/lib/wx/doc/gen/flex_grid_sizer.rb +1 -1
  119. data/lib/wx/doc/gen/font.rb +1 -1
  120. data/lib/wx/doc/gen/font_data.rb +1 -1
  121. data/lib/wx/doc/gen/font_dialog.rb +1 -1
  122. data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
  123. data/lib/wx/doc/gen/font_picker_event.rb +1 -1
  124. data/lib/wx/doc/gen/frame.rb +1 -2
  125. data/lib/wx/doc/gen/fs_file.rb +1 -1
  126. data/lib/wx/doc/gen/functions.rb +1 -1
  127. data/lib/wx/doc/gen/gauge.rb +1 -1
  128. data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
  129. data/lib/wx/doc/gen/gcdc.rb +1 -1
  130. data/lib/wx/doc/gen/gdi_common.rb +3 -3
  131. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  132. data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
  133. data/lib/wx/doc/gen/graphics_context.rb +1 -1
  134. data/lib/wx/doc/gen/graphics_object.rb +1 -1
  135. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
  136. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
  137. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
  138. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
  139. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
  140. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
  141. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
  142. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
  143. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
  144. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
  145. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
  146. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
  147. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
  148. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
  149. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
  150. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
  151. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
  152. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
  153. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
  154. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
  155. data/lib/wx/doc/gen/grid/grid_ctrl.rb +2716 -2724
  156. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
  157. data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
  158. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
  159. data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
  160. data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
  161. data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
  162. data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
  163. data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
  164. data/lib/wx/doc/gen/grid_sizer.rb +1 -1
  165. data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
  166. data/lib/wx/doc/gen/header_ctrl.rb +1 -2
  167. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
  168. data/lib/wx/doc/gen/help_controller.rb +1 -1
  169. data/lib/wx/doc/gen/help_provider.rb +1 -1
  170. data/lib/wx/doc/gen/html/html_cell.rb +515 -511
  171. data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
  172. data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
  173. data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
  174. data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
  175. data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
  176. data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
  177. data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
  178. data/lib/wx/doc/gen/html/html_printout.rb +94 -90
  179. data/lib/wx/doc/gen/html/html_window.rb +406 -402
  180. data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
  181. data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
  182. data/lib/wx/doc/gen/icon.rb +1 -1
  183. data/lib/wx/doc/gen/icon_location.rb +1 -1
  184. data/lib/wx/doc/gen/image.rb +1 -3
  185. data/lib/wx/doc/gen/image_list.rb +1 -1
  186. data/lib/wx/doc/gen/info_bar.rb +1 -1
  187. data/lib/wx/doc/gen/keyboard_state.rb +1 -1
  188. data/lib/wx/doc/gen/list_box.rb +1 -1
  189. data/lib/wx/doc/gen/list_ctrl.rb +1 -2
  190. data/lib/wx/doc/gen/list_event.rb +1 -1
  191. data/lib/wx/doc/gen/listbook.rb +1 -1
  192. data/lib/wx/doc/gen/locale.rb +1 -1
  193. data/lib/wx/doc/gen/log.rb +1 -1
  194. data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
  195. data/lib/wx/doc/gen/mdi_frame.rb +1 -1
  196. data/lib/wx/doc/gen/media_ctrl.rb +1 -7
  197. data/lib/wx/doc/gen/media_event.rb +1 -1
  198. data/lib/wx/doc/gen/memory_dc.rb +1 -1
  199. data/lib/wx/doc/gen/menu.rb +1 -3
  200. data/lib/wx/doc/gen/menu_bar.rb +1 -1
  201. data/lib/wx/doc/gen/menu_item.rb +1 -1
  202. data/lib/wx/doc/gen/message_dialog.rb +1 -1
  203. data/lib/wx/doc/gen/mini_frame.rb +1 -1
  204. data/lib/wx/doc/gen/mirror_dc.rb +1 -1
  205. data/lib/wx/doc/gen/mouse_state.rb +1 -1
  206. data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
  207. data/lib/wx/doc/gen/non_owned_window.rb +1 -1
  208. data/lib/wx/doc/gen/notebook.rb +1 -2
  209. data/lib/wx/doc/gen/num_validator.rb +1 -1
  210. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  211. data/lib/wx/doc/gen/object.rb +1 -1
  212. data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
  213. data/lib/wx/doc/gen/paint_dc.rb +1 -1
  214. data/lib/wx/doc/gen/palette.rb +1 -1
  215. data/lib/wx/doc/gen/panel.rb +1 -1
  216. data/lib/wx/doc/gen/pen.rb +1 -1
  217. data/lib/wx/doc/gen/persistence_manager.rb +1 -1
  218. data/lib/wx/doc/gen/persistent_object.rb +1 -1
  219. data/lib/wx/doc/gen/persistent_window.rb +1 -1
  220. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
  221. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
  222. data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
  223. data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
  224. data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
  225. data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
  226. data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1938
  227. data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -273
  228. data/lib/wx/doc/gen/pg/property_grid.rb +708 -706
  229. data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
  230. data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
  231. data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -384
  232. data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -265
  233. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -144
  234. data/lib/wx/doc/gen/picker_base.rb +1 -1
  235. data/lib/wx/doc/gen/platform_info.rb +1 -1
  236. data/lib/wx/doc/gen/popup_window.rb +1 -1
  237. data/lib/wx/doc/gen/progress_dialog.rb +1 -1
  238. data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
  239. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
  240. data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -18
  241. data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
  242. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
  243. data/lib/wx/doc/gen/prt/print_data.rb +637 -633
  244. data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
  245. data/lib/wx/doc/gen/prt/printer.rb +484 -480
  246. data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
  247. data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
  248. data/lib/wx/doc/gen/radio_box.rb +1 -1
  249. data/lib/wx/doc/gen/radio_button.rb +1 -1
  250. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
  251. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
  252. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
  253. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
  254. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
  255. data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
  256. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
  257. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
  258. data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
  259. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
  260. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
  261. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
  262. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
  263. data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
  264. data/lib/wx/doc/gen/rearrange_list.rb +1 -1
  265. data/lib/wx/doc/gen/region.rb +1 -1
  266. data/lib/wx/doc/gen/region_iterator.rb +1 -1
  267. data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
  268. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
  269. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
  270. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
  271. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
  272. data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
  273. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
  274. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
  275. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
  276. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -85
  277. data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
  278. data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
  279. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
  280. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
  281. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -279
  282. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
  283. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -44
  284. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
  285. data/lib/wx/doc/gen/sash_event.rb +1 -1
  286. data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
  287. data/lib/wx/doc/gen/sash_window.rb +1 -1
  288. data/lib/wx/doc/gen/scaled_dc.rb +1 -1
  289. data/lib/wx/doc/gen/screen_dc.rb +1 -1
  290. data/lib/wx/doc/gen/scroll_bar.rb +1 -2
  291. data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
  292. data/lib/wx/doc/gen/scrolled_control.rb +1 -1
  293. data/lib/wx/doc/gen/scrolled_window.rb +1 -1
  294. data/lib/wx/doc/gen/search_ctrl.rb +1 -1
  295. data/lib/wx/doc/gen/simplebook.rb +1 -1
  296. data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
  297. data/lib/wx/doc/gen/sizer.rb +1 -2
  298. data/lib/wx/doc/gen/sizer_item.rb +1 -1
  299. data/lib/wx/doc/gen/slider.rb +1 -2
  300. data/lib/wx/doc/gen/spin_button.rb +1 -1
  301. data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
  302. data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
  303. data/lib/wx/doc/gen/spin_double_event.rb +1 -1
  304. data/lib/wx/doc/gen/spin_event.rb +1 -1
  305. data/lib/wx/doc/gen/splash_screen.rb +2 -2
  306. data/lib/wx/doc/gen/splitter_event.rb +1 -1
  307. data/lib/wx/doc/gen/splitter_window.rb +1 -1
  308. data/lib/wx/doc/gen/static_bitmap.rb +1 -1
  309. data/lib/wx/doc/gen/static_box.rb +1 -1
  310. data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
  311. data/lib/wx/doc/gen/static_line.rb +1 -1
  312. data/lib/wx/doc/gen/static_text.rb +1 -1
  313. data/lib/wx/doc/gen/status_bar.rb +1 -1
  314. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4199
  315. data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7508
  316. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
  317. data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
  318. data/lib/wx/doc/gen/system_options.rb +1 -1
  319. data/lib/wx/doc/gen/system_settings.rb +1 -1
  320. data/lib/wx/doc/gen/task_bar_button.rb +1 -1
  321. data/lib/wx/doc/gen/task_bar_icon.rb +1 -2
  322. data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
  323. data/lib/wx/doc/gen/text_attr.rb +1 -1
  324. data/lib/wx/doc/gen/text_ctrl.rb +1 -6
  325. data/lib/wx/doc/gen/text_entry.rb +1 -1
  326. data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
  327. data/lib/wx/doc/gen/text_validator.rb +1 -1
  328. data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
  329. data/lib/wx/doc/gen/timer.rb +1 -1
  330. data/lib/wx/doc/gen/timer_event.rb +1 -1
  331. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  332. data/lib/wx/doc/gen/toggle_button.rb +1 -1
  333. data/lib/wx/doc/gen/tool_bar.rb +1 -1
  334. data/lib/wx/doc/gen/tool_tip.rb +1 -1
  335. data/lib/wx/doc/gen/toolbook.rb +1 -1
  336. data/lib/wx/doc/gen/top_level_window.rb +1 -1
  337. data/lib/wx/doc/gen/tree_ctrl.rb +1 -3
  338. data/lib/wx/doc/gen/tree_event.rb +1 -1
  339. data/lib/wx/doc/gen/treebook.rb +1 -1
  340. data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
  341. data/lib/wx/doc/gen/utils.rb +1 -1
  342. data/lib/wx/doc/gen/v_list_box.rb +1 -1
  343. data/lib/wx/doc/gen/v_scrolled_window.rb +1 -2
  344. data/lib/wx/doc/gen/validator.rb +1 -1
  345. data/lib/wx/doc/gen/variant.rb +1 -1
  346. data/lib/wx/doc/gen/window.rb +1 -1
  347. data/lib/wx/doc/gen/window_dc.rb +1 -1
  348. data/lib/wx/doc/gen/window_disabler.rb +1 -1
  349. data/lib/wx/doc/gen/with_images.rb +1 -1
  350. data/lib/wx/doc/gen/wizard.rb +1 -2
  351. data/lib/wx/doc/gen/wizard_event.rb +1 -1
  352. data/lib/wx/doc/gen/wizard_page.rb +1 -2
  353. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  354. data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
  355. data/lib/wx/doc/gen/xml_node.rb +1 -1
  356. data/lib/wx/doc/gen/xml_resource.rb +1 -1
  357. data/lib/wx/doc/owner_drawn_combobox.rb +5 -1
  358. data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
  359. data/lib/wx/version.rb +1 -1
  360. data/lib/wx/wxruby/base.rb +6 -4
  361. data/lib/wx/wxruby/cmd/sampler.rb +39 -29
  362. data/lib/wx/wxruby/cmd/setup.rb +122 -0
  363. data/lib/wx/wxruby/cmd/test.rb +56 -6
  364. data/lib/wxruby_aui.so +0 -0
  365. data/lib/wxruby_core.so +0 -0
  366. data/lib/wxruby_grid.so +0 -0
  367. data/lib/wxruby_html.so +0 -0
  368. data/lib/wxruby_pg.so +0 -0
  369. data/lib/wxruby_prt.so +0 -0
  370. data/lib/wxruby_rbn.so +0 -0
  371. data/lib/wxruby_rtc.so +0 -0
  372. data/lib/wxruby_stc.so +0 -0
  373. data/rakelib/install.rb +2 -0
  374. data/rakelib/lib/config/linux.rb +24 -2
  375. data/rakelib/lib/config/macosx.rb +16 -0
  376. data/rakelib/lib/config/mingw.rb +133 -9
  377. data/rakelib/lib/config/pkgman/arch.rb +53 -0
  378. data/rakelib/lib/config/pkgman/base.rb +169 -0
  379. data/rakelib/lib/config/pkgman/debian.rb +66 -0
  380. data/rakelib/lib/config/pkgman/macosx.rb +183 -0
  381. data/rakelib/lib/config/pkgman/rhel.rb +54 -0
  382. data/rakelib/lib/config/pkgman/suse.rb +54 -0
  383. data/rakelib/lib/config/unixish.rb +36 -19
  384. data/rakelib/lib/config.rb +254 -61
  385. data/rakelib/prepost.rake +9 -4
  386. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
  387. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
  388. data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
  389. data/tests/test_combo_ctrl.rb +196 -0
  390. metadata +25 -4
@@ -19,93 +19,96 @@ module Wx
19
19
  # In addition it has other customization features. For instance, position and size of the dropdown button can be changed.
20
20
  #
21
21
  # ## Setting Custom Popup for wxComboCtrl
22
- #
23
22
  # {Wx::ComboCtrl} needs to be told somehow which control to use and this is done by {Wx::ComboCtrl#set_popup_control}. However, we need something more than just a {Wx::Control} in this method as, for example, we need to call SetStringValue("initial text value") and {Wx::Control} doesn't have such method. So we also need a {Wx::ComboPopup} which is an interface which must be implemented by a control to be usable as a popup.
24
23
  # We couldn't derive {Wx::ComboPopup} from {Wx::Control} as this would make it impossible to have a class deriving from a wxWidgets control and from it, so instead it is just a mix-in.
25
24
  # Here's a minimal sample of {Wx::ListView} popup:
26
25
  #
27
- # ```
28
- # \#include <wx/combo.h>
29
- # \#include <wx/listctrl.h>
30
- #
31
- # class wxListViewComboPopup : public wxListView, public wxComboPopup
32
- # {
33
- # public:
34
- # // Initialize member variables
35
- # virtual void Init()
36
- # {
37
- # m_value = -1;
38
- # }
39
- #
40
- # // Create popup control
41
- # virtual bool Create(wxWindow* parent)
42
- # {
43
- # return wxListView::Create(parent,1,wxPoint(0,0),wxDefaultSize);
44
- # }
45
- #
46
- # // Return pointer to the created control
47
- # virtual wxWindow *GetControl() { return this; }
48
- #
49
- # // Translate string into a list selection
50
- # virtual void SetStringValue(const wxString& s)
51
- # {
52
- # int n = wxListView::FindItem(-1,s);
53
- # if ( n >= 0 && n < wxListView::GetItemCount() )
54
- # wxListView::Select(n);
55
- # }
26
+ # ```ruby
27
+ # class ListViewComboPopup < Wx::ListView
28
+ #
29
+ # include Wx::ComboPopup
56
30
  #
57
- # // Get list selection as a string
58
- # virtual wxString GetStringValue() const
59
- # {
60
- # if ( m_value >= 0 )
61
- # return wxListView::GetItemText(m_value);
62
- # return wxEmptyString;
63
- # }
31
+ # # Allow only default ctor
32
+ # def initialize
33
+ # # call default control ctor; need to call Wx::ListView#create later
34
+ # super
35
+ # end
64
36
  #
65
- # // Do mouse hot-tracking (which is typical in list popups)
66
- # void OnMouseMove(wxMouseEvent& event)
67
- # {
68
- # // TODO: Move selection to cursor
69
- # }
37
+ # # Initialize member variables
38
+ # def init
39
+ # @value = -1
40
+ # end
70
41
  #
71
- # // On mouse left up, set the value and close the popup
72
- # void OnMouseClick(wxMouseEvent& WXUNUSED(event))
73
- # {
74
- # m_value = wxListView::GetFirstSelected();
42
+ # # Create popup control
43
+ # def create(parent)
44
+ # # need to finish creating the list view here
45
+ # # as calling super here would just call Wx::ComboPopup#create and not Wx::ListView#create
46
+ # # we need to use Ruby magic
47
+ # wx_lv_create = (Wx::ListView.instance_method :create).bind(self)
48
+ # wx_lv_create.call(parent, 1, [0,0], Wx::DEFAULT_SIZE)
49
+ # evt_motion :on_mouse_move
50
+ # evt_left_up :on_mouse_click
51
+ # end
75
52
  #
76
- # // TODO: Send event as well
53
+ # # Return pointer to the created control
54
+ # def get_control
55
+ # self
56
+ # end
77
57
  #
78
- # Dismiss();
79
- # }
58
+ # def lv_find_item(*args)
59
+ # unless @wx_lv_find_item
60
+ # @wx_lv_find_item = (Wx::ListView.instance_method :find_item).bind(self)
61
+ # end
62
+ # @wx_lv_find_item.call(*args)
63
+ # end
64
+ # protected :lv_find_item
80
65
  #
81
- # protected:
66
+ # # Translate string into a list selection
67
+ # def set_string_value(s)
68
+ # n = lv_find_item(-1, s)
69
+ # if n >= 0 && n < get_item_count
70
+ # select(n)
71
+ # @value = n
72
+ # end
73
+ # end
82
74
  #
83
- # int m_value; // current item index
75
+ # # Get list selection as a string
76
+ # def get_string_value
77
+ # return get_item_text(@value) if @value >= 0
78
+ # ''
79
+ # end
84
80
  #
85
- # private:
86
- # wxDECLARE_EVENT_TABLE();
87
- # };
81
+ # # Do mouse hot-tracking (which is typical in list popups)
82
+ # def on_mouse_move(event)
83
+ # # Move selection to cursor ...
84
+ # end
88
85
  #
89
- # wxBEGIN_EVENT_TABLE(wxListViewComboPopup, wxListView)
90
- # EVT_MOTION(wxListViewComboPopup::OnMouseMove)
91
- # EVT_LEFT_UP(wxListViewComboPopup::OnMouseClick)
92
- # wxEND_EVENT_TABLE()
86
+ # # On mouse left up, set the value and close the popup
87
+ # def on_mouse_click(_event)
88
+ # @value = get_first_selected
89
+ #
90
+ # # Send event as well ...
91
+ #
92
+ # dismiss
93
+ # end
94
+ #
95
+ # end
93
96
  # ```
94
97
  #
95
98
  # Here's how you would create and populate it in a dialog constructor:
96
99
  #
97
- # ```
98
- # wxComboCtrl* comboCtrl = new wxComboCtrl(this, wxID_ANY, wxEmptyString);
100
+ # ```ruby
101
+ # comboCtrl = Wx::ComboCtrl.new(self, Wx::ID_ANY, '')
99
102
  #
100
- # wxListViewComboPopup* popupCtrl = new wxListViewComboPopup();
103
+ # popupCtrl = ListViewComboPopup.new
101
104
  #
102
- # // It is important to call SetPopupControl() as soon as possible
103
- # comboCtrl->SetPopupControl(popupCtrl);
105
+ # # It is important to call #set_popup_control as soon as possible
106
+ # comboCtrl.set_popup_control(popupCtrl)
104
107
  #
105
- # // Populate using wxListView methods
106
- # popupCtrl->InsertItem(popupCtrl->GetItemCount(), "First Item");
107
- # popupCtrl->InsertItem(popupCtrl->GetItemCount(), "Second Item");
108
- # popupCtrl->InsertItem(popupCtrl->GetItemCount(), "Third Item");
108
+ # # Populate using Wx::ListView methods
109
+ # popupCtrl.insert_item((popupCtrl.item_count, 'First Item')
110
+ # popupCtrl.insert_item((popupCtrl.item_count, 'Second Item')
111
+ # popupCtrl.insert_item((popupCtrl.item_count, 'Third Item')
109
112
  # ```
110
113
  #
111
114
  # ### Styles
@@ -231,7 +234,7 @@ module Wx
231
234
  # Prepare background of combo control or an item in a dropdown list in a way typical on platform.
232
235
  #
233
236
  # This includes painting the focus/disabled background and setting the clipping region.
234
- # Unless you plan to paint your own focus indicator, you should always call this in your {Wx::ComboPopup#paint_combo_control} implementation. In addition, it sets pen and text colour to what looks good and proper against the background.
237
+ # Unless you plan to paint your own focus indicator, you should always call this in your {Wx::ComboPopup::PaintComboControl} implementation. In addition, it sets pen and text colour to what looks good and proper against the background.
235
238
  # flags: {Wx::RendererNative} flags: {Wx::CONTROL_ISSUBMENU}: is drawing a list item instead of combo control {Wx::CONTROL_SELECTED}: list item is selected {Wx::CONTROL_DISABLED}: control/item is disabled
236
239
  # @param dc [Wx::DC]
237
240
  # @param rect [Wx::Rect]
@@ -456,23 +459,23 @@ module Wx
456
459
  # By default, combo controls without {Wx::CB_READONLY} style create a {Wx::TextCtrl} which shows the current value and allows to edit it. This method allows to use some other window instead of this {Wx::TextCtrl}.
457
460
  # This method can be called after creating the combo fully, however in this case a {Wx::TextCtrl} is unnecessarily created just to be immediately destroyed when it's replaced by a custom window. If you wish to avoid this, you can use the following approach, also shown in the combo sample:
458
461
  #
459
- # ```
460
- # // Create the combo control using its default ctor.
461
- # wxComboCtrl* combo = new wxComboCtrl();
462
+ # ```ruby
463
+ # # Create the combo control using its default ctor.
464
+ # combo = Wx::ComboCtrl.new
462
465
  #
463
- # // Create the custom main control using its default ctor too.
464
- # SomeWindow* main = new SomeWindow();
466
+ # # Create the custom main control using its default ctor too.
467
+ # main = SomeWindow.new
465
468
  #
466
- # // Set the custom main control before creating the combo.
467
- # combo->SetMainControl(main);
469
+ # # Set the custom main control before creating the combo.
470
+ # combo.set_main_control(main)
468
471
  #
469
- # // And only create it now: wxTextCtrl won't be unnecessarily
470
- # // created because the combo already has a main window.
471
- # combo->Create(panel, wxID_ANY, wxEmptyString);
472
+ # # And only create it now: Wx::TextCtrl won't be unnecessarily
473
+ # # created because the combo already has a main window.
474
+ # combo.create(panel, Wx::ID_ANY, '')
472
475
  #
473
- # // Finally create the main window itself, now that its parent was
474
- # // created.
475
- # main->Create(combo, ...);
476
+ # # Finally create the main window itself, now that its parent was
477
+ # # created.
478
+ # main.create(combo, ...)
476
479
  # ```
477
480
  #
478
481
  # Note that when a custom main window is used, none of the methods of this class inherited from {Wx::TextEntry}, such as {Wx::ComboCtrl#set_value}, {Wx::ComboCtrl#replace}, {Wx::ComboCtrl#set_insertion_point} etc do anything and simply return.
@@ -492,10 +495,9 @@ module Wx
492
495
  # Set popup interface class derived from {Wx::ComboPopup}.
493
496
  #
494
497
  # This method should be called as soon as possible after the control has been created, unless {Wx::ComboCtrl#on_button_click} has been overridden.
495
- # @param popup [Wx::ComboPopup]
498
+ # @param popup [Wx::ComboPopup,nil]
496
499
  # @return [void]
497
500
  def set_popup_control(popup) end
498
- alias_method :popup_control=, :set_popup_control
499
501
 
500
502
  # Extends popup size horizontally, relative to the edges of the combo control.
501
503
  #
@@ -553,13 +555,13 @@ module Wx
553
555
  #
554
556
  # Usually you will need to use this during two-step creation, just before {Wx::ComboCtrl#create}. For example:
555
557
  #
556
- # ```
557
- # wxComboCtrl* comboCtrl = new wxComboCtrl();
558
+ # ```ruby
559
+ # comboCtrl = Wx::ComboCtrl.new
558
560
  #
559
- # // Let's make the text right-aligned
560
- # comboCtrl->SetTextCtrlStyle(wxTE_RIGHT);
561
+ # # Let's make the text right-aligned
562
+ # comboCtrl.set_text_ctrl_style(Wx::TE_RIGHT)
561
563
  #
562
- # comboCtrl->Create(parent, wxID_ANY, wxEmptyString);
564
+ # comboCtrl.create(parent, Wx::ID_ANY, '')
563
565
  # ```
564
566
  # @param style [Integer]
565
567
  # @return [void]
@@ -626,7 +628,7 @@ module Wx
626
628
  # <p>If you have implemented {Wx::ComboCtrl#on_button_click} to do something else than show the popup, then {Wx::ComboCtrl#do_set_popup_control} must always set popup to NULL.
627
629
  # </p>
628
630
  # </div>
629
- # @param popup [Wx::ComboPopup]
631
+ # @param popup [Wx::ComboPopup,nil]
630
632
  # @return [void]
631
633
  def do_set_popup_control(popup) end
632
634
 
@@ -640,143 +642,5 @@ module Wx
640
642
 
641
643
  end # ComboCtrl
642
644
 
643
- # In order to use a custom popup with {Wx::ComboCtrl}, an interface class must be derived from {Wx::ComboPopup}.
644
- #
645
- # For more information on how to use it, see Setting Custom Popup for wxComboCtrl.
646
- #
647
- # Category: {Wx::Controls}
648
- # @see Wx::ComboCtrl
649
- #
650
- #
651
- #
652
- # @note In wxRuby this is a mixin module instead of a (base) class.
653
- # @wxrb_require USE_COMBOCTRL
654
- module ComboPopup
655
-
656
- # Default constructor.
657
- #
658
- # It is recommended that internal variables are prepared in {Wx::ComboPopup#init} instead (because m_combo is not valid in constructor).
659
- # @return [Wx::ComboPopup]
660
- def initialize; end
661
-
662
- # The derived class must implement this to create the popup control.
663
- #
664
- # true if the call succeeded, false otherwise.
665
- # @param parent [Wx::Window]
666
- # @return [Boolean]
667
- def create(parent) end
668
-
669
- # You only need to implement this member function if you create your popup class in non-standard way.
670
- #
671
- # The default implementation can handle both multiple-inherited popup control (as seen in {Wx::ComboCtrl} samples) and one allocated separately in heap.
672
- # If you do completely re-implement this function, make sure it calls Destroy() for the popup control and also deletes this object (usually as the last thing).
673
- # @return [void]
674
- def destroy_popup; end
675
-
676
- # Utility function that hides the popup.
677
- # @return [void]
678
- def dismiss; end
679
-
680
- # Implement to customize matching of value string to an item container entry.
681
- #
682
- # <div class="wxrb-remark">
683
- # <b>Remark:</b>
684
- # <p>Default implementation always return true and does not alter trueItem.
685
- # </p>
686
- # </div>
687
- # @param item [String] String entered, usually by user or from SetValue() call.
688
- # @param trueItem [String] When item matches an entry, but the entry's string representation is not exactly the same (case mismatch, for example), then the true item string should be written back to here, if it is not a NULL pointer.
689
- # @return [Boolean]
690
- def find_item(item, trueItem=nil) end
691
-
692
- # The derived class may implement this to return adjusted size for the popup control, according to the variables given.
693
- #
694
- # <div class="wxrb-remark">
695
- # <b>Remark:</b>
696
- # <p>This function is called each time popup is about to be shown.
697
- # </p>
698
- # </div>
699
- # @param minWidth [Integer] Preferred minimum width.
700
- # @param prefHeight [Integer] Preferred height. May be -1 to indicate no preference.
701
- # @param maxHeight [Integer] Max height for window, as limited by screen size.
702
- # @return [Wx::Size]
703
- def get_adjusted_size(minWidth, prefHeight, maxHeight) end
704
- alias_method :adjusted_size, :get_adjusted_size
705
-
706
- # Returns pointer to the associated parent {Wx::ComboCtrl}.
707
- # @return [Wx::ComboCtrl]
708
- def get_combo_ctrl; end
709
- alias_method :combo_ctrl, :get_combo_ctrl
710
-
711
- # The derived class must implement this to return pointer to the associated control created in {Wx::ComboPopup#create}.
712
- # @return [Wx::Window]
713
- def get_control; end
714
- alias_method :control, :get_control
715
-
716
- # The derived class must implement this to return string representation of the value.
717
- # @return [String]
718
- def get_string_value; end
719
- alias_method :string_value, :get_string_value
720
-
721
- # The derived class must implement this to initialize its internal variables.
722
- #
723
- # This method is called immediately after construction finishes. m_combo member variable has been initialized before the call.
724
- # @return [void]
725
- def init; end
726
-
727
- # Utility method that returns true if Create has been called.
728
- #
729
- # Useful in conjunction with {Wx::ComboPopup#lazy_create}.
730
- # @return [Boolean]
731
- def is_created; end
732
- alias_method :created?, :is_created
733
-
734
- # The derived class may implement this to return true if it wants to delay call to {Wx::ComboPopup#create} until the popup is shown for the first time.
735
- #
736
- # It is more efficient, but on the other hand it is often more convenient to have the control created immediately.
737
- #
738
- # <div class="wxrb-remark">
739
- # <b>Remark:</b>
740
- # <p>Base implementation returns false.
741
- # </p>
742
- # </div>
743
- # @return [Boolean]
744
- def lazy_create; end
745
-
746
- # The derived class may implement this to do something when the parent {Wx::ComboCtrl} gets double-clicked.
747
- # @return [void]
748
- def on_combo_double_click; end
749
-
750
- # The derived class may implement this to receive key events from the parent {Wx::ComboCtrl}.
751
- #
752
- # Events not handled should be skipped, as usual.
753
- # @param event [Wx::KeyEvent]
754
- # @return [void]
755
- def on_combo_key_event(event) end
756
-
757
- # The derived class may implement this to do special processing when popup is hidden.
758
- # @return [void]
759
- def on_dismiss; end
760
-
761
- # The derived class may implement this to do special processing when popup is shown.
762
- # @return [void]
763
- def on_popup; end
764
-
765
- # The derived class may implement this to paint the parent {Wx::ComboCtrl}.
766
- #
767
- # Default implementation draws value as string.
768
- # @param dc [Wx::DC]
769
- # @param rect [Wx::Rect]
770
- # @return [void]
771
- def paint_combo_control(dc, rect) end
772
-
773
- # The derived class must implement this to receive string value changes from {Wx::ComboCtrl}.
774
- # @param value [String]
775
- # @return [void]
776
- def set_string_value(value) end
777
- alias_method :string_value=, :set_string_value
778
-
779
- end # ComboPopup
780
-
781
645
 
782
- end
646
+ end
@@ -114,4 +114,4 @@ module Wx
114
114
  end # CommandLinkButton
115
115
 
116
116
 
117
- end
117
+ end
@@ -7,4 +7,4 @@
7
7
  module Wx
8
8
 
9
9
 
10
- end
10
+ end
@@ -90,4 +90,4 @@ module Wx
90
90
  end # ContextHelp
91
91
 
92
92
 
93
- end
93
+ end
@@ -261,4 +261,4 @@ module Wx
261
261
  end # Control
262
262
 
263
263
 
264
- end
264
+ end
@@ -243,4 +243,4 @@ module Wx
243
243
  end # ControlWithItems
244
244
 
245
245
 
246
- end
246
+ end
@@ -7,16 +7,16 @@
7
7
  module Wx
8
8
 
9
9
  # wxRuby version string
10
- Wx::WXRUBY_VERSION = '0.9.4'
10
+ WXRUBY_VERSION = '0.9.7'
11
11
 
12
12
  # wxRuby version release type (alpha, beta, rc)
13
- Wx::WXRUBY_RELEASE_TYPE = ''
13
+ WXRUBY_RELEASE_TYPE = ''
14
14
  # wxRuby major version number
15
- Wx::WXRUBY_MAJOR = 0
15
+ WXRUBY_MAJOR = 0
16
16
  # wxRuby minor version number
17
- Wx::WXRUBY_MINOR = 9
17
+ WXRUBY_MINOR = 9
18
18
  # wxRuby release number
19
- Wx::WXRUBY_RELEASE = 4
19
+ WXRUBY_RELEASE = 7
20
20
 
21
21
  # Convenience string for WxWidgets version info
22
22
  WXWIDGETS_VERSION = '3.2.4'
@@ -94,4 +94,4 @@ module Wx
94
94
  end # Cursor
95
95
 
96
96
 
97
- end
97
+ end
@@ -95,4 +95,4 @@ module Wx
95
95
  end # DataFormat
96
96
 
97
97
 
98
- end
98
+ end
@@ -440,4 +440,4 @@ module Wx
440
440
  end # URLDataObject
441
441
 
442
442
 
443
- end
443
+ end
@@ -7,4 +7,4 @@
7
7
  module Wx
8
8
 
9
9
 
10
- end
10
+ end
@@ -46,4 +46,4 @@ module Wx
46
46
  end # DateEvent
47
47
 
48
48
 
49
- end
49
+ end
@@ -139,4 +139,4 @@ module Wx
139
139
  end # DatePickerCtrl
140
140
 
141
141
 
142
- end
142
+ end
data/lib/wx/doc/gen/dc.rb CHANGED
@@ -139,18 +139,15 @@ module Wx
139
139
  # Beginning with wxWidgets 2.9.0 the entire {Wx::DC} code has been reorganized. All platform dependent code (actually all drawing code) has been moved into backend classes which derive from a common {Wx::DCImpl} class. The user-visible classes such as {Wx::ClientDC} and {Wx::PaintDC} merely forward all calls to the backend implementation.
140
140
  #
141
141
  # ## Device and logical units
142
- #
143
142
  # In the {Wx::DC} context there is a distinction between logical units and device units.
144
143
  # <b>Device</b> units are the units native to the particular device; e.g. for a screen, a device unit is a pixel. For a printer, the device unit is defined by the resolution of the printer (usually given in DPI: dot-per-inch).
145
144
  # All {Wx::DC} functions use instead <b>logical</b> units, unless where explicitly stated. Logical units are arbitrary units mapped to device units using the current mapping mode (see {Wx::DC#set_map_mode}).
146
145
  # This mechanism allows reusing the same code which prints on e.g. a window on the screen to print on e.g. a paper.
147
146
  #
148
147
  # ## Support for Transparency / Alpha Channel
149
- #
150
148
  # In general {Wx::DC} methods don't support alpha transparency and the alpha component of {Wx::Colour} is simply ignored and you need to use {Wx::GraphicsContext} for full transparency support. There are, however, a few exceptions: first, under macOS and GTK+ 3 colours with alpha channel are supported in all the normal {Wx::DC}-derived classes as they use {Wx::GraphicsContext} internally. Second, under all platforms {Wx::SVGFileDC} also fully supports alpha channel. In both of these cases the instances of {Wx::Pen} or {Wx::Brush} that are built from {Wx::Colour} use the colour's alpha values when stroking or filling.
151
149
  #
152
150
  # ## Support for Transformation Matrix
153
- #
154
151
  # On some platforms (currently under MSW, GTK+ 3, macOS) {Wx::DC} has support for applying an arbitrary affine transformation matrix to its coordinate system (since 3.1.1 this feature is also supported by {Wx::GCDC} in all ports). Call {Wx::DC#can_use_transform_matrix} to check if this support is available and then call {Wx::DC#set_transform_matrix} if it is. If the transformation matrix is not supported, {Wx::DC#set_transform_matrix} always simply returns false and doesn't do anything.
155
152
  # This feature is only available when {Wx::Setup::USE_DC_TRANSFORM_MATRIX} build option is enabled.
156
153
  #
@@ -1557,4 +1554,4 @@ module Wx
1557
1554
  end # FontMetrics
1558
1555
 
1559
1556
 
1560
- end
1557
+ end
@@ -2788,4 +2788,4 @@ module Wx
2788
2788
  DEFAULT_COORD = -1
2789
2789
 
2790
2790
 
2791
- end
2791
+ end
@@ -40,4 +40,4 @@ module Wx
40
40
  end # DialUpEvent
41
41
 
42
42
 
43
- end
43
+ end
@@ -146,4 +146,4 @@ module Wx
146
146
  end # DialUpManager
147
147
 
148
148
 
149
- end
149
+ end
@@ -52,7 +52,6 @@ module Wx
52
52
  # Also notice that the {Wx::Dialog#create_button_sizer} should be used to create the buttons appropriate for the current platform and positioned correctly (including their order which is platform-dependent).
53
53
  #
54
54
  # ## Modal and Modeless
55
- #
56
55
  # There are two kinds of dialog, modal and modeless. A modal dialog blocks program flow and user input on other windows until it is dismissed, whereas a modeless dialog behaves more like a frame in that program flow continues, and input in other windows is still possible. To show a modal dialog you should use the {Wx::Dialog#show_modal} method while to show a dialog modelessly you simply use {Wx::Dialog#show}, just as with frames.
57
56
  # Note that dialogs need to be explicitly destroyed when closed and not used anymore. The traditional code for this would be like:
58
57
  #
@@ -529,4 +528,4 @@ module Wx
529
528
  end # DialogLayoutAdapter
530
529
 
531
530
 
532
- end
531
+ end
@@ -152,4 +152,4 @@ module Wx
152
152
  end # DirDialog
153
153
 
154
154
 
155
- end
155
+ end
@@ -79,4 +79,4 @@ module Wx
79
79
  end # DirFilterListCtrl
80
80
 
81
81
 
82
- end
82
+ end
@@ -109,4 +109,4 @@ module Wx
109
109
  end # DirPickerCtrl
110
110
 
111
111
 
112
- end
112
+ end
@@ -296,4 +296,4 @@ module Wx
296
296
  end # TextDropTarget
297
297
 
298
298
 
299
- end
299
+ end
@@ -106,4 +106,4 @@ module Wx
106
106
  end # DragImage
107
107
 
108
108
 
109
- end
109
+ end
@@ -92,4 +92,4 @@ module Wx
92
92
  end # EditableListBox
93
93
 
94
94
 
95
- end
95
+ end
@@ -967,4 +967,4 @@ module Wx
967
967
  end # CommandEvent
968
968
 
969
969
 
970
- end
970
+ end
@@ -47,4 +47,4 @@ module Wx
47
47
  end # EventBlocker
48
48
 
49
49
 
50
- end
50
+ end
@@ -89,4 +89,4 @@ module Wx
89
89
  end # EventFilter
90
90
 
91
91
 
92
- end
92
+ end