wxruby3 0.9.0.pre.beta.1-x64-mingw-ucrt-3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (822) hide show
  1. checksums.yaml +7 -0
  2. data/.wxconfig +17 -0
  3. data/.yardopts +13 -0
  4. data/CREDITS.md +52 -0
  5. data/LICENSE +21 -0
  6. data/README.md +138 -0
  7. data/bin/wxruby +9 -0
  8. data/bin/wxruby.bat +20 -0
  9. data/ext/mkrf_conf_bingem.rb +18 -0
  10. data/lib/wx/accessors.rb +63 -0
  11. data/lib/wx/aui/auimanager.rb +17 -0
  12. data/lib/wx/aui/auinotebook.rb +9 -0
  13. data/lib/wx/aui/events/evt_list.rb +143 -0
  14. data/lib/wx/aui/require.rb +9 -0
  15. data/lib/wx/aui.rb +14 -0
  16. data/lib/wx/core/acceleratortable.rb +28 -0
  17. data/lib/wx/core/animation.rb +18 -0
  18. data/lib/wx/core/app.rb +89 -0
  19. data/lib/wx/core/artprovider.rb +31 -0
  20. data/lib/wx/core/bitmap.rb +59 -0
  21. data/lib/wx/core/busycursor.rb +12 -0
  22. data/lib/wx/core/choice.rb +4 -0
  23. data/lib/wx/core/choicedlg.rb +54 -0
  24. data/lib/wx/core/clientdc.rb +13 -0
  25. data/lib/wx/core/clipboard.rb +56 -0
  26. data/lib/wx/core/collapsible_pane.rb +12 -0
  27. data/lib/wx/core/colour.rb +34 -0
  28. data/lib/wx/core/combobox.rb +4 -0
  29. data/lib/wx/core/controlwithitems.rb +10 -0
  30. data/lib/wx/core/data_object.rb +10 -0
  31. data/lib/wx/core/dataformat.rb +26 -0
  32. data/lib/wx/core/dc.rb +68 -0
  33. data/lib/wx/core/dialog.rb +50 -0
  34. data/lib/wx/core/event.rb +16 -0
  35. data/lib/wx/core/events/evt_list.rb +1378 -0
  36. data/lib/wx/core/evthandler.rb +240 -0
  37. data/lib/wx/core/ext.rb +58 -0
  38. data/lib/wx/core/font/encoding.rb +113 -0
  39. data/lib/wx/core/font.rb +22 -0
  40. data/lib/wx/core/functions.rb +44 -0
  41. data/lib/wx/core/gauge.rb +12 -0
  42. data/lib/wx/core/genericdirctrl.rb +36 -0
  43. data/lib/wx/core/hboxsizer.rb +6 -0
  44. data/lib/wx/core/helpcontroller.rb +5 -0
  45. data/lib/wx/core/helpcontrollerhelpprovider.rb +24 -0
  46. data/lib/wx/core/helpprovider.rb +15 -0
  47. data/lib/wx/core/icon.rb +40 -0
  48. data/lib/wx/core/image.rb +68 -0
  49. data/lib/wx/core/imagelist.rb +3 -0
  50. data/lib/wx/core/listbox.rb +4 -0
  51. data/lib/wx/core/listctrl.rb +33 -0
  52. data/lib/wx/core/locale.rb +73 -0
  53. data/lib/wx/core/log.rb +20 -0
  54. data/lib/wx/core/menu.rb +78 -0
  55. data/lib/wx/core/menu_bar.rb +20 -0
  56. data/lib/wx/core/menuitem.rb +7 -0
  57. data/lib/wx/core/notebook.rb +9 -0
  58. data/lib/wx/core/object.rb +14 -0
  59. data/lib/wx/core/pen_info.rb +11 -0
  60. data/lib/wx/core/platform_info.rb +13 -0
  61. data/lib/wx/core/point.rb +92 -0
  62. data/lib/wx/core/real_point.rb +92 -0
  63. data/lib/wx/core/rect.rb +57 -0
  64. data/lib/wx/core/simplehelpprovider.rb +38 -0
  65. data/lib/wx/core/size.rb +86 -0
  66. data/lib/wx/core/sizer.rb +43 -0
  67. data/lib/wx/core/splash_screen.rb +44 -0
  68. data/lib/wx/core/textctrl.rb +8 -0
  69. data/lib/wx/core/timer.rb +105 -0
  70. data/lib/wx/core/toolbar.rb +37 -0
  71. data/lib/wx/core/toolbartool.rb +4 -0
  72. data/lib/wx/core/treectrl.rb +46 -0
  73. data/lib/wx/core/validator.rb +8 -0
  74. data/lib/wx/core/variant.rb +62 -0
  75. data/lib/wx/core/vboxsizer.rb +6 -0
  76. data/lib/wx/core/window.rb +95 -0
  77. data/lib/wx/core/window_update_locker.rb +12 -0
  78. data/lib/wx/core/xmlresource.rb +56 -0
  79. data/lib/wx/core.rb +61 -0
  80. data/lib/wx/doc/aui/auimanager.rb +12 -0
  81. data/lib/wx/doc/aui/auinotebook.rb +9 -0
  82. data/lib/wx/doc/colour_dialog.rb +15 -0
  83. data/lib/wx/doc/dc.rb +49 -0
  84. data/lib/wx/doc/enum.rb +66 -0
  85. data/lib/wx/doc/evthandler.rb +84 -0
  86. data/lib/wx/doc/extra/00_starting.md +154 -0
  87. data/lib/wx/doc/extra/01_packages.md +179 -0
  88. data/lib/wx/doc/extra/02_lifecycles.md +116 -0
  89. data/lib/wx/doc/extra/03_dialogs.md +57 -0
  90. data/lib/wx/doc/extra/04_enums.md +143 -0
  91. data/lib/wx/doc/extra/05_event-handling.md +166 -0
  92. data/lib/wx/doc/extra/06_geometry.md +56 -0
  93. data/lib/wx/doc/extra/07_colour_and_font.md +52 -0
  94. data/lib/wx/doc/extra/08_extensions.md +144 -0
  95. data/lib/wx/doc/extra/09_exceptions.md +54 -0
  96. data/lib/wx/doc/functions.rb +221 -0
  97. data/lib/wx/doc/gdi_common.rb +181 -0
  98. data/lib/wx/doc/gen/about_dialog_info.rb +315 -0
  99. data/lib/wx/doc/gen/accelerator.rb +172 -0
  100. data/lib/wx/doc/gen/accessible.rb +817 -0
  101. data/lib/wx/doc/gen/animation.rb +253 -0
  102. data/lib/wx/doc/gen/animation_ctrl.rb +129 -0
  103. data/lib/wx/doc/gen/any_button.rb +170 -0
  104. data/lib/wx/doc/gen/app.rb +363 -0
  105. data/lib/wx/doc/gen/art_provider.rb +497 -0
  106. data/lib/wx/doc/gen/aui/aui_dock_art.rb +421 -0
  107. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +39 -0
  108. data/lib/wx/doc/gen/aui/aui_manager.rb +323 -0
  109. data/lib/wx/doc/gen/aui/aui_manager_event.rb +112 -0
  110. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +163 -0
  111. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +46 -0
  112. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -0
  113. data/lib/wx/doc/gen/aui/aui_notebook.rb +329 -0
  114. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +179 -0
  115. data/lib/wx/doc/gen/aui/aui_pane_info.rb +665 -0
  116. data/lib/wx/doc/gen/aui/aui_tab_art.rb +372 -0
  117. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +147 -0
  118. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +437 -0
  119. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +272 -0
  120. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +195 -0
  121. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +224 -0
  122. data/lib/wx/doc/gen/aui/event_list.rb +162 -0
  123. data/lib/wx/doc/gen/auto_buffered_paint_dc.rb +47 -0
  124. data/lib/wx/doc/gen/bitmap.rb +638 -0
  125. data/lib/wx/doc/gen/bitmap_button.rb +91 -0
  126. data/lib/wx/doc/gen/book_ctrl_base.rb +240 -0
  127. data/lib/wx/doc/gen/book_ctrl_event.rb +60 -0
  128. data/lib/wx/doc/gen/box_sizer.rb +66 -0
  129. data/lib/wx/doc/gen/brush.rb +219 -0
  130. data/lib/wx/doc/gen/buffered_dc.rb +95 -0
  131. data/lib/wx/doc/gen/buffered_paint_dc.rb +55 -0
  132. data/lib/wx/doc/gen/busy_info.rb +141 -0
  133. data/lib/wx/doc/gen/button.rb +133 -0
  134. data/lib/wx/doc/gen/calculate_layout_event.rb +59 -0
  135. data/lib/wx/doc/gen/calendar_ctrl.rb +236 -0
  136. data/lib/wx/doc/gen/calendar_date_attr.rb +137 -0
  137. data/lib/wx/doc/gen/calendar_event.rb +150 -0
  138. data/lib/wx/doc/gen/caret.rb +99 -0
  139. data/lib/wx/doc/gen/check_box.rb +145 -0
  140. data/lib/wx/doc/gen/check_list_box.rb +96 -0
  141. data/lib/wx/doc/gen/choice.rb +143 -0
  142. data/lib/wx/doc/gen/choicebook.rb +100 -0
  143. data/lib/wx/doc/gen/client_dc.rb +49 -0
  144. data/lib/wx/doc/gen/clipboard.rb +128 -0
  145. data/lib/wx/doc/gen/collapsible_pane.rb +120 -0
  146. data/lib/wx/doc/gen/collapsible_pane_event.rb +45 -0
  147. data/lib/wx/doc/gen/colour.rb +289 -0
  148. data/lib/wx/doc/gen/colour_data.rb +96 -0
  149. data/lib/wx/doc/gen/colour_dialog.rb +84 -0
  150. data/lib/wx/doc/gen/colour_picker_ctrl.rb +89 -0
  151. data/lib/wx/doc/gen/colour_picker_event.rb +74 -0
  152. data/lib/wx/doc/gen/combo_box.rb +228 -0
  153. data/lib/wx/doc/gen/context_help_button.rb +34 -0
  154. data/lib/wx/doc/gen/control.rb +245 -0
  155. data/lib/wx/doc/gen/control_with_items.rb +339 -0
  156. data/lib/wx/doc/gen/core.rb +42 -0
  157. data/lib/wx/doc/gen/cursor.rb +127 -0
  158. data/lib/wx/doc/gen/data_format.rb +94 -0
  159. data/lib/wx/doc/gen/data_object.rb +439 -0
  160. data/lib/wx/doc/gen/date_event.rb +48 -0
  161. data/lib/wx/doc/gen/date_picker_ctrl.rb +127 -0
  162. data/lib/wx/doc/gen/dc.rb +1278 -0
  163. data/lib/wx/doc/gen/defs.rb +2832 -0
  164. data/lib/wx/doc/gen/dialog.rb +426 -0
  165. data/lib/wx/doc/gen/dir_dialog.rb +134 -0
  166. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +80 -0
  167. data/lib/wx/doc/gen/dir_picker_ctrl.rb +103 -0
  168. data/lib/wx/doc/gen/drag_drop.rb +292 -0
  169. data/lib/wx/doc/gen/drag_image.rb +123 -0
  170. data/lib/wx/doc/gen/editable_list_box.rb +89 -0
  171. data/lib/wx/doc/gen/event.rb +911 -0
  172. data/lib/wx/doc/gen/event_list.rb +1512 -0
  173. data/lib/wx/doc/gen/events.rb +2499 -0
  174. data/lib/wx/doc/gen/evt_handler.rb +224 -0
  175. data/lib/wx/doc/gen/ext_help_controller.rb +100 -0
  176. data/lib/wx/doc/gen/file_dialog.rb +294 -0
  177. data/lib/wx/doc/gen/file_dir_picker_event.rb +98 -0
  178. data/lib/wx/doc/gen/file_picker_ctrl.rb +107 -0
  179. data/lib/wx/doc/gen/find_dialog_event.rb +119 -0
  180. data/lib/wx/doc/gen/find_replace_data.rb +59 -0
  181. data/lib/wx/doc/gen/find_replace_dialog.rb +44 -0
  182. data/lib/wx/doc/gen/flex_grid_sizer.rb +145 -0
  183. data/lib/wx/doc/gen/font.rb +1282 -0
  184. data/lib/wx/doc/gen/font_data.rb +132 -0
  185. data/lib/wx/doc/gen/font_dialog.rb +71 -0
  186. data/lib/wx/doc/gen/font_picker_ctrl.rb +120 -0
  187. data/lib/wx/doc/gen/font_picker_event.rb +64 -0
  188. data/lib/wx/doc/gen/frame.rb +276 -0
  189. data/lib/wx/doc/gen/fs_file.rb +269 -0
  190. data/lib/wx/doc/gen/functions.rb +10 -0
  191. data/lib/wx/doc/gen/gauge.rb +127 -0
  192. data/lib/wx/doc/gen/gb_sizer_item.rb +78 -0
  193. data/lib/wx/doc/gen/gcdc.rb +61 -0
  194. data/lib/wx/doc/gen/gdi_common.rb +1108 -0
  195. data/lib/wx/doc/gen/gdi_object.rb +29 -0
  196. data/lib/wx/doc/gen/generic_dir_ctrl.rb +198 -0
  197. data/lib/wx/doc/gen/graphics_context.rb +764 -0
  198. data/lib/wx/doc/gen/graphics_object.rb +494 -0
  199. data/lib/wx/doc/gen/grid/event_list.rb +173 -0
  200. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +33 -0
  201. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +279 -0
  202. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +31 -0
  203. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +32 -0
  204. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +44 -0
  205. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +31 -0
  206. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +48 -0
  207. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +33 -0
  208. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +40 -0
  209. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +35 -0
  210. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +181 -0
  211. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +34 -0
  212. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +39 -0
  213. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +41 -0
  214. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +74 -0
  215. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +41 -0
  216. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +31 -0
  217. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +98 -0
  218. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +31 -0
  219. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +45 -0
  220. data/lib/wx/doc/gen/grid/grid_ctrl.rb +2381 -0
  221. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +87 -0
  222. data/lib/wx/doc/gen/grid/grid_event.rb +96 -0
  223. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +96 -0
  224. data/lib/wx/doc/gen/grid/grid_size_event.rb +71 -0
  225. data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -0
  226. data/lib/wx/doc/gen/grid/grid_table_base.rb +288 -0
  227. data/lib/wx/doc/gen/grid/grid_table_message.rb +73 -0
  228. data/lib/wx/doc/gen/grid_bag_sizer.rb +298 -0
  229. data/lib/wx/doc/gen/grid_sizer.rb +135 -0
  230. data/lib/wx/doc/gen/help_controller.rb +136 -0
  231. data/lib/wx/doc/gen/help_provider.rb +80 -0
  232. data/lib/wx/doc/gen/html/event_list.rb +46 -0
  233. data/lib/wx/doc/gen/html/html_cell.rb +441 -0
  234. data/lib/wx/doc/gen/html/html_cell_event.rb +62 -0
  235. data/lib/wx/doc/gen/html/html_easy_printing.rb +169 -0
  236. data/lib/wx/doc/gen/html/html_help_controller.rb +256 -0
  237. data/lib/wx/doc/gen/html/html_help_data.rb +144 -0
  238. data/lib/wx/doc/gen/html/html_help_frame.rb +112 -0
  239. data/lib/wx/doc/gen/html/html_help_window.rb +230 -0
  240. data/lib/wx/doc/gen/html/html_link_event.rb +36 -0
  241. data/lib/wx/doc/gen/html/html_list_box.rb +150 -0
  242. data/lib/wx/doc/gen/html/html_printout.rb +87 -0
  243. data/lib/wx/doc/gen/html/html_window.rb +386 -0
  244. data/lib/wx/doc/gen/icon.rb +267 -0
  245. data/lib/wx/doc/gen/icon_location.rb +38 -0
  246. data/lib/wx/doc/gen/image.rb +1144 -0
  247. data/lib/wx/doc/gen/image_list.rb +181 -0
  248. data/lib/wx/doc/gen/keyboard_state.rb +124 -0
  249. data/lib/wx/doc/gen/list_box.rb +260 -0
  250. data/lib/wx/doc/gen/list_ctrl.rb +1542 -0
  251. data/lib/wx/doc/gen/list_event.rb +177 -0
  252. data/lib/wx/doc/gen/listbook.rb +100 -0
  253. data/lib/wx/doc/gen/locale.rb +4143 -0
  254. data/lib/wx/doc/gen/log.rb +505 -0
  255. data/lib/wx/doc/gen/mdi_client_window.rb +38 -0
  256. data/lib/wx/doc/gen/mdi_frame.rb +235 -0
  257. data/lib/wx/doc/gen/media_ctrl.rb +225 -0
  258. data/lib/wx/doc/gen/media_event.rb +109 -0
  259. data/lib/wx/doc/gen/memory_dc.rb +95 -0
  260. data/lib/wx/doc/gen/menu.rb +493 -0
  261. data/lib/wx/doc/gen/menu_bar.rb +247 -0
  262. data/lib/wx/doc/gen/menu_item.rb +333 -0
  263. data/lib/wx/doc/gen/message_dialog.rb +195 -0
  264. data/lib/wx/doc/gen/mini_frame.rb +72 -0
  265. data/lib/wx/doc/gen/mirror_dc.rb +29 -0
  266. data/lib/wx/doc/gen/mouse_state.rb +108 -0
  267. data/lib/wx/doc/gen/multi_choice_dialog.rb +58 -0
  268. data/lib/wx/doc/gen/non_owned_window.rb +46 -0
  269. data/lib/wx/doc/gen/notebook.rb +220 -0
  270. data/lib/wx/doc/gen/number_entry_dialog.rb +75 -0
  271. data/lib/wx/doc/gen/object.rb +69 -0
  272. data/lib/wx/doc/gen/paint_dc.rb +34 -0
  273. data/lib/wx/doc/gen/palette.rb +90 -0
  274. data/lib/wx/doc/gen/panel.rb +96 -0
  275. data/lib/wx/doc/gen/pen.rb +484 -0
  276. data/lib/wx/doc/gen/pg/event_list.rb +102 -0
  277. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +47 -0
  278. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +295 -0
  279. data/lib/wx/doc/gen/pg/pg_cell.rb +166 -0
  280. data/lib/wx/doc/gen/pg/pg_editor.rb +569 -0
  281. data/lib/wx/doc/gen/pg/pg_multi_button.rb +161 -0
  282. data/lib/wx/doc/gen/pg/pg_properties.rb +2193 -0
  283. data/lib/wx/doc/gen/pg/pg_property.rb +1852 -0
  284. data/lib/wx/doc/gen/pg/pg_validation_info.rb +327 -0
  285. data/lib/wx/doc/gen/pg/property_grid.rb +619 -0
  286. data/lib/wx/doc/gen/pg/property_grid_event.rb +135 -0
  287. data/lib/wx/doc/gen/pg/property_grid_interface.rb +847 -0
  288. data/lib/wx/doc/gen/pg/property_grid_manager.rb +349 -0
  289. data/lib/wx/doc/gen/pg/property_grid_page.rb +265 -0
  290. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +155 -0
  291. data/lib/wx/doc/gen/picker_base.rb +143 -0
  292. data/lib/wx/doc/gen/platform_info.rb +379 -0
  293. data/lib/wx/doc/gen/popup_window.rb +93 -0
  294. data/lib/wx/doc/gen/progress_dialog.rb +106 -0
  295. data/lib/wx/doc/gen/property_sheet_dialog.rb +185 -0
  296. data/lib/wx/doc/gen/prt/event_list.rb +13 -0
  297. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +38 -0
  298. data/lib/wx/doc/gen/prt/post_script_dc.rb +32 -0
  299. data/lib/wx/doc/gen/prt/preview_frame.rb +39 -0
  300. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +127 -0
  301. data/lib/wx/doc/gen/prt/print_data.rb +598 -0
  302. data/lib/wx/doc/gen/prt/print_dialog.rb +47 -0
  303. data/lib/wx/doc/gen/prt/printer.rb +428 -0
  304. data/lib/wx/doc/gen/prt/printer_dc.rb +35 -0
  305. data/lib/wx/doc/gen/query_layout_info_event.rb +98 -0
  306. data/lib/wx/doc/gen/radio_box.rb +258 -0
  307. data/lib/wx/doc/gen/radio_button.rb +128 -0
  308. data/lib/wx/doc/gen/rbn/event_list.rb +132 -0
  309. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1652 -0
  310. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +227 -0
  311. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +40 -0
  312. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +400 -0
  313. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +58 -0
  314. data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -0
  315. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +208 -0
  316. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +51 -0
  317. data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -0
  318. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +232 -0
  319. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +41 -0
  320. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +321 -0
  321. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +36 -0
  322. data/lib/wx/doc/gen/region.rb +299 -0
  323. data/lib/wx/doc/gen/rtc/event_list.rb +121 -0
  324. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +2052 -0
  325. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +2031 -0
  326. data/lib/wx/doc/gen/rtc/rich_text_event.rb +146 -0
  327. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +171 -0
  328. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +180 -0
  329. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +104 -0
  330. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +241 -0
  331. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +55 -0
  332. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +153 -0
  333. data/lib/wx/doc/gen/sash_event.rb +133 -0
  334. data/lib/wx/doc/gen/sash_layout_window.rb +203 -0
  335. data/lib/wx/doc/gen/sash_window.rb +154 -0
  336. data/lib/wx/doc/gen/screen_dc.rb +27 -0
  337. data/lib/wx/doc/gen/scrolled_canvas.rb +317 -0
  338. data/lib/wx/doc/gen/scrolled_control.rb +317 -0
  339. data/lib/wx/doc/gen/scrolled_window.rb +337 -0
  340. data/lib/wx/doc/gen/simplebook.rb +93 -0
  341. data/lib/wx/doc/gen/single_choice_dialog.rb +74 -0
  342. data/lib/wx/doc/gen/sizer.rb +847 -0
  343. data/lib/wx/doc/gen/sizer_item.rb +227 -0
  344. data/lib/wx/doc/gen/slider.rb +316 -0
  345. data/lib/wx/doc/gen/spin_button.rb +124 -0
  346. data/lib/wx/doc/gen/spin_ctrl.rb +170 -0
  347. data/lib/wx/doc/gen/spin_event.rb +47 -0
  348. data/lib/wx/doc/gen/splash_screen.rb +83 -0
  349. data/lib/wx/doc/gen/splitter_event.rb +87 -0
  350. data/lib/wx/doc/gen/splitter_window.rb +357 -0
  351. data/lib/wx/doc/gen/static_bitmap.rb +126 -0
  352. data/lib/wx/doc/gen/static_box.rb +123 -0
  353. data/lib/wx/doc/gen/static_box_sizer.rb +67 -0
  354. data/lib/wx/doc/gen/static_line.rb +66 -0
  355. data/lib/wx/doc/gen/static_text.rb +98 -0
  356. data/lib/wx/doc/gen/status_bar.rb +203 -0
  357. data/lib/wx/doc/gen/stc/event_list.rb +217 -0
  358. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4000 -0
  359. data/lib/wx/doc/gen/stc/styled_text_event.rb +7319 -0
  360. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +74 -0
  361. data/lib/wx/doc/gen/svg_file_dc.rb +153 -0
  362. data/lib/wx/doc/gen/system_options.rb +109 -0
  363. data/lib/wx/doc/gen/system_settings.rb +481 -0
  364. data/lib/wx/doc/gen/task_bar_icon.rb +94 -0
  365. data/lib/wx/doc/gen/task_bar_icon_event.rb +86 -0
  366. data/lib/wx/doc/gen/text_attr.rb +645 -0
  367. data/lib/wx/doc/gen/text_ctrl.rb +841 -0
  368. data/lib/wx/doc/gen/text_entry.rb +389 -0
  369. data/lib/wx/doc/gen/text_entry_dialog.rb +170 -0
  370. data/lib/wx/doc/gen/text_validator.rb +212 -0
  371. data/lib/wx/doc/gen/time_picker_ctrl.rb +103 -0
  372. data/lib/wx/doc/gen/timer.rb +103 -0
  373. data/lib/wx/doc/gen/timer_event.rb +73 -0
  374. data/lib/wx/doc/gen/tip_provider.rb +60 -0
  375. data/lib/wx/doc/gen/toggle_button.rb +84 -0
  376. data/lib/wx/doc/gen/tool_bar.rb +744 -0
  377. data/lib/wx/doc/gen/tool_tip.rb +73 -0
  378. data/lib/wx/doc/gen/toolbook.rb +103 -0
  379. data/lib/wx/doc/gen/top_level_window.rb +462 -0
  380. data/lib/wx/doc/gen/tree_ctrl.rb +863 -0
  381. data/lib/wx/doc/gen/tree_event.rb +101 -0
  382. data/lib/wx/doc/gen/treebook.rb +154 -0
  383. data/lib/wx/doc/gen/utils.rb +257 -0
  384. data/lib/wx/doc/gen/v_list_box.rb +224 -0
  385. data/lib/wx/doc/gen/v_scrolled_window.rb +224 -0
  386. data/lib/wx/doc/gen/validator.rb +73 -0
  387. data/lib/wx/doc/gen/variant.rb +340 -0
  388. data/lib/wx/doc/gen/window.rb +2414 -0
  389. data/lib/wx/doc/gen/window_dc.rb +35 -0
  390. data/lib/wx/doc/gen/window_disabler.rb +24 -0
  391. data/lib/wx/doc/gen/with_images.rb +73 -0
  392. data/lib/wx/doc/gen/wizard.rb +197 -0
  393. data/lib/wx/doc/gen/wizard_event.rb +105 -0
  394. data/lib/wx/doc/gen/wizard_page.rb +61 -0
  395. data/lib/wx/doc/gen/wizard_page_simple.rb +72 -0
  396. data/lib/wx/doc/gen/xml_node.rb +282 -0
  397. data/lib/wx/doc/gen/xml_resource.rb +304 -0
  398. data/lib/wx/doc/grid/grid.rb +20 -0
  399. data/lib/wx/doc/help_controller.rb +14 -0
  400. data/lib/wx/doc/html/html_help_controller.rb +8 -0
  401. data/lib/wx/doc/pg/events.rb +15 -0
  402. data/lib/wx/doc/pg/pg_property.rb +8 -0
  403. data/lib/wx/doc/pg/pgeditor.rb +21 -0
  404. data/lib/wx/doc/pg/property_grid.rb +48 -0
  405. data/lib/wx/doc/pg/property_grid_interface.rb +64 -0
  406. data/lib/wx/doc/prt/page_setup_dialog.rb +15 -0
  407. data/lib/wx/doc/prt/print_data.rb +9 -0
  408. data/lib/wx/doc/prt/print_dialog.rb +26 -0
  409. data/lib/wx/doc/prt/printer.rb +15 -0
  410. data/lib/wx/doc/rbn/ribbon_bar.rb +9 -0
  411. data/lib/wx/doc/rbn/ribbon_button_bar.rb +9 -0
  412. data/lib/wx/doc/rbn/ribbon_gallery.rb +9 -0
  413. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +9 -0
  414. data/lib/wx/doc/rtc/richtext_printing.rb +14 -0
  415. data/lib/wx/doc/screen_dc.rb +10 -0
  416. data/lib/wx/doc/stock_objects.rb +98 -0
  417. data/lib/wx/doc/stream.rb +38 -0
  418. data/lib/wx/doc/system_settings.rb +29 -0
  419. data/lib/wx/doc/treebook.rb +9 -0
  420. data/lib/wx/doc/variant.rb +163 -0
  421. data/lib/wx/doc/xml_resource.rb +19 -0
  422. data/lib/wx/global_const.rb +84 -0
  423. data/lib/wx/grid/events/evt_list.rb +156 -0
  424. data/lib/wx/grid/grid.rb +7 -0
  425. data/lib/wx/grid/keyword_defs.rb +10 -0
  426. data/lib/wx/grid/require.rb +9 -0
  427. data/lib/wx/grid.rb +14 -0
  428. data/lib/wx/helpers.rb +65 -0
  429. data/lib/wx/html/events/evt_list.rb +37 -0
  430. data/lib/wx/html/htmlhelpcontroller.rb +6 -0
  431. data/lib/wx/html/htmlwindow.rb +19 -0
  432. data/lib/wx/html/keyword_defs.rb +22 -0
  433. data/lib/wx/html/require.rb +10 -0
  434. data/lib/wx/html.rb +15 -0
  435. data/lib/wx/keyword_ctors.rb +226 -0
  436. data/lib/wx/keyword_defs.rb +487 -0
  437. data/lib/wx/pg/events/evt_list.rb +73 -0
  438. data/lib/wx/pg/events.rb +14 -0
  439. data/lib/wx/pg/keyword_defs.rb +15 -0
  440. data/lib/wx/pg/pg_editor.rb +13 -0
  441. data/lib/wx/pg/pg_properties.rb +24 -0
  442. data/lib/wx/pg/pg_property.rb +26 -0
  443. data/lib/wx/pg/property_grid.rb +56 -0
  444. data/lib/wx/pg/property_grid_interface.rb +33 -0
  445. data/lib/wx/pg/require.rb +12 -0
  446. data/lib/wx/pg.rb +14 -0
  447. data/lib/wx/prt/keyword_defs.rb +8 -0
  448. data/lib/wx/prt/page_setup_dialog.rb +15 -0
  449. data/lib/wx/prt/previewframe.rb +13 -0
  450. data/lib/wx/prt/require.rb +8 -0
  451. data/lib/wx/prt.rb +14 -0
  452. data/lib/wx/rbn/events/evt_list.rb +102 -0
  453. data/lib/wx/rbn/events.rb +4 -0
  454. data/lib/wx/rbn/keyword_defs.rb +43 -0
  455. data/lib/wx/rbn/require.rb +12 -0
  456. data/lib/wx/rbn/ribbon_art_provider.rb +10 -0
  457. data/lib/wx/rbn/ribbon_bar.rb +12 -0
  458. data/lib/wx/rbn/ribbon_button_bar.rb +26 -0
  459. data/lib/wx/rbn/ribbon_control.rb +25 -0
  460. data/lib/wx/rbn/ribbon_gallery.rb +26 -0
  461. data/lib/wx/rbn/ribbon_page.rb +15 -0
  462. data/lib/wx/rbn/ribbon_panel.rb +15 -0
  463. data/lib/wx/rbn/ribbon_tool_bar.rb +26 -0
  464. data/lib/wx/rbn.rb +14 -0
  465. data/lib/wx/rtc/events/evt_list.rb +98 -0
  466. data/lib/wx/rtc/ext/rich_text_ctrl.rb +24 -0
  467. data/lib/wx/rtc/ext.rb +15 -0
  468. data/lib/wx/rtc/keyword_defs.rb +17 -0
  469. data/lib/wx/rtc/require.rb +8 -0
  470. data/lib/wx/rtc.rb +15 -0
  471. data/lib/wx/stc/events/evt_list.rb +178 -0
  472. data/lib/wx/stc/keyword_defs.rb +8 -0
  473. data/lib/wx/stc/require.rb +7 -0
  474. data/lib/wx/stc.rb +14 -0
  475. data/lib/wx/version.rb +3 -0
  476. data/lib/wx/wxruby/base.rb +87 -0
  477. data/lib/wx/wxruby/cmd/sampler.rb +68 -0
  478. data/lib/wx/wxruby/cmd/test.rb +27 -0
  479. data/lib/wx.rb +14 -0
  480. data/lib/wxruby_aui.so +0 -0
  481. data/lib/wxruby_core.so +0 -0
  482. data/lib/wxruby_grid.so +0 -0
  483. data/lib/wxruby_html.so +0 -0
  484. data/lib/wxruby_pg.so +0 -0
  485. data/lib/wxruby_prt.so +0 -0
  486. data/lib/wxruby_rbn.so +0 -0
  487. data/lib/wxruby_rtc.so +0 -0
  488. data/lib/wxruby_stc.so +0 -0
  489. data/rakelib/install.rb +220 -0
  490. data/rakelib/lib/config/cygwin.rb +6 -0
  491. data/rakelib/lib/config/linux.rb +78 -0
  492. data/rakelib/lib/config/macosx.rb +6 -0
  493. data/rakelib/lib/config/mingw.rb +133 -0
  494. data/rakelib/lib/config/netbsd.rb +6 -0
  495. data/rakelib/lib/config/unixish.rb +187 -0
  496. data/rakelib/lib/config.rb +673 -0
  497. data/rakelib/lib/ext/enum_chain.rb +22 -0
  498. data/rakelib/prepost.rake +91 -0
  499. data/rakelib/prepost.rb +26 -0
  500. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +7 -0
  501. data/rakelib/yard/templates/default/layout/html/setup.rb +5 -0
  502. data/rakelib/yard/yard/relative_markdown_links/version.rb +8 -0
  503. data/rakelib/yard/yard/relative_markdown_links.rb +39 -0
  504. data/rakelib/yard/yard-custom-templates.rb +2 -0
  505. data/rakelib/yard/yard-relative_markdown_links.rb +4 -0
  506. data/samples/art/wxruby-128x128.png +0 -0
  507. data/samples/art/wxruby-256x256.png +0 -0
  508. data/samples/art/wxruby-64x64.png +0 -0
  509. data/samples/art/wxruby.ico +0 -0
  510. data/samples/art/wxruby.png +0 -0
  511. data/samples/aui/aui.rb +1321 -0
  512. data/samples/aui/tn_aui.png +0 -0
  513. data/samples/bigdemo/About.rbw +39 -0
  514. data/samples/bigdemo/ColorPanel.rbw +23 -0
  515. data/samples/bigdemo/GridSimple.rbw +78 -0
  516. data/samples/bigdemo/MDIDemo.rbw +57 -0
  517. data/samples/bigdemo/PopupMenu.rbw +146 -0
  518. data/samples/bigdemo/ShapedWindow.rbw +128 -0
  519. data/samples/bigdemo/Sizers.rbw +541 -0
  520. data/samples/bigdemo/bigdemo.rb +810 -0
  521. data/samples/bigdemo/demoTemplate.rbw +33 -0
  522. data/samples/bigdemo/helpfile.htb +0 -0
  523. data/samples/bigdemo/icons/Test 015.jpg +0 -0
  524. data/samples/bigdemo/icons/Test 015.png +0 -0
  525. data/samples/bigdemo/icons/choice.bmp +0 -0
  526. data/samples/bigdemo/icons/choice.xpm +27 -0
  527. data/samples/bigdemo/icons/combo.bmp +0 -0
  528. data/samples/bigdemo/icons/combo.xpm +27 -0
  529. data/samples/bigdemo/icons/copy.xpm +25 -0
  530. data/samples/bigdemo/icons/cut.xpm +24 -0
  531. data/samples/bigdemo/icons/gauge.bmp +0 -0
  532. data/samples/bigdemo/icons/gauge.xpm +27 -0
  533. data/samples/bigdemo/icons/help.xpm +25 -0
  534. data/samples/bigdemo/icons/list.bmp +0 -0
  535. data/samples/bigdemo/icons/list.xpm +27 -0
  536. data/samples/bigdemo/icons/mondrian.ico +0 -0
  537. data/samples/bigdemo/icons/mondrian.xpm +44 -0
  538. data/samples/bigdemo/icons/new.xpm +24 -0
  539. data/samples/bigdemo/icons/ogl.ico +0 -0
  540. data/samples/bigdemo/icons/ogl.xpm +45 -0
  541. data/samples/bigdemo/icons/open.xpm +26 -0
  542. data/samples/bigdemo/icons/paste.bmp +0 -0
  543. data/samples/bigdemo/icons/paste.xpm +38 -0
  544. data/samples/bigdemo/icons/pointy.png +0 -0
  545. data/samples/bigdemo/icons/preview.xpm +26 -0
  546. data/samples/bigdemo/icons/print.xpm +26 -0
  547. data/samples/bigdemo/icons/radio.bmp +0 -0
  548. data/samples/bigdemo/icons/radio.xpm +27 -0
  549. data/samples/bigdemo/icons/robert.xpm +415 -0
  550. data/samples/bigdemo/icons/sashtest.ico +0 -0
  551. data/samples/bigdemo/icons/save.xpm +25 -0
  552. data/samples/bigdemo/icons/smiles.bmp +0 -0
  553. data/samples/bigdemo/icons/smiles.xpm +39 -0
  554. data/samples/bigdemo/icons/smiley.ico +0 -0
  555. data/samples/bigdemo/icons/smiley.xpm +42 -0
  556. data/samples/bigdemo/icons/stattext.xpm +24 -0
  557. data/samples/bigdemo/icons/test2.bmp +0 -0
  558. data/samples/bigdemo/icons/test2.png +0 -0
  559. data/samples/bigdemo/icons/test2.xpm +79 -0
  560. data/samples/bigdemo/icons/text.bmp +0 -0
  561. data/samples/bigdemo/icons/text.xpm +27 -0
  562. data/samples/bigdemo/icons/tog1.bmp +0 -0
  563. data/samples/bigdemo/icons/tog1.xpm +38 -0
  564. data/samples/bigdemo/icons/tog2.bmp +0 -0
  565. data/samples/bigdemo/icons/tog2.xpm +38 -0
  566. data/samples/bigdemo/icons/wxruby-128x128.png +0 -0
  567. data/samples/bigdemo/icons/wxwin.ico +0 -0
  568. data/samples/bigdemo/icons/wxwin16x16.png +0 -0
  569. data/samples/bigdemo/icons/wxwin16x16.xpm +25 -0
  570. data/samples/bigdemo/icons/wxwin32x32.png +0 -0
  571. data/samples/bigdemo/icons/wxwin48x48.png +0 -0
  572. data/samples/bigdemo/run.rb +91 -0
  573. data/samples/bigdemo/tips.txt +7 -0
  574. data/samples/bigdemo/utils.rb +12 -0
  575. data/samples/bigdemo/wxArtProvider.rbw +281 -0
  576. data/samples/bigdemo/wxBitmapButton.rbw +65 -0
  577. data/samples/bigdemo/wxButton.rbw +64 -0
  578. data/samples/bigdemo/wxCalendarCtrl.rbw +59 -0
  579. data/samples/bigdemo/wxCheckBox.rbw +50 -0
  580. data/samples/bigdemo/wxCheckListBox.rbw +65 -0
  581. data/samples/bigdemo/wxChoice.rbw +47 -0
  582. data/samples/bigdemo/wxChoicebook.rbw +78 -0
  583. data/samples/bigdemo/wxColourDialog.rbw +33 -0
  584. data/samples/bigdemo/wxComboBox.rbw +77 -0
  585. data/samples/bigdemo/wxCursor.rbw +136 -0
  586. data/samples/bigdemo/wxDialog.rbw +74 -0
  587. data/samples/bigdemo/wxDirDialog.rbw +29 -0
  588. data/samples/bigdemo/wxDragImage.rbw +70 -0
  589. data/samples/bigdemo/wxFileDialog.rbw +37 -0
  590. data/samples/bigdemo/wxFileDialog_Save.rbw +35 -0
  591. data/samples/bigdemo/wxFindReplaceDialog.rbw +82 -0
  592. data/samples/bigdemo/wxFontDialog.rbw +200 -0
  593. data/samples/bigdemo/wxFrame.rbw +53 -0
  594. data/samples/bigdemo/wxGauge.rbw +65 -0
  595. data/samples/bigdemo/wxGenericDirCtrl.rbw +74 -0
  596. data/samples/bigdemo/wxGrid.rbw +66 -0
  597. data/samples/bigdemo/wxHtmlHelpController.rbw +52 -0
  598. data/samples/bigdemo/wxListBox.rbw +140 -0
  599. data/samples/bigdemo/wxListCtrl_virtual.rbw +112 -0
  600. data/samples/bigdemo/wxMDIWindows.rbw +50 -0
  601. data/samples/bigdemo/wxMenu.rbw +247 -0
  602. data/samples/bigdemo/wxMessageDialog.rbw +27 -0
  603. data/samples/bigdemo/wxMiniFrame.rbw +70 -0
  604. data/samples/bigdemo/wxMultipleChoiceDialog.rbw +29 -0
  605. data/samples/bigdemo/wxNotebook.rbw +136 -0
  606. data/samples/bigdemo/wxProgressDialog.rbw +43 -0
  607. data/samples/bigdemo/wxRadioBox.rbw +72 -0
  608. data/samples/bigdemo/wxRadioButton.rbw +125 -0
  609. data/samples/bigdemo/wxSashWindow.rbw +141 -0
  610. data/samples/bigdemo/wxScrolledMessageDialog.rbw +57 -0
  611. data/samples/bigdemo/wxScrolledWindow.rbw +199 -0
  612. data/samples/bigdemo/wxSingleChoiceDialog.rbw +33 -0
  613. data/samples/bigdemo/wxSlider.rbw +42 -0
  614. data/samples/bigdemo/wxSpinButton.rbw +50 -0
  615. data/samples/bigdemo/wxSpinCtrl.rbw +51 -0
  616. data/samples/bigdemo/wxSplitterWindow.rbw +63 -0
  617. data/samples/bigdemo/wxStaticBitmap.rbw +47 -0
  618. data/samples/bigdemo/wxStaticText.rbw +55 -0
  619. data/samples/bigdemo/wxStatusBar.rbw +126 -0
  620. data/samples/bigdemo/wxTextCtrl.rbw +149 -0
  621. data/samples/bigdemo/wxTextEntryDialog.rbw +31 -0
  622. data/samples/bigdemo/wxToggleButton.rbw +49 -0
  623. data/samples/bigdemo/wxToolBar.rbw +131 -0
  624. data/samples/bigdemo/wxTreeCtrl.rbw +191 -0
  625. data/samples/calendar/calendar.rb +363 -0
  626. data/samples/calendar/tn_calendar.png +0 -0
  627. data/samples/caret/caret.rb +293 -0
  628. data/samples/caret/mondrian.xpm +44 -0
  629. data/samples/caret/tn_caret.png +0 -0
  630. data/samples/controls/books.rb +183 -0
  631. data/samples/controls/controls.rb +1143 -0
  632. data/samples/controls/get_item_sample.rb +117 -0
  633. data/samples/controls/icons/choice.xpm +27 -0
  634. data/samples/controls/icons/combo.xpm +27 -0
  635. data/samples/controls/icons/gauge.xpm +27 -0
  636. data/samples/controls/icons/list.xpm +27 -0
  637. data/samples/controls/icons/radio.xpm +27 -0
  638. data/samples/controls/icons/stattext.xpm +24 -0
  639. data/samples/controls/icons/text.xpm +27 -0
  640. data/samples/controls/mondrian.ico +0 -0
  641. data/samples/controls/mondrian.xpm +44 -0
  642. data/samples/controls/test2.bmp +0 -0
  643. data/samples/controls/tn_books.png +0 -0
  644. data/samples/controls/tn_controls.png +0 -0
  645. data/samples/controls/tn_get_item_sample.png +0 -0
  646. data/samples/dialogs/dialogs.rb +879 -0
  647. data/samples/dialogs/tips.txt +18 -0
  648. data/samples/dialogs/tn_dialogs.png +0 -0
  649. data/samples/dialogs/tn_wizard.png +0 -0
  650. data/samples/dialogs/wizard.rb +89 -0
  651. data/samples/dragdrop/dragdrop.rb +200 -0
  652. data/samples/dragdrop/tn_dragdrop.png +0 -0
  653. data/samples/drawing/SVGlogo24.xpm +310 -0
  654. data/samples/drawing/bitmap.rb +76 -0
  655. data/samples/drawing/bitmap_image.rb +131 -0
  656. data/samples/drawing/graphics_drawing.rb +257 -0
  657. data/samples/drawing/maths_images.rb +327 -0
  658. data/samples/drawing/rmagic_bitmap_image.rb +139 -0
  659. data/samples/drawing/ruby-logo.jpg +0 -0
  660. data/samples/drawing/svgtest.rb +373 -0
  661. data/samples/drawing/tn_bitmap.png +0 -0
  662. data/samples/drawing/tn_bitmap_image.png +0 -0
  663. data/samples/drawing/tn_graphics_drawing.png +0 -0
  664. data/samples/drawing/tn_maths_images.png +0 -0
  665. data/samples/drawing/tn_rmagic_bitmap_image.png +0 -0
  666. data/samples/drawing/tn_svgtest.png +0 -0
  667. data/samples/etc/choice.rb +82 -0
  668. data/samples/etc/miniframe.rb +92 -0
  669. data/samples/etc/sash.rb +140 -0
  670. data/samples/etc/scrollwin.rb +120 -0
  671. data/samples/etc/system_settings.rb +263 -0
  672. data/samples/etc/tn_choice.png +0 -0
  673. data/samples/etc/tn_miniframe.png +0 -0
  674. data/samples/etc/tn_sash.png +0 -0
  675. data/samples/etc/tn_scrollwin.png +0 -0
  676. data/samples/etc/tn_system_settings.png +0 -0
  677. data/samples/event/activation.rb +129 -0
  678. data/samples/event/event.rb +220 -0
  679. data/samples/event/threaded.rb +141 -0
  680. data/samples/event/tn_activation.png +0 -0
  681. data/samples/event/tn_event.png +0 -0
  682. data/samples/event/tn_threaded.png +0 -0
  683. data/samples/event/tn_update_ui_event.png +0 -0
  684. data/samples/event/update_ui_event.rb +91 -0
  685. data/samples/grid/grid.rb +224 -0
  686. data/samples/grid/gridtablebase.rb +178 -0
  687. data/samples/grid/tn_grid.png +0 -0
  688. data/samples/grid/tn_gridtablebase.png +0 -0
  689. data/samples/html/8859_2.htm +14 -0
  690. data/samples/html/cp1250.htm +19 -0
  691. data/samples/html/foo.png +0 -0
  692. data/samples/html/html.rb +278 -0
  693. data/samples/html/i18n.gif +0 -0
  694. data/samples/html/imagemap.htm +20 -0
  695. data/samples/html/imagemap.png +0 -0
  696. data/samples/html/listtest.htm +28 -0
  697. data/samples/html/pic.png +0 -0
  698. data/samples/html/pic2.bmp +0 -0
  699. data/samples/html/regres.htm +20 -0
  700. data/samples/html/subsup.html +42 -0
  701. data/samples/html/tables.htm +255 -0
  702. data/samples/html/test.htm +375 -0
  703. data/samples/html/tn_html.png +0 -0
  704. data/samples/mdi/mdi.rb +118 -0
  705. data/samples/mdi/tn_mdi.png +0 -0
  706. data/samples/minimal/minimal.rb +95 -0
  707. data/samples/minimal/mondrian.ico +0 -0
  708. data/samples/minimal/mondrian.png +0 -0
  709. data/samples/minimal/nothing.rb +38 -0
  710. data/samples/minimal/tn_minimal.png +0 -0
  711. data/samples/minimal/tn_nothing.png +0 -0
  712. data/samples/printing/mondrian.ico +0 -0
  713. data/samples/printing/mondrian.xpm +44 -0
  714. data/samples/printing/printing.rb +499 -0
  715. data/samples/printing/printing2.rb +251 -0
  716. data/samples/printing/sample-text.txt +213 -0
  717. data/samples/printing/tn_printing.png +0 -0
  718. data/samples/printing/tn_printing2.png +0 -0
  719. data/samples/propgrid/propgrid.rb +2707 -0
  720. data/samples/propgrid/propgrid_minimal.rb +106 -0
  721. data/samples/propgrid/sample_props.rb +434 -0
  722. data/samples/propgrid/tn_propgrid.png +0 -0
  723. data/samples/propgrid/tn_propgrid_minimal.png +0 -0
  724. data/samples/ribbon/align_center.xpm +21 -0
  725. data/samples/ribbon/align_left.xpm +21 -0
  726. data/samples/ribbon/align_right.xpm +21 -0
  727. data/samples/ribbon/aui_style.xpm +53 -0
  728. data/samples/ribbon/auto_crop_selection.xpm +55 -0
  729. data/samples/ribbon/auto_crop_selection_small.xpm +33 -0
  730. data/samples/ribbon/circle.xpm +38 -0
  731. data/samples/ribbon/circle_small.xpm +22 -0
  732. data/samples/ribbon/colours.xpm +25 -0
  733. data/samples/ribbon/cross.xpm +38 -0
  734. data/samples/ribbon/empty.xpm +23 -0
  735. data/samples/ribbon/expand_selection_h.xpm +46 -0
  736. data/samples/ribbon/expand_selection_v.xpm +46 -0
  737. data/samples/ribbon/eye.xpm +26 -0
  738. data/samples/ribbon/hexagon.xpm +38 -0
  739. data/samples/ribbon/msw_style.xpm +65 -0
  740. data/samples/ribbon/position_left.xpm +22 -0
  741. data/samples/ribbon/position_top.xpm +22 -0
  742. data/samples/ribbon/ribbon.rb +900 -0
  743. data/samples/ribbon/ribbon.xpm +54 -0
  744. data/samples/ribbon/selection_panel.xpm +23 -0
  745. data/samples/ribbon/square.xpm +38 -0
  746. data/samples/ribbon/tn_ribbon.png +0 -0
  747. data/samples/ribbon/triangle.xpm +38 -0
  748. data/samples/sample.xpm +475 -0
  749. data/samples/sampler/back.xpm +21 -0
  750. data/samples/sampler/copy.xpm +44 -0
  751. data/samples/sampler/cut.xpm +46 -0
  752. data/samples/sampler/editor.rb +534 -0
  753. data/samples/sampler/ext.rb +51 -0
  754. data/samples/sampler/filesave.xpm +42 -0
  755. data/samples/sampler/find.xpm +62 -0
  756. data/samples/sampler/findrepl.xpm +63 -0
  757. data/samples/sampler/forward.xpm +21 -0
  758. data/samples/sampler/paste.xpm +46 -0
  759. data/samples/sampler/play.xpm +24 -0
  760. data/samples/sampler/redo.xpm +58 -0
  761. data/samples/sampler/sample.rb +337 -0
  762. data/samples/sampler/stc_editor.rb +326 -0
  763. data/samples/sampler/txt_editor.rb +135 -0
  764. data/samples/sampler/undo.xpm +58 -0
  765. data/samples/sampler.rb +401 -0
  766. data/samples/splash/mobile.xpm +1835 -0
  767. data/samples/splash/splash.png +0 -0
  768. data/samples/splash/splash.rb +164 -0
  769. data/samples/splash/tn_splash.png +0 -0
  770. data/samples/text/document-open.png +0 -0
  771. data/samples/text/document-save.png +0 -0
  772. data/samples/text/edit-copy.png +0 -0
  773. data/samples/text/edit-cut.png +0 -0
  774. data/samples/text/edit-paste.png +0 -0
  775. data/samples/text/edit-redo.png +0 -0
  776. data/samples/text/edit-undo.png +0 -0
  777. data/samples/text/format-text-bold.png +0 -0
  778. data/samples/text/format-text-italic.png +0 -0
  779. data/samples/text/format-text-underline.png +0 -0
  780. data/samples/text/mondrian.ico +0 -0
  781. data/samples/text/mondrian.xpm +44 -0
  782. data/samples/text/preferences-desktop-font.png +0 -0
  783. data/samples/text/rich_textctrl.rb +326 -0
  784. data/samples/text/scintilla.rb +179 -0
  785. data/samples/text/textctrl.rb +124 -0
  786. data/samples/text/tn_rich_textctrl.png +0 -0
  787. data/samples/text/tn_scintilla.png +0 -0
  788. data/samples/text/tn_textctrl.png +0 -0
  789. data/samples/text/tn_unicode.png +0 -0
  790. data/samples/text/unicode.rb +238 -0
  791. data/samples/text/utf8.txt +15 -0
  792. data/samples/treectrl/checked.xpm +54 -0
  793. data/samples/treectrl/icon1.xpm +79 -0
  794. data/samples/treectrl/icon2.xpm +53 -0
  795. data/samples/treectrl/icon3.xpm +79 -0
  796. data/samples/treectrl/icon4.xpm +43 -0
  797. data/samples/treectrl/icon5.xpm +79 -0
  798. data/samples/treectrl/state1.xpm +145 -0
  799. data/samples/treectrl/state2.xpm +144 -0
  800. data/samples/treectrl/state3.xpm +142 -0
  801. data/samples/treectrl/state4.xpm +145 -0
  802. data/samples/treectrl/state5.xpm +85 -0
  803. data/samples/treectrl/tn_treectrl.png +0 -0
  804. data/samples/treectrl/treectrl.rb +1720 -0
  805. data/samples/treectrl/unchecked.xpm +30 -0
  806. data/samples/xrc/custom_dialog.xrc +46 -0
  807. data/samples/xrc/custom_xrc_sample.rb +84 -0
  808. data/samples/xrc/samples.xrc +46 -0
  809. data/samples/xrc/tn_xrc_sample.png +0 -0
  810. data/samples/xrc/xrc_sample.rb +86 -0
  811. data/tests/test_basic.rb +20 -0
  812. data/tests/test_clipboard.rb +241 -0
  813. data/tests/test_dialog.rb +28 -0
  814. data/tests/test_event_handling.rb +103 -0
  815. data/tests/test_events.rb +45 -0
  816. data/tests/test_geometry.rb +141 -0
  817. data/tests/test_intl.rb +107 -0
  818. data/tests/test_item_data.rb +120 -0
  819. data/tests/test_variant.rb +151 -0
  820. data/tests/testapp.rb +40 -0
  821. data/tests/testapp_noframe.rb +28 -0
  822. metadata +912 -0
@@ -0,0 +1,2832 @@
1
+ # :stopdoc:
2
+ # This file is automatically generated by the WXRuby3 documentation
3
+ # generator. Do not alter this file.
4
+ # :startdoc:
5
+
6
+
7
+ module Wx
8
+
9
+ #
10
+ SIZE_AUTO_WIDTH = 1
11
+
12
+ #
13
+ SIZE_AUTO_HEIGHT = 2
14
+
15
+ #
16
+ SIZE_AUTO = 3
17
+
18
+ #
19
+ SIZE_USE_EXISTING = 0
20
+
21
+ #
22
+ SIZE_ALLOW_MINUS_ONE = 4
23
+
24
+ #
25
+ SIZE_NO_ADJUSTMENTS = 8
26
+
27
+ #
28
+ SIZE_FORCE = 16
29
+
30
+ #
31
+ SIZE_FORCE_EVENT = 32
32
+
33
+ #
34
+ VSCROLL = -2147483648
35
+
36
+ #
37
+ HSCROLL = 1073741824
38
+
39
+ #
40
+ CAPTION = 536870912
41
+
42
+ #
43
+ DOUBLE_BORDER = 268435456
44
+
45
+ #
46
+ SUNKEN_BORDER = 134217728
47
+
48
+ #
49
+ RAISED_BORDER = 67108864
50
+
51
+ #
52
+ BORDER = 33554432
53
+
54
+ #
55
+ SIMPLE_BORDER = 33554432
56
+
57
+ #
58
+ STATIC_BORDER = 16777216
59
+
60
+ #
61
+ NO_BORDER = 2097152
62
+
63
+ #
64
+ ALWAYS_SHOW_SB = 8388608
65
+
66
+ #
67
+ CLIP_CHILDREN = 4194304
68
+
69
+ #
70
+ CLIP_SIBLINGS = 536870912
71
+
72
+ #
73
+ TRANSPARENT_WINDOW = 1048576
74
+
75
+ #
76
+ TAB_TRAVERSAL = 524288
77
+
78
+ #
79
+ WANTS_CHARS = 262144
80
+
81
+ #
82
+ RETAINED = 0
83
+
84
+ #
85
+ BACKINGSTORE = 0
86
+
87
+ #
88
+ POPUP_WINDOW = 131072
89
+
90
+ #
91
+ FULL_REPAINT_ON_RESIZE = 65536
92
+
93
+ #
94
+ NO_FULL_REPAINT_ON_RESIZE = 0
95
+
96
+ #
97
+ WINDOW_STYLE_MASK = -65536
98
+
99
+ #
100
+ WS_EX_BLOCK_EVENTS = 2
101
+
102
+ #
103
+ WS_EX_TRANSIENT = 4
104
+
105
+ #
106
+ WS_EX_THEMED_BACKGROUND = 8
107
+
108
+ #
109
+ WS_EX_PROCESS_IDLE = 16
110
+
111
+ #
112
+ WS_EX_PROCESS_UI_UPDATES = 32
113
+
114
+ #
115
+ FRAME_EX_METAL = 64
116
+
117
+ #
118
+ DIALOG_EX_METAL = 64
119
+
120
+ #
121
+ WS_EX_CONTEXTHELP = 128
122
+
123
+ #
124
+ FRAME_EX_CONTEXTHELP = 128
125
+
126
+ #
127
+ DIALOG_EX_CONTEXTHELP = 128
128
+
129
+ #
130
+ FRAME_DRAWER = 32
131
+
132
+ #
133
+ FRAME_NO_WINDOW_MENU = 256
134
+
135
+ #
136
+ MB_DOCKABLE = 1
137
+
138
+ #
139
+ MENU_TEAROFF = 1
140
+
141
+ #
142
+ COLOURED = 2048
143
+
144
+ #
145
+ FIXED_LENGTH = 1024
146
+
147
+ #
148
+ LB_SORT = 16
149
+
150
+ #
151
+ LB_SINGLE = 32
152
+
153
+ #
154
+ LB_MULTIPLE = 64
155
+
156
+ #
157
+ LB_EXTENDED = 128
158
+
159
+ #
160
+ LB_NEEDED_SB = 0
161
+
162
+ #
163
+ LB_OWNERDRAW = 256
164
+
165
+ #
166
+ LB_ALWAYS_SB = 512
167
+
168
+ #
169
+ LB_NO_SB = 1024
170
+
171
+ #
172
+ LB_HSCROLL = 1073741824
173
+
174
+ #
175
+ LB_INT_HEIGHT = 2048
176
+
177
+ #
178
+ CB_SIMPLE = 4
179
+
180
+ #
181
+ CB_SORT = 8
182
+
183
+ #
184
+ CB_READONLY = 16
185
+
186
+ #
187
+ CB_DROPDOWN = 32
188
+
189
+ #
190
+ RA_LEFTTORIGHT = 1
191
+
192
+ #
193
+ RA_TOPTOBOTTOM = 2
194
+
195
+ #
196
+ RA_SPECIFY_COLS = 4
197
+
198
+ #
199
+ RA_SPECIFY_ROWS = 8
200
+
201
+ #
202
+ RA_HORIZONTAL = 4
203
+
204
+ #
205
+ RA_VERTICAL = 8
206
+
207
+ #
208
+ RB_GROUP = 4
209
+
210
+ #
211
+ RB_SINGLE = 8
212
+
213
+ #
214
+ SB_HORIZONTAL = 4
215
+
216
+ #
217
+ SB_VERTICAL = 8
218
+
219
+ #
220
+ SP_HORIZONTAL = 4
221
+
222
+ #
223
+ SP_VERTICAL = 8
224
+
225
+ #
226
+ SP_ARROW_KEYS = 16384
227
+
228
+ #
229
+ SP_WRAP = 32768
230
+
231
+ #
232
+ TC_RIGHTJUSTIFY = 16
233
+
234
+ #
235
+ TC_FIXEDWIDTH = 32
236
+
237
+ #
238
+ TC_TOP = 0
239
+
240
+ #
241
+ TC_LEFT = 32
242
+
243
+ #
244
+ TC_RIGHT = 64
245
+
246
+ #
247
+ TC_BOTTOM = 128
248
+
249
+ #
250
+ TC_MULTILINE = 512
251
+
252
+ #
253
+ TC_OWNERDRAW = 1024
254
+
255
+ #
256
+ BI_EXPAND = 8192
257
+
258
+ #
259
+ LI_HORIZONTAL = 4
260
+
261
+ #
262
+ LI_VERTICAL = 8
263
+
264
+ #
265
+ YES = 2
266
+
267
+ #
268
+ OK = 4
269
+
270
+ #
271
+ NO = 8
272
+
273
+ #
274
+ YES_NO = 10
275
+
276
+ #
277
+ CANCEL = 16
278
+
279
+ #
280
+ APPLY = 32
281
+
282
+ #
283
+ CLOSE = 64
284
+
285
+ #
286
+ OK_DEFAULT = 0
287
+
288
+ #
289
+ YES_DEFAULT = 0
290
+
291
+ #
292
+ NO_DEFAULT = 128
293
+
294
+ #
295
+ CANCEL_DEFAULT = -2147483648
296
+
297
+ #
298
+ ICON_EXCLAMATION = 256
299
+
300
+ #
301
+ ICON_HAND = 512
302
+
303
+ #
304
+ ICON_WARNING = 256
305
+
306
+ #
307
+ ICON_ERROR = 512
308
+
309
+ #
310
+ ICON_QUESTION = 1024
311
+
312
+ #
313
+ ICON_INFORMATION = 2048
314
+
315
+ #
316
+ ICON_STOP = 512
317
+
318
+ #
319
+ ICON_ASTERISK = 2048
320
+
321
+ #
322
+ HELP = 4096
323
+
324
+ #
325
+ FORWARD = 8192
326
+
327
+ #
328
+ BACKWARD = 16384
329
+
330
+ #
331
+ RESET = 32768
332
+
333
+ #
334
+ MORE = 65536
335
+
336
+ #
337
+ SETUP = 131072
338
+
339
+ #
340
+ ICON_NONE = 262144
341
+
342
+ #
343
+ ICON_AUTH_NEEDED = 524288
344
+
345
+ #
346
+ ICON_MASK = 265984
347
+
348
+ #
349
+ NOT_FOUND = -1
350
+
351
+ #
352
+ PRINT_QUALITY_HIGH = -1
353
+
354
+ #
355
+ PRINT_QUALITY_MEDIUM = -2
356
+
357
+ #
358
+ PRINT_QUALITY_LOW = -3
359
+
360
+ #
361
+ PRINT_QUALITY_DRAFT = -4
362
+
363
+ #
364
+ STAY_ON_TOP = 32768
365
+
366
+ #
367
+ ICONIZE = 16384
368
+
369
+ #
370
+ MINIMIZE = 16384
371
+
372
+ #
373
+ MAXIMIZE = 8192
374
+
375
+ #
376
+ CLOSE_BOX = 4096
377
+
378
+ #
379
+ SYSTEM_MENU = 2048
380
+
381
+ #
382
+ MINIMIZE_BOX = 1024
383
+
384
+ #
385
+ MAXIMIZE_BOX = 512
386
+
387
+ #
388
+ TINY_CAPTION = 128
389
+
390
+ #
391
+ RESIZE_BORDER = 64
392
+
393
+ # Generic flags.
394
+ #
395
+ #
396
+ #
397
+ class GeometryCentre < Wx::Enum
398
+
399
+ #
400
+ #
401
+ CENTRE = Wx::GeometryCentre.new(1)
402
+
403
+ #
404
+ #
405
+ CENTER = Wx::GeometryCentre.new(1)
406
+
407
+ end # GeometryCentre
408
+
409
+ # A generic orientation value.
410
+ #
411
+ #
412
+ #
413
+ class Orientation < Wx::Enum
414
+
415
+ #
416
+ #
417
+ HORIZONTAL = Wx::Orientation.new(4)
418
+
419
+ #
420
+ #
421
+ VERTICAL = Wx::Orientation.new(8)
422
+
423
+ # A mask value to indicate both vertical and horizontal orientations.
424
+ #
425
+ BOTH = Wx::Orientation.new(12)
426
+
427
+ # A synonym for {Wx::Orientation::BOTH}.
428
+ #
429
+ ORIENTATION_MASK = Wx::Orientation.new(12)
430
+
431
+ end # Orientation
432
+
433
+ # A generic direction value.
434
+ #
435
+ #
436
+ #
437
+ class Direction < Wx::Enum
438
+
439
+ #
440
+ #
441
+ LEFT = Wx::Direction.new(16)
442
+
443
+ #
444
+ #
445
+ RIGHT = Wx::Direction.new(32)
446
+
447
+ #
448
+ #
449
+ UP = Wx::Direction.new(64)
450
+
451
+ #
452
+ #
453
+ DOWN = Wx::Direction.new(128)
454
+
455
+ #
456
+ #
457
+ TOP = Wx::Direction.new(64)
458
+
459
+ #
460
+ #
461
+ BOTTOM = Wx::Direction.new(128)
462
+
463
+ #
464
+ #
465
+ NORTH = Wx::Direction.new(64)
466
+
467
+ #
468
+ #
469
+ SOUTH = Wx::Direction.new(128)
470
+
471
+ #
472
+ #
473
+ WEST = Wx::Direction.new(16)
474
+
475
+ #
476
+ #
477
+ EAST = Wx::Direction.new(32)
478
+
479
+ #
480
+ #
481
+ ALL = Wx::Direction.new(240)
482
+
483
+ # A mask to extract direction from the combination of flags.
484
+ #
485
+ DIRECTION_MASK = Wx::Direction.new(240)
486
+
487
+ end # Direction
488
+
489
+ # Generic alignment values.
490
+ #
491
+ # Can be combined together.
492
+ #
493
+ class Alignment < Wx::Enum
494
+
495
+ # A value different from any valid alignment value.
496
+ #
497
+ ALIGN_INVALID = Wx::Alignment.new(-1)
498
+
499
+ #
500
+ #
501
+ ALIGN_NOT = Wx::Alignment.new(0)
502
+
503
+ #
504
+ #
505
+ ALIGN_CENTER_HORIZONTAL = Wx::Alignment.new(256)
506
+
507
+ #
508
+ #
509
+ ALIGN_CENTRE_HORIZONTAL = Wx::Alignment.new(256)
510
+
511
+ #
512
+ #
513
+ ALIGN_LEFT = Wx::Alignment.new(0)
514
+
515
+ #
516
+ #
517
+ ALIGN_TOP = Wx::Alignment.new(0)
518
+
519
+ #
520
+ #
521
+ ALIGN_RIGHT = Wx::Alignment.new(512)
522
+
523
+ #
524
+ #
525
+ ALIGN_BOTTOM = Wx::Alignment.new(1024)
526
+
527
+ #
528
+ #
529
+ ALIGN_CENTER_VERTICAL = Wx::Alignment.new(2048)
530
+
531
+ #
532
+ #
533
+ ALIGN_CENTRE_VERTICAL = Wx::Alignment.new(2048)
534
+
535
+ #
536
+ #
537
+ ALIGN_CENTER = Wx::Alignment.new(2304)
538
+
539
+ #
540
+ #
541
+ ALIGN_CENTRE = Wx::Alignment.new(2304)
542
+
543
+ # A mask to extract alignment from the combination of flags.
544
+ #
545
+ ALIGN_MASK = Wx::Alignment.new(3840)
546
+
547
+ end # Alignment
548
+
549
+ # Miscellaneous flags for {Wx::Sizer} items.
550
+ #
551
+ #
552
+ #
553
+ class SizerFlagBits < Wx::Enum
554
+
555
+ #
556
+ #
557
+ FIXED_MINSIZE = Wx::SizerFlagBits.new(32768)
558
+
559
+ #
560
+ #
561
+ RESERVE_SPACE_EVEN_IF_HIDDEN = Wx::SizerFlagBits.new(2)
562
+
563
+ #
564
+ #
565
+ SIZER_FLAG_BITS_MASK = Wx::SizerFlagBits.new(32770)
566
+
567
+ end # SizerFlagBits
568
+
569
+ # Generic stretch values.
570
+ #
571
+ #
572
+ #
573
+ class Stretch < Wx::Enum
574
+
575
+ #
576
+ #
577
+ STRETCH_NOT = Wx::Stretch.new(0)
578
+
579
+ #
580
+ #
581
+ SHRINK = Wx::Stretch.new(4096)
582
+
583
+ #
584
+ #
585
+ GROW = Wx::Stretch.new(8192)
586
+
587
+ #
588
+ #
589
+ EXPAND = Wx::Stretch.new(8192)
590
+
591
+ #
592
+ #
593
+ SHAPED = Wx::Stretch.new(16384)
594
+
595
+ #
596
+ #
597
+ TILE = Wx::Stretch.new(49152)
598
+
599
+ #
600
+ #
601
+ STRETCH_MASK = Wx::Stretch.new(28672)
602
+
603
+ end # Stretch
604
+
605
+ # Border flags for {Wx::Window}.
606
+ #
607
+ #
608
+ #
609
+ class Border < Wx::Enum
610
+
611
+ # This is different from {Wx::Border::BORDER_NONE} as by default the controls do have a border.
612
+ #
613
+ BORDER_DEFAULT = Wx::Border.new(0)
614
+
615
+ #
616
+ #
617
+ BORDER_NONE = Wx::Border.new(2097152)
618
+
619
+ #
620
+ #
621
+ BORDER_STATIC = Wx::Border.new(16777216)
622
+
623
+ #
624
+ #
625
+ BORDER_SIMPLE = Wx::Border.new(33554432)
626
+
627
+ #
628
+ #
629
+ BORDER_RAISED = Wx::Border.new(67108864)
630
+
631
+ #
632
+ #
633
+ BORDER_SUNKEN = Wx::Border.new(134217728)
634
+
635
+ #
636
+ #
637
+ BORDER_DOUBLE = Wx::Border.new(268435456)
638
+
639
+ #
640
+ #
641
+ BORDER_THEME = Wx::Border.new(268435456)
642
+
643
+ #
644
+ #
645
+ BORDER_MASK = Wx::Border.new(522190848)
646
+
647
+ end # Border
648
+
649
+ # Background styles.
650
+ #
651
+ #
652
+ # @see Wx::Window#set_background_style
653
+ #
654
+ #
655
+ class BackgroundStyle < Wx::Enum
656
+
657
+ # Default background style value indicating that the background may be erased in the user-defined EVT_ERASE_BACKGROUND handler.
658
+ #
659
+ BG_STYLE_ERASE = Wx::BackgroundStyle.new(0)
660
+
661
+ # Use the default background, as determined by the system or the current theme.
662
+ #
663
+ BG_STYLE_SYSTEM = Wx::BackgroundStyle.new(1)
664
+
665
+ # Indicates that the background is only erased in the user-defined EVT_PAINT handler.
666
+ #
667
+ BG_STYLE_PAINT = Wx::BackgroundStyle.new(2)
668
+
669
+ #
670
+ #
671
+ BG_STYLE_COLOUR = Wx::BackgroundStyle.new(4)
672
+
673
+ # Indicates that the window background is not erased, letting the parent window show through.
674
+ #
675
+ BG_STYLE_TRANSPARENT = Wx::BackgroundStyle.new(3)
676
+
677
+ end # BackgroundStyle
678
+
679
+ # Standard IDs.
680
+ #
681
+ # Notice that some, but not all, of these IDs are also stock IDs, i.e. you can use them for the button or menu items without specifying the label which will be provided by the underlying platform itself. See the list of stock items for the subset of standard IDs which are stock IDs as well.
682
+ #
683
+ class StandardID < Wx::Enum
684
+
685
+ # This id delimits the lower bound of the range used by automatically-generated ids (i.e. those used when {Wx::StandardID::ID_ANY} is specified during construction).
686
+ #
687
+ ID_AUTO_LOWEST = Wx::StandardID.new(-32000)
688
+
689
+ # This id delimits the upper bound of the range used by automatically-generated ids (i.e. those used when {Wx::StandardID::ID_ANY} is specified during construction).
690
+ #
691
+ ID_AUTO_HIGHEST = Wx::StandardID.new(-2000)
692
+
693
+ # No id matches this one when compared to it.
694
+ #
695
+ ID_NONE = Wx::StandardID.new(-3)
696
+
697
+ # Id for a separator line in the menu (invalid for normal item).
698
+ #
699
+ ID_SEPARATOR = Wx::StandardID.new(-2)
700
+
701
+ # Any id: means that we don't care about the id, whether when installing an event handler or when creating a new window.
702
+ #
703
+ ID_ANY = Wx::StandardID.new(-1)
704
+
705
+ # Start of the range reserved for wxWidgets-defined IDs.
706
+ #
707
+ ID_LOWEST = Wx::StandardID.new(4999)
708
+
709
+ #
710
+ #
711
+ ID_OPEN = Wx::StandardID.new(5000)
712
+
713
+ #
714
+ #
715
+ ID_CLOSE = Wx::StandardID.new(5001)
716
+
717
+ #
718
+ #
719
+ ID_NEW = Wx::StandardID.new(5002)
720
+
721
+ #
722
+ #
723
+ ID_SAVE = Wx::StandardID.new(5003)
724
+
725
+ #
726
+ #
727
+ ID_SAVEAS = Wx::StandardID.new(5004)
728
+
729
+ #
730
+ #
731
+ ID_REVERT = Wx::StandardID.new(5005)
732
+
733
+ #
734
+ #
735
+ ID_EXIT = Wx::StandardID.new(5006)
736
+
737
+ #
738
+ #
739
+ ID_UNDO = Wx::StandardID.new(5007)
740
+
741
+ #
742
+ #
743
+ ID_REDO = Wx::StandardID.new(5008)
744
+
745
+ #
746
+ #
747
+ ID_HELP = Wx::StandardID.new(5009)
748
+
749
+ #
750
+ #
751
+ ID_PRINT = Wx::StandardID.new(5010)
752
+
753
+ #
754
+ #
755
+ ID_PRINT_SETUP = Wx::StandardID.new(5011)
756
+
757
+ #
758
+ #
759
+ ID_PAGE_SETUP = Wx::StandardID.new(5012)
760
+
761
+ #
762
+ #
763
+ ID_PREVIEW = Wx::StandardID.new(5013)
764
+
765
+ #
766
+ #
767
+ ID_ABOUT = Wx::StandardID.new(5014)
768
+
769
+ #
770
+ #
771
+ ID_HELP_CONTENTS = Wx::StandardID.new(5015)
772
+
773
+ #
774
+ #
775
+ ID_HELP_INDEX = Wx::StandardID.new(5016)
776
+
777
+ #
778
+ #
779
+ ID_HELP_SEARCH = Wx::StandardID.new(5017)
780
+
781
+ #
782
+ #
783
+ ID_HELP_COMMANDS = Wx::StandardID.new(5018)
784
+
785
+ #
786
+ #
787
+ ID_HELP_PROCEDURES = Wx::StandardID.new(5019)
788
+
789
+ #
790
+ #
791
+ ID_HELP_CONTEXT = Wx::StandardID.new(5020)
792
+
793
+ #
794
+ #
795
+ ID_CLOSE_ALL = Wx::StandardID.new(5021)
796
+
797
+ #
798
+ #
799
+ ID_PREFERENCES = Wx::StandardID.new(5022)
800
+
801
+ #
802
+ #
803
+ ID_EDIT = Wx::StandardID.new(5030)
804
+
805
+ #
806
+ #
807
+ ID_CUT = Wx::StandardID.new(5031)
808
+
809
+ #
810
+ #
811
+ ID_COPY = Wx::StandardID.new(5032)
812
+
813
+ #
814
+ #
815
+ ID_PASTE = Wx::StandardID.new(5033)
816
+
817
+ #
818
+ #
819
+ ID_CLEAR = Wx::StandardID.new(5034)
820
+
821
+ #
822
+ #
823
+ ID_FIND = Wx::StandardID.new(5035)
824
+
825
+ #
826
+ #
827
+ ID_DUPLICATE = Wx::StandardID.new(5036)
828
+
829
+ #
830
+ #
831
+ ID_SELECTALL = Wx::StandardID.new(5037)
832
+
833
+ #
834
+ #
835
+ ID_DELETE = Wx::StandardID.new(5038)
836
+
837
+ #
838
+ #
839
+ ID_REPLACE = Wx::StandardID.new(5039)
840
+
841
+ #
842
+ #
843
+ ID_REPLACE_ALL = Wx::StandardID.new(5040)
844
+
845
+ #
846
+ #
847
+ ID_PROPERTIES = Wx::StandardID.new(5041)
848
+
849
+ #
850
+ #
851
+ ID_VIEW_DETAILS = Wx::StandardID.new(5042)
852
+
853
+ #
854
+ #
855
+ ID_VIEW_LARGEICONS = Wx::StandardID.new(5043)
856
+
857
+ #
858
+ #
859
+ ID_VIEW_SMALLICONS = Wx::StandardID.new(5044)
860
+
861
+ #
862
+ #
863
+ ID_VIEW_LIST = Wx::StandardID.new(5045)
864
+
865
+ #
866
+ #
867
+ ID_VIEW_SORTDATE = Wx::StandardID.new(5046)
868
+
869
+ #
870
+ #
871
+ ID_VIEW_SORTNAME = Wx::StandardID.new(5047)
872
+
873
+ #
874
+ #
875
+ ID_VIEW_SORTSIZE = Wx::StandardID.new(5048)
876
+
877
+ #
878
+ #
879
+ ID_VIEW_SORTTYPE = Wx::StandardID.new(5049)
880
+
881
+ #
882
+ #
883
+ ID_FILE = Wx::StandardID.new(5050)
884
+
885
+ #
886
+ #
887
+ ID_FILE1 = Wx::StandardID.new(5051)
888
+
889
+ #
890
+ #
891
+ ID_FILE2 = Wx::StandardID.new(5052)
892
+
893
+ #
894
+ #
895
+ ID_FILE3 = Wx::StandardID.new(5053)
896
+
897
+ #
898
+ #
899
+ ID_FILE4 = Wx::StandardID.new(5054)
900
+
901
+ #
902
+ #
903
+ ID_FILE5 = Wx::StandardID.new(5055)
904
+
905
+ #
906
+ #
907
+ ID_FILE6 = Wx::StandardID.new(5056)
908
+
909
+ #
910
+ #
911
+ ID_FILE7 = Wx::StandardID.new(5057)
912
+
913
+ #
914
+ #
915
+ ID_FILE8 = Wx::StandardID.new(5058)
916
+
917
+ #
918
+ #
919
+ ID_FILE9 = Wx::StandardID.new(5059)
920
+
921
+ # Standard button and menu IDs.
922
+ #
923
+ ID_OK = Wx::StandardID.new(5100)
924
+
925
+ #
926
+ #
927
+ ID_CANCEL = Wx::StandardID.new(5101)
928
+
929
+ #
930
+ #
931
+ ID_APPLY = Wx::StandardID.new(5102)
932
+
933
+ #
934
+ #
935
+ ID_YES = Wx::StandardID.new(5103)
936
+
937
+ #
938
+ #
939
+ ID_NO = Wx::StandardID.new(5104)
940
+
941
+ #
942
+ #
943
+ ID_STATIC = Wx::StandardID.new(5105)
944
+
945
+ #
946
+ #
947
+ ID_FORWARD = Wx::StandardID.new(5106)
948
+
949
+ #
950
+ #
951
+ ID_BACKWARD = Wx::StandardID.new(5107)
952
+
953
+ #
954
+ #
955
+ ID_DEFAULT = Wx::StandardID.new(5108)
956
+
957
+ #
958
+ #
959
+ ID_MORE = Wx::StandardID.new(5109)
960
+
961
+ #
962
+ #
963
+ ID_SETUP = Wx::StandardID.new(5110)
964
+
965
+ #
966
+ #
967
+ ID_RESET = Wx::StandardID.new(5111)
968
+
969
+ #
970
+ #
971
+ ID_CONTEXT_HELP = Wx::StandardID.new(5112)
972
+
973
+ #
974
+ #
975
+ ID_YESTOALL = Wx::StandardID.new(5113)
976
+
977
+ #
978
+ #
979
+ ID_NOTOALL = Wx::StandardID.new(5114)
980
+
981
+ #
982
+ #
983
+ ID_ABORT = Wx::StandardID.new(5115)
984
+
985
+ #
986
+ #
987
+ ID_RETRY = Wx::StandardID.new(5116)
988
+
989
+ #
990
+ #
991
+ ID_IGNORE = Wx::StandardID.new(5117)
992
+
993
+ #
994
+ #
995
+ ID_ADD = Wx::StandardID.new(5118)
996
+
997
+ #
998
+ #
999
+ ID_REMOVE = Wx::StandardID.new(5119)
1000
+
1001
+ #
1002
+ #
1003
+ ID_UP = Wx::StandardID.new(5120)
1004
+
1005
+ #
1006
+ #
1007
+ ID_DOWN = Wx::StandardID.new(5121)
1008
+
1009
+ #
1010
+ #
1011
+ ID_HOME = Wx::StandardID.new(5122)
1012
+
1013
+ #
1014
+ #
1015
+ ID_REFRESH = Wx::StandardID.new(5123)
1016
+
1017
+ #
1018
+ #
1019
+ ID_STOP = Wx::StandardID.new(5124)
1020
+
1021
+ #
1022
+ #
1023
+ ID_INDEX = Wx::StandardID.new(5125)
1024
+
1025
+ #
1026
+ #
1027
+ ID_BOLD = Wx::StandardID.new(5126)
1028
+
1029
+ #
1030
+ #
1031
+ ID_ITALIC = Wx::StandardID.new(5127)
1032
+
1033
+ #
1034
+ #
1035
+ ID_JUSTIFY_CENTER = Wx::StandardID.new(5128)
1036
+
1037
+ #
1038
+ #
1039
+ ID_JUSTIFY_FILL = Wx::StandardID.new(5129)
1040
+
1041
+ #
1042
+ #
1043
+ ID_JUSTIFY_RIGHT = Wx::StandardID.new(5130)
1044
+
1045
+ #
1046
+ #
1047
+ ID_JUSTIFY_LEFT = Wx::StandardID.new(5131)
1048
+
1049
+ #
1050
+ #
1051
+ ID_UNDERLINE = Wx::StandardID.new(5132)
1052
+
1053
+ #
1054
+ #
1055
+ ID_INDENT = Wx::StandardID.new(5133)
1056
+
1057
+ #
1058
+ #
1059
+ ID_UNINDENT = Wx::StandardID.new(5134)
1060
+
1061
+ #
1062
+ #
1063
+ ID_ZOOM_100 = Wx::StandardID.new(5135)
1064
+
1065
+ #
1066
+ #
1067
+ ID_ZOOM_FIT = Wx::StandardID.new(5136)
1068
+
1069
+ #
1070
+ #
1071
+ ID_ZOOM_IN = Wx::StandardID.new(5137)
1072
+
1073
+ #
1074
+ #
1075
+ ID_ZOOM_OUT = Wx::StandardID.new(5138)
1076
+
1077
+ #
1078
+ #
1079
+ ID_UNDELETE = Wx::StandardID.new(5139)
1080
+
1081
+ #
1082
+ #
1083
+ ID_REVERT_TO_SAVED = Wx::StandardID.new(5140)
1084
+
1085
+ #
1086
+ #
1087
+ ID_CDROM = Wx::StandardID.new(5141)
1088
+
1089
+ #
1090
+ #
1091
+ ID_CONVERT = Wx::StandardID.new(5142)
1092
+
1093
+ #
1094
+ #
1095
+ ID_EXECUTE = Wx::StandardID.new(5143)
1096
+
1097
+ #
1098
+ #
1099
+ ID_FLOPPY = Wx::StandardID.new(5144)
1100
+
1101
+ #
1102
+ #
1103
+ ID_HARDDISK = Wx::StandardID.new(5145)
1104
+
1105
+ #
1106
+ #
1107
+ ID_BOTTOM = Wx::StandardID.new(5146)
1108
+
1109
+ #
1110
+ #
1111
+ ID_FIRST = Wx::StandardID.new(5147)
1112
+
1113
+ #
1114
+ #
1115
+ ID_LAST = Wx::StandardID.new(5148)
1116
+
1117
+ #
1118
+ #
1119
+ ID_TOP = Wx::StandardID.new(5149)
1120
+
1121
+ #
1122
+ #
1123
+ ID_INFO = Wx::StandardID.new(5150)
1124
+
1125
+ #
1126
+ #
1127
+ ID_JUMP_TO = Wx::StandardID.new(5151)
1128
+
1129
+ #
1130
+ #
1131
+ ID_NETWORK = Wx::StandardID.new(5152)
1132
+
1133
+ #
1134
+ #
1135
+ ID_SELECT_COLOR = Wx::StandardID.new(5153)
1136
+
1137
+ #
1138
+ #
1139
+ ID_SELECT_FONT = Wx::StandardID.new(5154)
1140
+
1141
+ #
1142
+ #
1143
+ ID_SORT_ASCENDING = Wx::StandardID.new(5155)
1144
+
1145
+ #
1146
+ #
1147
+ ID_SORT_DESCENDING = Wx::StandardID.new(5156)
1148
+
1149
+ #
1150
+ #
1151
+ ID_SPELL_CHECK = Wx::StandardID.new(5157)
1152
+
1153
+ #
1154
+ #
1155
+ ID_STRIKETHROUGH = Wx::StandardID.new(5158)
1156
+
1157
+ # System menu IDs (used by {Wx::Univ}):
1158
+ #
1159
+ ID_SYSTEM_MENU = Wx::StandardID.new(5200)
1160
+
1161
+ #
1162
+ #
1163
+ ID_CLOSE_FRAME = Wx::StandardID.new(5201)
1164
+
1165
+ #
1166
+ #
1167
+ ID_MOVE_FRAME = Wx::StandardID.new(5202)
1168
+
1169
+ #
1170
+ #
1171
+ ID_RESIZE_FRAME = Wx::StandardID.new(5203)
1172
+
1173
+ #
1174
+ #
1175
+ ID_MAXIMIZE_FRAME = Wx::StandardID.new(5204)
1176
+
1177
+ #
1178
+ #
1179
+ ID_ICONIZE_FRAME = Wx::StandardID.new(5205)
1180
+
1181
+ #
1182
+ #
1183
+ ID_RESTORE_FRAME = Wx::StandardID.new(5206)
1184
+
1185
+ # MDI window menu ids.
1186
+ #
1187
+ ID_MDI_WINDOW_FIRST = Wx::StandardID.new(5230)
1188
+
1189
+ #
1190
+ #
1191
+ ID_MDI_WINDOW_CASCADE = Wx::StandardID.new(5230)
1192
+
1193
+ #
1194
+ #
1195
+ ID_MDI_WINDOW_TILE_HORZ = Wx::StandardID.new(5231)
1196
+
1197
+ #
1198
+ #
1199
+ ID_MDI_WINDOW_TILE_VERT = Wx::StandardID.new(5232)
1200
+
1201
+ #
1202
+ #
1203
+ ID_MDI_WINDOW_ARRANGE_ICONS = Wx::StandardID.new(5233)
1204
+
1205
+ #
1206
+ #
1207
+ ID_MDI_WINDOW_PREV = Wx::StandardID.new(5234)
1208
+
1209
+ #
1210
+ #
1211
+ ID_MDI_WINDOW_NEXT = Wx::StandardID.new(5235)
1212
+
1213
+ #
1214
+ #
1215
+ ID_MDI_WINDOW_LAST = Wx::StandardID.new(5235)
1216
+
1217
+ # IDs used by generic file dialog (13 consecutive starting from this value)
1218
+ #
1219
+ ID_FILEDLGG = Wx::StandardID.new(5900)
1220
+
1221
+ # IDs used by generic file ctrl (4 consecutive starting from this value)
1222
+ #
1223
+ ID_FILECTRL = Wx::StandardID.new(5950)
1224
+
1225
+ # End of the range reserved for wxWidgets-defined IDs.
1226
+ #
1227
+ ID_HIGHEST = Wx::StandardID.new(5999)
1228
+
1229
+ end # StandardID
1230
+
1231
+ # Item kinds for use with {Wx::Menu}, {Wx::MenuItem}, and {Wx::ToolBar}.
1232
+ #
1233
+ #
1234
+ # @see Wx::Menu#append
1235
+ # @see Wx::MenuItem#initialize
1236
+ # @see Wx::ToolBar#add_tool
1237
+ #
1238
+ #
1239
+ class ItemKind < Wx::Enum
1240
+
1241
+ #
1242
+ #
1243
+ ITEM_SEPARATOR = Wx::ItemKind.new(-1)
1244
+
1245
+ # Normal tool button / menu item.
1246
+ #
1247
+ ITEM_NORMAL = Wx::ItemKind.new(0)
1248
+
1249
+ # Check (or toggle) tool button / menu item.
1250
+ #
1251
+ ITEM_CHECK = Wx::ItemKind.new(1)
1252
+
1253
+ # Radio tool button / menu item.
1254
+ #
1255
+ ITEM_RADIO = Wx::ItemKind.new(2)
1256
+
1257
+ # Normal tool button with a dropdown arrow next to it.
1258
+ #
1259
+ ITEM_DROPDOWN = Wx::ItemKind.new(3)
1260
+
1261
+ #
1262
+ #
1263
+ ITEM_MAX = Wx::ItemKind.new(4)
1264
+
1265
+ end # ItemKind
1266
+
1267
+ # Generic hit test results.
1268
+ #
1269
+ #
1270
+ #
1271
+ class HitTest < Wx::Enum
1272
+
1273
+ #
1274
+ #
1275
+ HT_NOWHERE = Wx::HitTest.new(0)
1276
+
1277
+ #
1278
+ #
1279
+ HT_SCROLLBAR_FIRST = Wx::HitTest.new(0)
1280
+
1281
+ # left or upper arrow to scroll by line
1282
+ #
1283
+ HT_SCROLLBAR_ARROW_LINE_1 = Wx::HitTest.new(1)
1284
+
1285
+ # right or down
1286
+ #
1287
+ HT_SCROLLBAR_ARROW_LINE_2 = Wx::HitTest.new(2)
1288
+
1289
+ # left or upper arrow to scroll by page
1290
+ #
1291
+ HT_SCROLLBAR_ARROW_PAGE_1 = Wx::HitTest.new(3)
1292
+
1293
+ # right or down
1294
+ #
1295
+ HT_SCROLLBAR_ARROW_PAGE_2 = Wx::HitTest.new(4)
1296
+
1297
+ # on the thumb
1298
+ #
1299
+ HT_SCROLLBAR_THUMB = Wx::HitTest.new(5)
1300
+
1301
+ # bar to the left/above the thumb
1302
+ #
1303
+ HT_SCROLLBAR_BAR_1 = Wx::HitTest.new(6)
1304
+
1305
+ # bar to the right/below the thumb
1306
+ #
1307
+ HT_SCROLLBAR_BAR_2 = Wx::HitTest.new(7)
1308
+
1309
+ #
1310
+ #
1311
+ HT_SCROLLBAR_LAST = Wx::HitTest.new(8)
1312
+
1313
+ # not in this window at all
1314
+ #
1315
+ HT_WINDOW_OUTSIDE = Wx::HitTest.new(9)
1316
+
1317
+ # in the client area
1318
+ #
1319
+ HT_WINDOW_INSIDE = Wx::HitTest.new(10)
1320
+
1321
+ # on the vertical scrollbar
1322
+ #
1323
+ HT_WINDOW_VERT_SCROLLBAR = Wx::HitTest.new(11)
1324
+
1325
+ # on the horizontal scrollbar
1326
+ #
1327
+ HT_WINDOW_HORZ_SCROLLBAR = Wx::HitTest.new(12)
1328
+
1329
+ # on the corner between 2 scrollbars
1330
+ #
1331
+ HT_WINDOW_CORNER = Wx::HitTest.new(13)
1332
+
1333
+ #
1334
+ #
1335
+ HT_MAX = Wx::HitTest.new(14)
1336
+
1337
+ end # HitTest
1338
+
1339
+ # Data format IDs used by {Wx::DataFormat}.
1340
+ #
1341
+ #
1342
+ #
1343
+ class DataFormatId < Wx::Enum
1344
+
1345
+ #
1346
+ #
1347
+ DF_INVALID = Wx::DataFormatId.new(0)
1348
+
1349
+ #
1350
+ #
1351
+ DF_TEXT = Wx::DataFormatId.new(1)
1352
+
1353
+ #
1354
+ #
1355
+ DF_BITMAP = Wx::DataFormatId.new(2)
1356
+
1357
+ #
1358
+ #
1359
+ DF_METAFILE = Wx::DataFormatId.new(3)
1360
+
1361
+ #
1362
+ #
1363
+ DF_SYLK = Wx::DataFormatId.new(4)
1364
+
1365
+ #
1366
+ #
1367
+ DF_DIF = Wx::DataFormatId.new(5)
1368
+
1369
+ #
1370
+ #
1371
+ DF_TIFF = Wx::DataFormatId.new(6)
1372
+
1373
+ #
1374
+ #
1375
+ DF_OEMTEXT = Wx::DataFormatId.new(7)
1376
+
1377
+ #
1378
+ #
1379
+ DF_DIB = Wx::DataFormatId.new(8)
1380
+
1381
+ #
1382
+ #
1383
+ DF_PALETTE = Wx::DataFormatId.new(9)
1384
+
1385
+ #
1386
+ #
1387
+ DF_PENDATA = Wx::DataFormatId.new(10)
1388
+
1389
+ #
1390
+ #
1391
+ DF_RIFF = Wx::DataFormatId.new(11)
1392
+
1393
+ #
1394
+ #
1395
+ DF_WAVE = Wx::DataFormatId.new(12)
1396
+
1397
+ #
1398
+ #
1399
+ DF_UNICODETEXT = Wx::DataFormatId.new(13)
1400
+
1401
+ #
1402
+ #
1403
+ DF_ENHMETAFILE = Wx::DataFormatId.new(14)
1404
+
1405
+ #
1406
+ #
1407
+ DF_FILENAME = Wx::DataFormatId.new(15)
1408
+
1409
+ #
1410
+ #
1411
+ DF_LOCALE = Wx::DataFormatId.new(16)
1412
+
1413
+ #
1414
+ #
1415
+ DF_PRIVATE = Wx::DataFormatId.new(20)
1416
+
1417
+ #
1418
+ #
1419
+ DF_HTML = Wx::DataFormatId.new(30)
1420
+
1421
+ #
1422
+ #
1423
+ DF_PNG = Wx::DataFormatId.new(31)
1424
+
1425
+ #
1426
+ #
1427
+ DF_MAX = Wx::DataFormatId.new(32)
1428
+
1429
+ end # DataFormatId
1430
+
1431
+ # Virtual keycodes used by {Wx::KeyEvent} and some other wxWidgets functions.
1432
+ #
1433
+ # Note that the range 0..255 corresponds to the characters of the current locale, in particular the 32..127 subrange is for the ASCII symbols, and all the special key values such as WXK_END lie above this range.
1434
+ #
1435
+ class KeyCode < Wx::Enum
1436
+
1437
+ # No key.
1438
+ #
1439
+ K_NONE = Wx::KeyCode.new(0)
1440
+
1441
+ #
1442
+ #
1443
+ K_CONTROL_A = Wx::KeyCode.new(1)
1444
+
1445
+ #
1446
+ #
1447
+ K_CONTROL_B = Wx::KeyCode.new(2)
1448
+
1449
+ #
1450
+ #
1451
+ K_CONTROL_C = Wx::KeyCode.new(3)
1452
+
1453
+ #
1454
+ #
1455
+ K_CONTROL_D = Wx::KeyCode.new(4)
1456
+
1457
+ #
1458
+ #
1459
+ K_CONTROL_E = Wx::KeyCode.new(5)
1460
+
1461
+ #
1462
+ #
1463
+ K_CONTROL_F = Wx::KeyCode.new(6)
1464
+
1465
+ #
1466
+ #
1467
+ K_CONTROL_G = Wx::KeyCode.new(7)
1468
+
1469
+ #
1470
+ #
1471
+ K_CONTROL_H = Wx::KeyCode.new(8)
1472
+
1473
+ #
1474
+ #
1475
+ K_CONTROL_I = Wx::KeyCode.new(9)
1476
+
1477
+ #
1478
+ #
1479
+ K_CONTROL_J = Wx::KeyCode.new(10)
1480
+
1481
+ #
1482
+ #
1483
+ K_CONTROL_K = Wx::KeyCode.new(11)
1484
+
1485
+ #
1486
+ #
1487
+ K_CONTROL_L = Wx::KeyCode.new(12)
1488
+
1489
+ #
1490
+ #
1491
+ K_CONTROL_M = Wx::KeyCode.new(13)
1492
+
1493
+ #
1494
+ #
1495
+ K_CONTROL_N = Wx::KeyCode.new(14)
1496
+
1497
+ #
1498
+ #
1499
+ K_CONTROL_O = Wx::KeyCode.new(15)
1500
+
1501
+ #
1502
+ #
1503
+ K_CONTROL_P = Wx::KeyCode.new(16)
1504
+
1505
+ #
1506
+ #
1507
+ K_CONTROL_Q = Wx::KeyCode.new(17)
1508
+
1509
+ #
1510
+ #
1511
+ K_CONTROL_R = Wx::KeyCode.new(18)
1512
+
1513
+ #
1514
+ #
1515
+ K_CONTROL_S = Wx::KeyCode.new(19)
1516
+
1517
+ #
1518
+ #
1519
+ K_CONTROL_T = Wx::KeyCode.new(20)
1520
+
1521
+ #
1522
+ #
1523
+ K_CONTROL_U = Wx::KeyCode.new(21)
1524
+
1525
+ #
1526
+ #
1527
+ K_CONTROL_V = Wx::KeyCode.new(22)
1528
+
1529
+ #
1530
+ #
1531
+ K_CONTROL_W = Wx::KeyCode.new(23)
1532
+
1533
+ #
1534
+ #
1535
+ K_CONTROL_X = Wx::KeyCode.new(24)
1536
+
1537
+ #
1538
+ #
1539
+ K_CONTROL_Y = Wx::KeyCode.new(25)
1540
+
1541
+ #
1542
+ #
1543
+ K_CONTROL_Z = Wx::KeyCode.new(26)
1544
+
1545
+ # Backspace.
1546
+ #
1547
+ K_BACK = Wx::KeyCode.new(8)
1548
+
1549
+ #
1550
+ #
1551
+ K_TAB = Wx::KeyCode.new(9)
1552
+
1553
+ #
1554
+ #
1555
+ K_RETURN = Wx::KeyCode.new(13)
1556
+
1557
+ #
1558
+ #
1559
+ K_ESCAPE = Wx::KeyCode.new(27)
1560
+
1561
+ #
1562
+ #
1563
+ K_SPACE = Wx::KeyCode.new(32)
1564
+
1565
+ #
1566
+ #
1567
+ K_DELETE = Wx::KeyCode.new(127)
1568
+
1569
+ # Special key values.
1570
+ #
1571
+ K_START = Wx::KeyCode.new(300)
1572
+
1573
+ #
1574
+ #
1575
+ K_LBUTTON = Wx::KeyCode.new(301)
1576
+
1577
+ #
1578
+ #
1579
+ K_RBUTTON = Wx::KeyCode.new(302)
1580
+
1581
+ #
1582
+ #
1583
+ K_CANCEL = Wx::KeyCode.new(303)
1584
+
1585
+ #
1586
+ #
1587
+ K_MBUTTON = Wx::KeyCode.new(304)
1588
+
1589
+ #
1590
+ #
1591
+ K_CLEAR = Wx::KeyCode.new(305)
1592
+
1593
+ #
1594
+ #
1595
+ K_SHIFT = Wx::KeyCode.new(306)
1596
+
1597
+ #
1598
+ #
1599
+ K_ALT = Wx::KeyCode.new(307)
1600
+
1601
+ # Note that under macOS, to improve compatibility with other systems, 'WXK_CONTROL' represents the 'Command' key.
1602
+ #
1603
+ K_CONTROL = Wx::KeyCode.new(308)
1604
+
1605
+ # Under macOS, where the 'Command' key is mapped to 'Control' to improve compatibility with other systems, WXK_RAW_CONTROL may be used to obtain the state of the actual 'Control' key ('WXK_CONTROL' would obtain the status of the 'Command' key).
1606
+ #
1607
+ K_RAW_CONTROL = Wx::KeyCode.new(308)
1608
+
1609
+ #
1610
+ #
1611
+ K_MENU = Wx::KeyCode.new(309)
1612
+
1613
+ #
1614
+ #
1615
+ K_PAUSE = Wx::KeyCode.new(310)
1616
+
1617
+ #
1618
+ #
1619
+ K_CAPITAL = Wx::KeyCode.new(311)
1620
+
1621
+ #
1622
+ #
1623
+ K_END = Wx::KeyCode.new(312)
1624
+
1625
+ #
1626
+ #
1627
+ K_HOME = Wx::KeyCode.new(313)
1628
+
1629
+ #
1630
+ #
1631
+ K_LEFT = Wx::KeyCode.new(314)
1632
+
1633
+ #
1634
+ #
1635
+ K_UP = Wx::KeyCode.new(315)
1636
+
1637
+ #
1638
+ #
1639
+ K_RIGHT = Wx::KeyCode.new(316)
1640
+
1641
+ #
1642
+ #
1643
+ K_DOWN = Wx::KeyCode.new(317)
1644
+
1645
+ #
1646
+ #
1647
+ K_SELECT = Wx::KeyCode.new(318)
1648
+
1649
+ #
1650
+ #
1651
+ K_PRINT = Wx::KeyCode.new(319)
1652
+
1653
+ #
1654
+ #
1655
+ K_EXECUTE = Wx::KeyCode.new(320)
1656
+
1657
+ #
1658
+ #
1659
+ K_SNAPSHOT = Wx::KeyCode.new(321)
1660
+
1661
+ #
1662
+ #
1663
+ K_INSERT = Wx::KeyCode.new(322)
1664
+
1665
+ #
1666
+ #
1667
+ K_HELP = Wx::KeyCode.new(323)
1668
+
1669
+ #
1670
+ #
1671
+ K_NUMPAD0 = Wx::KeyCode.new(324)
1672
+
1673
+ #
1674
+ #
1675
+ K_NUMPAD1 = Wx::KeyCode.new(325)
1676
+
1677
+ #
1678
+ #
1679
+ K_NUMPAD2 = Wx::KeyCode.new(326)
1680
+
1681
+ #
1682
+ #
1683
+ K_NUMPAD3 = Wx::KeyCode.new(327)
1684
+
1685
+ #
1686
+ #
1687
+ K_NUMPAD4 = Wx::KeyCode.new(328)
1688
+
1689
+ #
1690
+ #
1691
+ K_NUMPAD5 = Wx::KeyCode.new(329)
1692
+
1693
+ #
1694
+ #
1695
+ K_NUMPAD6 = Wx::KeyCode.new(330)
1696
+
1697
+ #
1698
+ #
1699
+ K_NUMPAD7 = Wx::KeyCode.new(331)
1700
+
1701
+ #
1702
+ #
1703
+ K_NUMPAD8 = Wx::KeyCode.new(332)
1704
+
1705
+ #
1706
+ #
1707
+ K_NUMPAD9 = Wx::KeyCode.new(333)
1708
+
1709
+ #
1710
+ #
1711
+ K_MULTIPLY = Wx::KeyCode.new(334)
1712
+
1713
+ #
1714
+ #
1715
+ K_ADD = Wx::KeyCode.new(335)
1716
+
1717
+ #
1718
+ #
1719
+ K_SEPARATOR = Wx::KeyCode.new(336)
1720
+
1721
+ #
1722
+ #
1723
+ K_SUBTRACT = Wx::KeyCode.new(337)
1724
+
1725
+ #
1726
+ #
1727
+ K_DECIMAL = Wx::KeyCode.new(338)
1728
+
1729
+ #
1730
+ #
1731
+ K_DIVIDE = Wx::KeyCode.new(339)
1732
+
1733
+ #
1734
+ #
1735
+ K_F1 = Wx::KeyCode.new(340)
1736
+
1737
+ #
1738
+ #
1739
+ K_F2 = Wx::KeyCode.new(341)
1740
+
1741
+ #
1742
+ #
1743
+ K_F3 = Wx::KeyCode.new(342)
1744
+
1745
+ #
1746
+ #
1747
+ K_F4 = Wx::KeyCode.new(343)
1748
+
1749
+ #
1750
+ #
1751
+ K_F5 = Wx::KeyCode.new(344)
1752
+
1753
+ #
1754
+ #
1755
+ K_F6 = Wx::KeyCode.new(345)
1756
+
1757
+ #
1758
+ #
1759
+ K_F7 = Wx::KeyCode.new(346)
1760
+
1761
+ #
1762
+ #
1763
+ K_F8 = Wx::KeyCode.new(347)
1764
+
1765
+ #
1766
+ #
1767
+ K_F9 = Wx::KeyCode.new(348)
1768
+
1769
+ #
1770
+ #
1771
+ K_F10 = Wx::KeyCode.new(349)
1772
+
1773
+ #
1774
+ #
1775
+ K_F11 = Wx::KeyCode.new(350)
1776
+
1777
+ #
1778
+ #
1779
+ K_F12 = Wx::KeyCode.new(351)
1780
+
1781
+ #
1782
+ #
1783
+ K_F13 = Wx::KeyCode.new(352)
1784
+
1785
+ #
1786
+ #
1787
+ K_F14 = Wx::KeyCode.new(353)
1788
+
1789
+ #
1790
+ #
1791
+ K_F15 = Wx::KeyCode.new(354)
1792
+
1793
+ #
1794
+ #
1795
+ K_F16 = Wx::KeyCode.new(355)
1796
+
1797
+ #
1798
+ #
1799
+ K_F17 = Wx::KeyCode.new(356)
1800
+
1801
+ #
1802
+ #
1803
+ K_F18 = Wx::KeyCode.new(357)
1804
+
1805
+ #
1806
+ #
1807
+ K_F19 = Wx::KeyCode.new(358)
1808
+
1809
+ #
1810
+ #
1811
+ K_F20 = Wx::KeyCode.new(359)
1812
+
1813
+ #
1814
+ #
1815
+ K_F21 = Wx::KeyCode.new(360)
1816
+
1817
+ #
1818
+ #
1819
+ K_F22 = Wx::KeyCode.new(361)
1820
+
1821
+ #
1822
+ #
1823
+ K_F23 = Wx::KeyCode.new(362)
1824
+
1825
+ #
1826
+ #
1827
+ K_F24 = Wx::KeyCode.new(363)
1828
+
1829
+ #
1830
+ #
1831
+ K_NUMLOCK = Wx::KeyCode.new(364)
1832
+
1833
+ #
1834
+ #
1835
+ K_SCROLL = Wx::KeyCode.new(365)
1836
+
1837
+ #
1838
+ #
1839
+ K_PAGEUP = Wx::KeyCode.new(366)
1840
+
1841
+ #
1842
+ #
1843
+ K_PAGEDOWN = Wx::KeyCode.new(367)
1844
+
1845
+ #
1846
+ #
1847
+ K_NUMPAD_SPACE = Wx::KeyCode.new(368)
1848
+
1849
+ #
1850
+ #
1851
+ K_NUMPAD_TAB = Wx::KeyCode.new(369)
1852
+
1853
+ #
1854
+ #
1855
+ K_NUMPAD_ENTER = Wx::KeyCode.new(370)
1856
+
1857
+ #
1858
+ #
1859
+ K_NUMPAD_F1 = Wx::KeyCode.new(371)
1860
+
1861
+ #
1862
+ #
1863
+ K_NUMPAD_F2 = Wx::KeyCode.new(372)
1864
+
1865
+ #
1866
+ #
1867
+ K_NUMPAD_F3 = Wx::KeyCode.new(373)
1868
+
1869
+ #
1870
+ #
1871
+ K_NUMPAD_F4 = Wx::KeyCode.new(374)
1872
+
1873
+ #
1874
+ #
1875
+ K_NUMPAD_HOME = Wx::KeyCode.new(375)
1876
+
1877
+ #
1878
+ #
1879
+ K_NUMPAD_LEFT = Wx::KeyCode.new(376)
1880
+
1881
+ #
1882
+ #
1883
+ K_NUMPAD_UP = Wx::KeyCode.new(377)
1884
+
1885
+ #
1886
+ #
1887
+ K_NUMPAD_RIGHT = Wx::KeyCode.new(378)
1888
+
1889
+ #
1890
+ #
1891
+ K_NUMPAD_DOWN = Wx::KeyCode.new(379)
1892
+
1893
+ #
1894
+ #
1895
+ K_NUMPAD_PAGEUP = Wx::KeyCode.new(380)
1896
+
1897
+ #
1898
+ #
1899
+ K_NUMPAD_PAGEDOWN = Wx::KeyCode.new(381)
1900
+
1901
+ #
1902
+ #
1903
+ K_NUMPAD_END = Wx::KeyCode.new(382)
1904
+
1905
+ #
1906
+ #
1907
+ K_NUMPAD_BEGIN = Wx::KeyCode.new(383)
1908
+
1909
+ #
1910
+ #
1911
+ K_NUMPAD_INSERT = Wx::KeyCode.new(384)
1912
+
1913
+ #
1914
+ #
1915
+ K_NUMPAD_DELETE = Wx::KeyCode.new(385)
1916
+
1917
+ #
1918
+ #
1919
+ K_NUMPAD_EQUAL = Wx::KeyCode.new(386)
1920
+
1921
+ #
1922
+ #
1923
+ K_NUMPAD_MULTIPLY = Wx::KeyCode.new(387)
1924
+
1925
+ #
1926
+ #
1927
+ K_NUMPAD_ADD = Wx::KeyCode.new(388)
1928
+
1929
+ #
1930
+ #
1931
+ K_NUMPAD_SEPARATOR = Wx::KeyCode.new(389)
1932
+
1933
+ #
1934
+ #
1935
+ K_NUMPAD_SUBTRACT = Wx::KeyCode.new(390)
1936
+
1937
+ #
1938
+ #
1939
+ K_NUMPAD_DECIMAL = Wx::KeyCode.new(391)
1940
+
1941
+ #
1942
+ #
1943
+ K_NUMPAD_DIVIDE = Wx::KeyCode.new(392)
1944
+
1945
+ # The following key codes are only generated under Windows currently.
1946
+ #
1947
+ K_WINDOWS_LEFT = Wx::KeyCode.new(393)
1948
+
1949
+ #
1950
+ #
1951
+ K_WINDOWS_RIGHT = Wx::KeyCode.new(394)
1952
+
1953
+ #
1954
+ #
1955
+ K_WINDOWS_MENU = Wx::KeyCode.new(395)
1956
+
1957
+ # This special key code was used to represent the key used for keyboard shortcuts.
1958
+ #
1959
+ K_COMMAND = Wx::KeyCode.new(308)
1960
+
1961
+ # Hardware-specific buttons.
1962
+ #
1963
+ K_SPECIAL1 = Wx::KeyCode.new(397)
1964
+
1965
+ #
1966
+ #
1967
+ K_SPECIAL2 = Wx::KeyCode.new(398)
1968
+
1969
+ #
1970
+ #
1971
+ K_SPECIAL3 = Wx::KeyCode.new(399)
1972
+
1973
+ #
1974
+ #
1975
+ K_SPECIAL4 = Wx::KeyCode.new(400)
1976
+
1977
+ #
1978
+ #
1979
+ K_SPECIAL5 = Wx::KeyCode.new(401)
1980
+
1981
+ #
1982
+ #
1983
+ K_SPECIAL6 = Wx::KeyCode.new(402)
1984
+
1985
+ #
1986
+ #
1987
+ K_SPECIAL7 = Wx::KeyCode.new(403)
1988
+
1989
+ #
1990
+ #
1991
+ K_SPECIAL8 = Wx::KeyCode.new(404)
1992
+
1993
+ #
1994
+ #
1995
+ K_SPECIAL9 = Wx::KeyCode.new(405)
1996
+
1997
+ #
1998
+ #
1999
+ K_SPECIAL10 = Wx::KeyCode.new(406)
2000
+
2001
+ #
2002
+ #
2003
+ K_SPECIAL11 = Wx::KeyCode.new(407)
2004
+
2005
+ #
2006
+ #
2007
+ K_SPECIAL12 = Wx::KeyCode.new(408)
2008
+
2009
+ #
2010
+ #
2011
+ K_SPECIAL13 = Wx::KeyCode.new(409)
2012
+
2013
+ #
2014
+ #
2015
+ K_SPECIAL14 = Wx::KeyCode.new(410)
2016
+
2017
+ #
2018
+ #
2019
+ K_SPECIAL15 = Wx::KeyCode.new(411)
2020
+
2021
+ #
2022
+ #
2023
+ K_SPECIAL16 = Wx::KeyCode.new(412)
2024
+
2025
+ #
2026
+ #
2027
+ K_SPECIAL17 = Wx::KeyCode.new(413)
2028
+
2029
+ #
2030
+ #
2031
+ K_SPECIAL18 = Wx::KeyCode.new(414)
2032
+
2033
+ #
2034
+ #
2035
+ K_SPECIAL19 = Wx::KeyCode.new(415)
2036
+
2037
+ #
2038
+ #
2039
+ K_SPECIAL20 = Wx::KeyCode.new(416)
2040
+
2041
+ # Since wxWidgets 3.1.0.
2042
+ #
2043
+ K_BROWSER_BACK = Wx::KeyCode.new(417)
2044
+
2045
+ # Since wxWidgets 3.1.0.
2046
+ #
2047
+ K_BROWSER_FORWARD = Wx::KeyCode.new(418)
2048
+
2049
+ # Since wxWidgets 3.1.0.
2050
+ #
2051
+ K_BROWSER_REFRESH = Wx::KeyCode.new(419)
2052
+
2053
+ # Since wxWidgets 3.1.0.
2054
+ #
2055
+ K_BROWSER_STOP = Wx::KeyCode.new(420)
2056
+
2057
+ # Since wxWidgets 3.1.0.
2058
+ #
2059
+ K_BROWSER_SEARCH = Wx::KeyCode.new(421)
2060
+
2061
+ # Since wxWidgets 3.1.0.
2062
+ #
2063
+ K_BROWSER_FAVORITES = Wx::KeyCode.new(422)
2064
+
2065
+ # Since wxWidgets 3.1.0.
2066
+ #
2067
+ K_BROWSER_HOME = Wx::KeyCode.new(423)
2068
+
2069
+ # Since wxWidgets 3.1.0.
2070
+ #
2071
+ K_VOLUME_MUTE = Wx::KeyCode.new(424)
2072
+
2073
+ # Since wxWidgets 3.1.0.
2074
+ #
2075
+ K_VOLUME_DOWN = Wx::KeyCode.new(425)
2076
+
2077
+ # Since wxWidgets 3.1.0.
2078
+ #
2079
+ K_VOLUME_UP = Wx::KeyCode.new(426)
2080
+
2081
+ # Since wxWidgets 3.1.0.
2082
+ #
2083
+ K_MEDIA_NEXT_TRACK = Wx::KeyCode.new(427)
2084
+
2085
+ # Since wxWidgets 3.1.0.
2086
+ #
2087
+ K_MEDIA_PREV_TRACK = Wx::KeyCode.new(428)
2088
+
2089
+ # Since wxWidgets 3.1.0.
2090
+ #
2091
+ K_MEDIA_STOP = Wx::KeyCode.new(429)
2092
+
2093
+ # Since wxWidgets 3.1.0.
2094
+ #
2095
+ K_MEDIA_PLAY_PAUSE = Wx::KeyCode.new(430)
2096
+
2097
+ # Since wxWidgets 3.1.0.
2098
+ #
2099
+ K_LAUNCH_MAIL = Wx::KeyCode.new(431)
2100
+
2101
+ # First application launch key.
2102
+ #
2103
+ K_LAUNCH_APP1 = Wx::KeyCode.new(442)
2104
+
2105
+ # Second application launch key.
2106
+ #
2107
+ K_LAUNCH_APP2 = Wx::KeyCode.new(443)
2108
+
2109
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2110
+ #
2111
+ K_LAUNCH_0 = Wx::KeyCode.new(432)
2112
+
2113
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2114
+ #
2115
+ K_LAUNCH_1 = Wx::KeyCode.new(433)
2116
+
2117
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2118
+ #
2119
+ K_LAUNCH_2 = Wx::KeyCode.new(434)
2120
+
2121
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2122
+ #
2123
+ K_LAUNCH_3 = Wx::KeyCode.new(435)
2124
+
2125
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2126
+ #
2127
+ K_LAUNCH_4 = Wx::KeyCode.new(436)
2128
+
2129
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2130
+ #
2131
+ K_LAUNCH_5 = Wx::KeyCode.new(437)
2132
+
2133
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2134
+ #
2135
+ K_LAUNCH_6 = Wx::KeyCode.new(438)
2136
+
2137
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2138
+ #
2139
+ K_LAUNCH_7 = Wx::KeyCode.new(439)
2140
+
2141
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2142
+ #
2143
+ K_LAUNCH_8 = Wx::KeyCode.new(440)
2144
+
2145
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2146
+ #
2147
+ K_LAUNCH_9 = Wx::KeyCode.new(441)
2148
+
2149
+ # Available since wxWidgets 3.1.6, generated by {Wx::GTK} and {Wx::MSW}.
2150
+ #
2151
+ K_LAUNCH_A = Wx::KeyCode.new(442)
2152
+
2153
+ # Available since wxWidgets 3.1.6, generated by {Wx::GTK} and {Wx::MSW}.
2154
+ #
2155
+ K_LAUNCH_B = Wx::KeyCode.new(443)
2156
+
2157
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2158
+ #
2159
+ K_LAUNCH_C = Wx::KeyCode.new(444)
2160
+
2161
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2162
+ #
2163
+ K_LAUNCH_D = Wx::KeyCode.new(445)
2164
+
2165
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2166
+ #
2167
+ K_LAUNCH_E = Wx::KeyCode.new(446)
2168
+
2169
+ # Available since wxWidgets 3.1.6 and only generated by {Wx::GTK}.
2170
+ #
2171
+ K_LAUNCH_F = Wx::KeyCode.new(447)
2172
+
2173
+ end # KeyCode
2174
+
2175
+ # This enum contains bit mask constants used in {Wx::KeyEvent}.
2176
+ #
2177
+ #
2178
+ #
2179
+ class KeyModifier < Wx::Enum
2180
+
2181
+ #
2182
+ #
2183
+ MOD_NONE = Wx::KeyModifier.new(0)
2184
+
2185
+ #
2186
+ #
2187
+ MOD_ALT = Wx::KeyModifier.new(1)
2188
+
2189
+ # Ctlr Key, corresponds to Command key on macOS.
2190
+ #
2191
+ MOD_CONTROL = Wx::KeyModifier.new(2)
2192
+
2193
+ #
2194
+ #
2195
+ MOD_ALTGR = Wx::KeyModifier.new(3)
2196
+
2197
+ #
2198
+ #
2199
+ MOD_SHIFT = Wx::KeyModifier.new(4)
2200
+
2201
+ #
2202
+ #
2203
+ MOD_META = Wx::KeyModifier.new(8)
2204
+
2205
+ #
2206
+ #
2207
+ MOD_WIN = Wx::KeyModifier.new(8)
2208
+
2209
+ # used to describe the true Ctrl Key under macOS, identic to {Wx::KeyModifier::MOD_CONTROL} on other platforms
2210
+ #
2211
+ MOD_RAW_CONTROL = Wx::KeyModifier.new(2)
2212
+
2213
+ # deprecated, identic to {Wx::KeyModifier::MOD_CONTROL} on all platforms
2214
+ #
2215
+ MOD_CMD = Wx::KeyModifier.new(2)
2216
+
2217
+ #
2218
+ #
2219
+ MOD_ALL = Wx::KeyModifier.new(65535)
2220
+
2221
+ end # KeyModifier
2222
+
2223
+ # Paper size types for use with the printing framework.
2224
+ #
2225
+ #
2226
+ # @see overview_printing
2227
+ # @see Wx::PRT::PrintData#set_paper_id
2228
+ #
2229
+ #
2230
+ class PaperSize < Wx::Enum
2231
+
2232
+ # 10 x 11 in
2233
+ #
2234
+ PAPER_10X11 = Wx::PaperSize.new(45)
2235
+
2236
+ # 10-by-14-inch sheet
2237
+ #
2238
+ PAPER_10X14 = Wx::PaperSize.new(19)
2239
+
2240
+ # 11-by-17-inch sheet
2241
+ #
2242
+ PAPER_11X17 = Wx::PaperSize.new(20)
2243
+
2244
+ # 12 x 11 in
2245
+ #
2246
+ PAPER_12X11 = Wx::PaperSize.new(88)
2247
+
2248
+ # 15 x 11 in
2249
+ #
2250
+ PAPER_15X11 = Wx::PaperSize.new(46)
2251
+
2252
+ # 9 x 11 in
2253
+ #
2254
+ PAPER_9X11 = Wx::PaperSize.new(44)
2255
+
2256
+ # A2 420 x 594 mm.
2257
+ #
2258
+ PAPER_A2 = Wx::PaperSize.new(64)
2259
+
2260
+ # A3 sheet, 297 by 420 millimeters.
2261
+ #
2262
+ PAPER_A3 = Wx::PaperSize.new(12)
2263
+
2264
+ # A3 Extra 322 x 445 mm.
2265
+ #
2266
+ PAPER_A3_EXTRA = Wx::PaperSize.new(61)
2267
+
2268
+ # A3 Extra Transverse 322 x 445 mm.
2269
+ #
2270
+ PAPER_A3_EXTRA_TRANSVERSE = Wx::PaperSize.new(66)
2271
+
2272
+ # A3 Rotated 420 x 297 mm.
2273
+ #
2274
+ PAPER_A3_ROTATED = Wx::PaperSize.new(74)
2275
+
2276
+ # A3 Transverse 297 x 420 mm.
2277
+ #
2278
+ PAPER_A3_TRANSVERSE = Wx::PaperSize.new(65)
2279
+
2280
+ # A4 Sheet, 210 by 297 millimeters.
2281
+ #
2282
+ PAPER_A4 = Wx::PaperSize.new(3)
2283
+
2284
+ # A4 small sheet, 210 by 297 millimeters.
2285
+ #
2286
+ PAPER_A4SMALL = Wx::PaperSize.new(13)
2287
+
2288
+ # A4 Extra 9.27 x 12.69 in.
2289
+ #
2290
+ PAPER_A4_EXTRA = Wx::PaperSize.new(51)
2291
+
2292
+ # A4 Plus 210 x 330 mm.
2293
+ #
2294
+ PAPER_A4_PLUS = Wx::PaperSize.new(58)
2295
+
2296
+ # A4 Rotated 297 x 210 mm.
2297
+ #
2298
+ PAPER_A4_ROTATED = Wx::PaperSize.new(75)
2299
+
2300
+ # A4 Transverse 210 x 297 mm.
2301
+ #
2302
+ PAPER_A4_TRANSVERSE = Wx::PaperSize.new(53)
2303
+
2304
+ # A5 sheet, 148 by 210 millimeters.
2305
+ #
2306
+ PAPER_A5 = Wx::PaperSize.new(14)
2307
+
2308
+ # A5 Extra 174 x 235 mm.
2309
+ #
2310
+ PAPER_A5_EXTRA = Wx::PaperSize.new(62)
2311
+
2312
+ # A5 Rotated 210 x 148 mm.
2313
+ #
2314
+ PAPER_A5_ROTATED = Wx::PaperSize.new(76)
2315
+
2316
+ # A5 Transverse 148 x 210 mm.
2317
+ #
2318
+ PAPER_A5_TRANSVERSE = Wx::PaperSize.new(59)
2319
+
2320
+ # A6 105 x 148 mm.
2321
+ #
2322
+ PAPER_A6 = Wx::PaperSize.new(68)
2323
+
2324
+ # A6 Rotated 148 x 105 mm.
2325
+ #
2326
+ PAPER_A6_ROTATED = Wx::PaperSize.new(81)
2327
+
2328
+ # SuperA/SuperA/A4 227 x 356 mm.
2329
+ #
2330
+ PAPER_A_PLUS = Wx::PaperSize.new(55)
2331
+
2332
+ # B4 sheet, 250 by 354 millimeters.
2333
+ #
2334
+ PAPER_B4 = Wx::PaperSize.new(15)
2335
+
2336
+ # B4 (JIS) Rotated 364 x 257 mm.
2337
+ #
2338
+ PAPER_B4_JIS_ROTATED = Wx::PaperSize.new(77)
2339
+
2340
+ # B5 sheet, 182-by-257-millimeter paper.
2341
+ #
2342
+ PAPER_B5 = Wx::PaperSize.new(16)
2343
+
2344
+ # B5 (ISO) Extra 201 x 276 mm.
2345
+ #
2346
+ PAPER_B5_EXTRA = Wx::PaperSize.new(63)
2347
+
2348
+ # B5 (JIS) Rotated 257 x 182 mm.
2349
+ #
2350
+ PAPER_B5_JIS_ROTATED = Wx::PaperSize.new(78)
2351
+
2352
+ # B5 (JIS) Transverse 182 x 257 mm.
2353
+ #
2354
+ PAPER_B5_TRANSVERSE = Wx::PaperSize.new(60)
2355
+
2356
+ # B6 (JIS) 128 x 182 mm.
2357
+ #
2358
+ PAPER_B6_JIS = Wx::PaperSize.new(86)
2359
+
2360
+ # B6 (JIS) Rotated 182 x 128 mm.
2361
+ #
2362
+ PAPER_B6_JIS_ROTATED = Wx::PaperSize.new(87)
2363
+
2364
+ # SuperB/SuperB/A3 305 x 487 mm.
2365
+ #
2366
+ PAPER_B_PLUS = Wx::PaperSize.new(56)
2367
+
2368
+ # C Sheet, 17 by 22 inches.
2369
+ #
2370
+ PAPER_CSHEET = Wx::PaperSize.new(4)
2371
+
2372
+ # Japanese Double Postcard 200 x 148 mm.
2373
+ #
2374
+ PAPER_DBL_JAPANESE_POSTCARD = Wx::PaperSize.new(67)
2375
+
2376
+ # Double Japanese Postcard Rotated 148 x 200 mm.
2377
+ #
2378
+ PAPER_DBL_JAPANESE_POSTCARD_ROTATED = Wx::PaperSize.new(80)
2379
+
2380
+ # D Sheet, 22 by 34 inches.
2381
+ #
2382
+ PAPER_DSHEET = Wx::PaperSize.new(5)
2383
+
2384
+ # #10 Envelope, 4 1/8 by 9 1/2 inches
2385
+ #
2386
+ PAPER_ENV_10 = Wx::PaperSize.new(23)
2387
+
2388
+ # #11 Envelope, 4 1/2 by 10 3/8 inches
2389
+ #
2390
+ PAPER_ENV_11 = Wx::PaperSize.new(24)
2391
+
2392
+ # #12 Envelope, 4 3/4 by 11 inches
2393
+ #
2394
+ PAPER_ENV_12 = Wx::PaperSize.new(25)
2395
+
2396
+ # #14 Envelope, 5 by 11 1/2 inches
2397
+ #
2398
+ PAPER_ENV_14 = Wx::PaperSize.new(26)
2399
+
2400
+ # #9 Envelope, 3 7/8 by 8 7/8 inches
2401
+ #
2402
+ PAPER_ENV_9 = Wx::PaperSize.new(22)
2403
+
2404
+ # B4 Envelope, 250 by 353 millimeters.
2405
+ #
2406
+ PAPER_ENV_B4 = Wx::PaperSize.new(33)
2407
+
2408
+ # B5 Envelope, 176 by 250 millimeters.
2409
+ #
2410
+ PAPER_ENV_B5 = Wx::PaperSize.new(34)
2411
+
2412
+ # B6 Envelope, 176 by 125 millimeters.
2413
+ #
2414
+ PAPER_ENV_B6 = Wx::PaperSize.new(35)
2415
+
2416
+ # C3 Envelope, 324 by 458 millimeters.
2417
+ #
2418
+ PAPER_ENV_C3 = Wx::PaperSize.new(29)
2419
+
2420
+ # C4 Envelope, 229 by 324 millimeters.
2421
+ #
2422
+ PAPER_ENV_C4 = Wx::PaperSize.new(30)
2423
+
2424
+ # C5 Envelope, 162 by 229 millimeters.
2425
+ #
2426
+ PAPER_ENV_C5 = Wx::PaperSize.new(28)
2427
+
2428
+ # C6 Envelope, 114 by 162 millimeters.
2429
+ #
2430
+ PAPER_ENV_C6 = Wx::PaperSize.new(31)
2431
+
2432
+ # C65 Envelope, 114 by 229 millimeters.
2433
+ #
2434
+ PAPER_ENV_C65 = Wx::PaperSize.new(32)
2435
+
2436
+ # DL Envelope, 110 by 220 millimeters.
2437
+ #
2438
+ PAPER_ENV_DL = Wx::PaperSize.new(27)
2439
+
2440
+ # Envelope Invite 220 x 220 mm.
2441
+ #
2442
+ PAPER_ENV_INVITE = Wx::PaperSize.new(47)
2443
+
2444
+ # Italy Envelope, 110 by 230 millimeters.
2445
+ #
2446
+ PAPER_ENV_ITALY = Wx::PaperSize.new(36)
2447
+
2448
+ # Monarch Envelope, 3 7/8 by 7 1/2 inches.
2449
+ #
2450
+ PAPER_ENV_MONARCH = Wx::PaperSize.new(37)
2451
+
2452
+ # 6 3/4 Envelope, 3 5/8 by 6 1/2 inches
2453
+ #
2454
+ PAPER_ENV_PERSONAL = Wx::PaperSize.new(38)
2455
+
2456
+ # E Sheet, 34 by 44 inches.
2457
+ #
2458
+ PAPER_ESHEET = Wx::PaperSize.new(6)
2459
+
2460
+ # Executive, 7 1/4 by 10 1/2 inches.
2461
+ #
2462
+ PAPER_EXECUTIVE = Wx::PaperSize.new(11)
2463
+
2464
+ # German Legal Fanfold, 8 1/2 by 13 inches.
2465
+ #
2466
+ PAPER_FANFOLD_LGL_GERMAN = Wx::PaperSize.new(41)
2467
+
2468
+ # German Std Fanfold, 8 1/2 by 12 inches.
2469
+ #
2470
+ PAPER_FANFOLD_STD_GERMAN = Wx::PaperSize.new(40)
2471
+
2472
+ # US Std Fanfold, 14 7/8 by 11 inches.
2473
+ #
2474
+ PAPER_FANFOLD_US = Wx::PaperSize.new(39)
2475
+
2476
+ # Folio, 8-1/2-by-13-inch paper.
2477
+ #
2478
+ PAPER_FOLIO = Wx::PaperSize.new(17)
2479
+
2480
+ # B4 (ISO) 250 x 353 mm.
2481
+ #
2482
+ PAPER_ISO_B4 = Wx::PaperSize.new(42)
2483
+
2484
+ # Japanese Postcard 100 x 148 mm.
2485
+ #
2486
+ PAPER_JAPANESE_POSTCARD = Wx::PaperSize.new(43)
2487
+
2488
+ # Japanese Postcard Rotated 148 x 100 mm.
2489
+ #
2490
+ PAPER_JAPANESE_POSTCARD_ROTATED = Wx::PaperSize.new(79)
2491
+
2492
+ # Japanese Envelope Chou #3.
2493
+ #
2494
+ PAPER_JENV_CHOU3 = Wx::PaperSize.new(71)
2495
+
2496
+ # Japanese Envelope Chou #3 Rotated.
2497
+ #
2498
+ PAPER_JENV_CHOU3_ROTATED = Wx::PaperSize.new(84)
2499
+
2500
+ # Japanese Envelope Chou #4.
2501
+ #
2502
+ PAPER_JENV_CHOU4 = Wx::PaperSize.new(72)
2503
+
2504
+ # Japanese Envelope Chou #4 Rotated.
2505
+ #
2506
+ PAPER_JENV_CHOU4_ROTATED = Wx::PaperSize.new(85)
2507
+
2508
+ # Japanese Envelope Kaku #2.
2509
+ #
2510
+ PAPER_JENV_KAKU2 = Wx::PaperSize.new(69)
2511
+
2512
+ # Japanese Envelope Kaku #2 Rotated.
2513
+ #
2514
+ PAPER_JENV_KAKU2_ROTATED = Wx::PaperSize.new(82)
2515
+
2516
+ # Japanese Envelope Kaku #3.
2517
+ #
2518
+ PAPER_JENV_KAKU3 = Wx::PaperSize.new(70)
2519
+
2520
+ # Japanese Envelope Kaku #3 Rotated.
2521
+ #
2522
+ PAPER_JENV_KAKU3_ROTATED = Wx::PaperSize.new(83)
2523
+
2524
+ # Japanese Envelope You #4.
2525
+ #
2526
+ PAPER_JENV_YOU4 = Wx::PaperSize.new(89)
2527
+
2528
+ # Japanese Envelope You #4 Rotated.
2529
+ #
2530
+ PAPER_JENV_YOU4_ROTATED = Wx::PaperSize.new(90)
2531
+
2532
+ # Ledger, 17 by 11 inches.
2533
+ #
2534
+ PAPER_LEDGER = Wx::PaperSize.new(9)
2535
+
2536
+ # Legal, 8 1/2 by 14 inches.
2537
+ #
2538
+ PAPER_LEGAL = Wx::PaperSize.new(2)
2539
+
2540
+ # Legal Extra 9.5 x 15 in.
2541
+ #
2542
+ PAPER_LEGAL_EXTRA = Wx::PaperSize.new(49)
2543
+
2544
+ # Letter, 8 1/2 by 11 inches.
2545
+ #
2546
+ PAPER_LETTER = Wx::PaperSize.new(1)
2547
+
2548
+ # Letter Small, 8 1/2 by 11 inches.
2549
+ #
2550
+ PAPER_LETTERSMALL = Wx::PaperSize.new(7)
2551
+
2552
+ # Letter Extra 9.5 x 12 in.
2553
+ #
2554
+ PAPER_LETTER_EXTRA = Wx::PaperSize.new(48)
2555
+
2556
+ # Letter Extra Transverse 9.5 x 12 in.
2557
+ #
2558
+ PAPER_LETTER_EXTRA_TRANSVERSE = Wx::PaperSize.new(54)
2559
+
2560
+ # Letter Plus 8.5 x 12.69 in.
2561
+ #
2562
+ PAPER_LETTER_PLUS = Wx::PaperSize.new(57)
2563
+
2564
+ # Letter Rotated 11 x 8 1/2 in.
2565
+ #
2566
+ PAPER_LETTER_ROTATED = Wx::PaperSize.new(73)
2567
+
2568
+ # Letter Transverse 8.5 x 11 in.
2569
+ #
2570
+ PAPER_LETTER_TRANSVERSE = Wx::PaperSize.new(52)
2571
+
2572
+ # Use specific dimensions.
2573
+ #
2574
+ PAPER_NONE = Wx::PaperSize.new(0)
2575
+
2576
+ # Note, 8 1/2 by 11 inches.
2577
+ #
2578
+ PAPER_NOTE = Wx::PaperSize.new(21)
2579
+
2580
+ # PRC 16K 146 x 215 mm.
2581
+ #
2582
+ PAPER_P16K = Wx::PaperSize.new(91)
2583
+
2584
+ # PRC 16K Rotated.
2585
+ #
2586
+ PAPER_P16K_ROTATED = Wx::PaperSize.new(104)
2587
+
2588
+ # PRC 32K 97 x 151 mm.
2589
+ #
2590
+ PAPER_P32K = Wx::PaperSize.new(92)
2591
+
2592
+ # PRC 32K(Big) 97 x 151 mm.
2593
+ #
2594
+ PAPER_P32KBIG = Wx::PaperSize.new(93)
2595
+
2596
+ # PRC 32K(Big) Rotated.
2597
+ #
2598
+ PAPER_P32KBIG_ROTATED = Wx::PaperSize.new(106)
2599
+
2600
+ # PRC 32K Rotated.
2601
+ #
2602
+ PAPER_P32K_ROTATED = Wx::PaperSize.new(105)
2603
+
2604
+ # PRC Envelope #1 102 x 165 mm.
2605
+ #
2606
+ PAPER_PENV_1 = Wx::PaperSize.new(94)
2607
+
2608
+ # PRC Envelope #10 324 x 458 mm.
2609
+ #
2610
+ PAPER_PENV_10 = Wx::PaperSize.new(103)
2611
+
2612
+ # PRC Envelope #10 Rotated 458 x 324 m.
2613
+ #
2614
+ PAPER_PENV_10_ROTATED = Wx::PaperSize.new(116)
2615
+
2616
+ # PRC Envelope #1 Rotated 165 x 102 mm.
2617
+ #
2618
+ PAPER_PENV_1_ROTATED = Wx::PaperSize.new(107)
2619
+
2620
+ # PRC Envelope #2 102 x 176 mm.
2621
+ #
2622
+ PAPER_PENV_2 = Wx::PaperSize.new(95)
2623
+
2624
+ # PRC Envelope #2 Rotated 176 x 102 mm.
2625
+ #
2626
+ PAPER_PENV_2_ROTATED = Wx::PaperSize.new(108)
2627
+
2628
+ # PRC Envelope #3 125 x 176 mm.
2629
+ #
2630
+ PAPER_PENV_3 = Wx::PaperSize.new(96)
2631
+
2632
+ # PRC Envelope #3 Rotated 176 x 125 mm.
2633
+ #
2634
+ PAPER_PENV_3_ROTATED = Wx::PaperSize.new(109)
2635
+
2636
+ # PRC Envelope #4 110 x 208 mm.
2637
+ #
2638
+ PAPER_PENV_4 = Wx::PaperSize.new(97)
2639
+
2640
+ # PRC Envelope #4 Rotated 208 x 110 mm.
2641
+ #
2642
+ PAPER_PENV_4_ROTATED = Wx::PaperSize.new(110)
2643
+
2644
+ # PRC Envelope #5 110 x 220 mm.
2645
+ #
2646
+ PAPER_PENV_5 = Wx::PaperSize.new(98)
2647
+
2648
+ # PRC Envelope #5 Rotated 220 x 110 mm.
2649
+ #
2650
+ PAPER_PENV_5_ROTATED = Wx::PaperSize.new(111)
2651
+
2652
+ # PRC Envelope #6 120 x 230 mm.
2653
+ #
2654
+ PAPER_PENV_6 = Wx::PaperSize.new(99)
2655
+
2656
+ # PRC Envelope #6 Rotated 230 x 120 mm.
2657
+ #
2658
+ PAPER_PENV_6_ROTATED = Wx::PaperSize.new(112)
2659
+
2660
+ # PRC Envelope #7 160 x 230 mm.
2661
+ #
2662
+ PAPER_PENV_7 = Wx::PaperSize.new(100)
2663
+
2664
+ # PRC Envelope #7 Rotated 230 x 160 mm.
2665
+ #
2666
+ PAPER_PENV_7_ROTATED = Wx::PaperSize.new(113)
2667
+
2668
+ # PRC Envelope #8 120 x 309 mm.
2669
+ #
2670
+ PAPER_PENV_8 = Wx::PaperSize.new(101)
2671
+
2672
+ # PRC Envelope #8 Rotated 309 x 120 mm.
2673
+ #
2674
+ PAPER_PENV_8_ROTATED = Wx::PaperSize.new(114)
2675
+
2676
+ # PRC Envelope #9 229 x 324 mm.
2677
+ #
2678
+ PAPER_PENV_9 = Wx::PaperSize.new(102)
2679
+
2680
+ # PRC Envelope #9 Rotated 324 x 229 mm.
2681
+ #
2682
+ PAPER_PENV_9_ROTATED = Wx::PaperSize.new(115)
2683
+
2684
+ # Quarto, 215-by-275-millimeter paper.
2685
+ #
2686
+ PAPER_QUARTO = Wx::PaperSize.new(18)
2687
+
2688
+ # Statement, 5 1/2 by 8 1/2 inches.
2689
+ #
2690
+ PAPER_STATEMENT = Wx::PaperSize.new(10)
2691
+
2692
+ # Tabloid, 11 by 17 inches.
2693
+ #
2694
+ PAPER_TABLOID = Wx::PaperSize.new(8)
2695
+
2696
+ # Tabloid Extra 11.69 x 18 in.
2697
+ #
2698
+ PAPER_TABLOID_EXTRA = Wx::PaperSize.new(50)
2699
+
2700
+ end # PaperSize
2701
+
2702
+ # Printing orientation.
2703
+ #
2704
+ #
2705
+ #
2706
+ class PrintOrientation < Wx::Enum
2707
+
2708
+ #
2709
+ #
2710
+ PORTRAIT = Wx::PrintOrientation.new(1)
2711
+
2712
+ #
2713
+ #
2714
+ LANDSCAPE = Wx::PrintOrientation.new(2)
2715
+
2716
+ end # PrintOrientation
2717
+
2718
+ # Duplex printing modes.
2719
+ #
2720
+ #
2721
+ #
2722
+ class DuplexMode < Wx::Enum
2723
+
2724
+ # Non-duplex.
2725
+ #
2726
+ DUPLEX_SIMPLEX = Wx::DuplexMode.new(0)
2727
+
2728
+ #
2729
+ #
2730
+ DUPLEX_HORIZONTAL = Wx::DuplexMode.new(1)
2731
+
2732
+ #
2733
+ #
2734
+ DUPLEX_VERTICAL = Wx::DuplexMode.new(2)
2735
+
2736
+ end # DuplexMode
2737
+
2738
+ # Print mode (currently PostScript only).
2739
+ #
2740
+ #
2741
+ #
2742
+ class PrintMode < Wx::Enum
2743
+
2744
+ #
2745
+ #
2746
+ PRINT_MODE_NONE = Wx::PrintMode.new(0)
2747
+
2748
+ # Preview in external application.
2749
+ #
2750
+ PRINT_MODE_PREVIEW = Wx::PrintMode.new(1)
2751
+
2752
+ # Print to file.
2753
+ #
2754
+ PRINT_MODE_FILE = Wx::PrintMode.new(2)
2755
+
2756
+ # Send to printer.
2757
+ #
2758
+ PRINT_MODE_PRINTER = Wx::PrintMode.new(3)
2759
+
2760
+ # Send postscript data into a stream.
2761
+ #
2762
+ PRINT_MODE_STREAM = Wx::PrintMode.new(4)
2763
+
2764
+ end # PrintMode
2765
+
2766
+ # Flags which can be used in {Wx::Window#update_window_ui}.
2767
+ #
2768
+ #
2769
+ #
2770
+ class UpdateUI < Wx::Enum
2771
+
2772
+ #
2773
+ #
2774
+ UPDATE_UI_NONE = Wx::UpdateUI.new(0)
2775
+
2776
+ #
2777
+ #
2778
+ UPDATE_UI_RECURSE = Wx::UpdateUI.new(1)
2779
+
2780
+ # Invoked from On(Internal)Idle.
2781
+ #
2782
+ UPDATE_UI_FROMIDLE = Wx::UpdateUI.new(2)
2783
+
2784
+ end # UpdateUI
2785
+
2786
+ # A special value meaning "use default coordinate".
2787
+ #
2788
+ DEFAULT_COORD = -1
2789
+
2790
+ # A function which deletes and nulls the pointer.
2791
+ # This function uses operator delete to free the pointer and also sets it to NULL. Notice that this does not work for arrays, use {deletea} for them.
2792
+ #
2793
+ # MyClass *ptr = new MyClass;
2794
+ # ...
2795
+ # wxDELETE(ptr);
2796
+ # wxASSERT(!ptr);
2797
+ #
2798
+ # Include file: #include <wx/defs.h>
2799
+ # @param ptr [T]
2800
+ # @return [void]
2801
+ def self.delete(ptr) end
2802
+
2803
+ # A function which deletes and nulls the pointer.
2804
+ # This function uses vector operator delete (delete[]) to free the array pointer and also sets it to NULL. Notice that this does not work for non-array pointers, use {delete} for them.
2805
+ #
2806
+ # MyClass *array = new MyClass[17];
2807
+ # ...
2808
+ # wxDELETEA(array);
2809
+ # wxASSERT(!array);
2810
+ #
2811
+ # Include file: #include <wx/defs.h>
2812
+ # @see delete
2813
+ # @param array [T]
2814
+ # @return [void]
2815
+ def self.deletea(array) end
2816
+
2817
+ # Swaps the contents of two variables.
2818
+ # This is similar to std::swap() but can be used even on the platforms where the standard C++ library is not available (if you don't target such platforms, please use std::swap() instead).
2819
+ # The function relies on type T being copy constructible and assignable.
2820
+ # Example of use:
2821
+ #
2822
+ # int x = 3,
2823
+ # y = 4;
2824
+ # wxSwap(x, y);
2825
+ # wxASSERT( x == 4 && y == 3 );
2826
+ # @param first [T]
2827
+ # @param second [T]
2828
+ # @return [void]
2829
+ def self.swap(first, second) end
2830
+
2831
+
2832
+ end