wxruby3 0.9.0.pre.beta.10-x64-mingw-ucrt → 0.9.0.pre.beta.13-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (283) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +85 -0
  3. data/README.md +2 -0
  4. data/assets/logo.png +0 -0
  5. data/assets/logo.svg +170 -0
  6. data/assets/logo.xcf +0 -0
  7. data/ext/wxbase32u_gcc_custom.dll +0 -0
  8. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  9. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  20. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  21. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  22. data/lib/wx/core/array_ext.rb +26 -0
  23. data/lib/wx/core/art_locator.rb +92 -0
  24. data/lib/wx/core/artprovider.rb +1 -1
  25. data/lib/wx/core/bitmap.rb +90 -53
  26. data/lib/wx/core/cursor.rb +12 -0
  27. data/lib/wx/core/data_object.rb +74 -6
  28. data/lib/wx/core/dataformat.rb +3 -1
  29. data/lib/wx/core/dc.rb +76 -52
  30. data/lib/wx/core/enum.rb +4 -0
  31. data/lib/wx/core/event.rb +38 -5
  32. data/lib/wx/core/events/evt_list.rb +3 -2
  33. data/lib/wx/core/evthandler.rb +64 -23
  34. data/lib/wx/core/icon.rb +50 -35
  35. data/lib/wx/core/id_helper.rb +32 -0
  36. data/lib/wx/core/image.rb +63 -53
  37. data/lib/wx/core/point.rb +35 -10
  38. data/lib/wx/core/real_point.rb +35 -10
  39. data/lib/wx/core/rect.rb +44 -9
  40. data/lib/wx/core/region_iterator.rb +37 -0
  41. data/lib/wx/core/size.rb +32 -5
  42. data/lib/wx/core/window.rb +8 -31
  43. data/lib/wx/doc/array_ext.rb +27 -0
  44. data/lib/wx/doc/art_locator.rb +57 -0
  45. data/lib/wx/doc/bitmap.rb +27 -0
  46. data/lib/wx/doc/clipboard.rb +12 -0
  47. data/lib/wx/doc/const.rb +77 -0
  48. data/lib/wx/doc/cursor.rb +16 -0
  49. data/lib/wx/doc/data_object.rb +103 -0
  50. data/lib/wx/doc/dc.rb +63 -46
  51. data/lib/wx/doc/event.rb +24 -0
  52. data/lib/wx/doc/events.rb +14 -0
  53. data/lib/wx/doc/evthandler.rb +24 -3
  54. data/lib/wx/doc/extra/00_starting.md +1 -1
  55. data/lib/wx/doc/extra/06_geometry.md +10 -4
  56. data/lib/wx/doc/extra/10_art.md +105 -0
  57. data/lib/wx/doc/gc_dc.rb +21 -0
  58. data/lib/wx/doc/gdi_common.rb +155 -6
  59. data/lib/wx/doc/gen/about_dialog_info.rb +1 -4
  60. data/lib/wx/doc/gen/animation.rb +3 -3
  61. data/lib/wx/doc/gen/animation_ctrl.rb +4 -4
  62. data/lib/wx/doc/gen/any_button.rb +1 -1
  63. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -1
  64. data/lib/wx/doc/gen/aui/aui_manager.rb +2 -2
  65. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +3 -3
  66. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +3 -3
  67. data/lib/wx/doc/gen/aui/aui_notebook.rb +2 -2
  68. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +6 -6
  69. data/lib/wx/doc/gen/bitmap.rb +1 -1
  70. data/lib/wx/doc/gen/bitmap_button.rb +2 -2
  71. data/lib/wx/doc/gen/book_ctrl_base.rb +4 -4
  72. data/lib/wx/doc/gen/brush.rb +1 -1
  73. data/lib/wx/doc/gen/button.rb +2 -2
  74. data/lib/wx/doc/gen/calendar_ctrl.rb +3 -3
  75. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  76. data/lib/wx/doc/gen/check_box.rb +2 -2
  77. data/lib/wx/doc/gen/check_list_box.rb +3 -3
  78. data/lib/wx/doc/gen/choice.rb +2 -2
  79. data/lib/wx/doc/gen/choicebook.rb +2 -2
  80. data/lib/wx/doc/gen/collapsible_pane.rb +2 -2
  81. data/lib/wx/doc/gen/colour.rb +1 -3
  82. data/lib/wx/doc/gen/colour_dialog.rb +1 -2
  83. data/lib/wx/doc/gen/colour_picker_ctrl.rb +2 -2
  84. data/lib/wx/doc/gen/combo_box.rb +4 -4
  85. data/lib/wx/doc/gen/context_help_button.rb +1 -1
  86. data/lib/wx/doc/gen/control.rb +3 -3
  87. data/lib/wx/doc/gen/core.rb +2 -2
  88. data/lib/wx/doc/gen/data_format.rb +1 -1
  89. data/lib/wx/doc/gen/data_object.rb +6 -26
  90. data/lib/wx/doc/gen/data_object_simple_base.rb +10 -0
  91. data/lib/wx/doc/gen/date_picker_ctrl.rb +2 -2
  92. data/lib/wx/doc/gen/dc.rb +9 -9
  93. data/lib/wx/doc/gen/defs.rb +0 -4
  94. data/lib/wx/doc/gen/dialog.rb +3 -3
  95. data/lib/wx/doc/gen/dir_dialog.rb +2 -4
  96. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
  97. data/lib/wx/doc/gen/dir_picker_ctrl.rb +2 -2
  98. data/lib/wx/doc/gen/drag_drop.rb +13 -1
  99. data/lib/wx/doc/gen/editable_list_box.rb +2 -2
  100. data/lib/wx/doc/gen/event.rb +0 -1
  101. data/lib/wx/doc/gen/event_list.rb +18 -16
  102. data/lib/wx/doc/gen/events.rb +87 -2
  103. data/lib/wx/doc/gen/ext_help_controller.rb +2 -2
  104. data/lib/wx/doc/gen/file_dialog.rb +1 -1
  105. data/lib/wx/doc/gen/file_picker_ctrl.rb +2 -2
  106. data/lib/wx/doc/gen/font.rb +6 -6
  107. data/lib/wx/doc/gen/font_dialog.rb +1 -2
  108. data/lib/wx/doc/gen/font_picker_ctrl.rb +2 -2
  109. data/lib/wx/doc/gen/frame.rb +5 -5
  110. data/lib/wx/doc/gen/fs_file.rb +2 -2
  111. data/lib/wx/doc/gen/gauge.rb +2 -2
  112. data/lib/wx/doc/gen/gdi_common.rb +18 -21
  113. data/lib/wx/doc/gen/generic_dir_ctrl.rb +2 -2
  114. data/lib/wx/doc/gen/graphics_context.rb +4 -4
  115. data/lib/wx/doc/gen/graphics_object.rb +2 -2
  116. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
  117. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  118. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  119. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  120. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
  121. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
  122. data/lib/wx/doc/gen/grid/grid_ctrl.rb +7 -7
  123. data/lib/wx/doc/gen/help_controller.rb +1 -1
  124. data/lib/wx/doc/gen/html/html_cell.rb +4 -4
  125. data/lib/wx/doc/gen/html/html_easy_printing.rb +6 -6
  126. data/lib/wx/doc/gen/html/html_help_controller.rb +6 -6
  127. data/lib/wx/doc/gen/html/html_help_frame.rb +2 -2
  128. data/lib/wx/doc/gen/html/html_help_window.rb +6 -6
  129. data/lib/wx/doc/gen/html/html_list_box.rb +6 -6
  130. data/lib/wx/doc/gen/html/html_printout.rb +4 -4
  131. data/lib/wx/doc/gen/html/html_window.rb +4 -4
  132. data/lib/wx/doc/gen/icon.rb +6 -6
  133. data/lib/wx/doc/gen/image.rb +7 -7
  134. data/lib/wx/doc/gen/list_box.rb +4 -4
  135. data/lib/wx/doc/gen/list_ctrl.rb +5 -5
  136. data/lib/wx/doc/gen/listbook.rb +2 -2
  137. data/lib/wx/doc/gen/locale.rb +8 -8
  138. data/lib/wx/doc/gen/log.rb +2 -2
  139. data/lib/wx/doc/gen/mdi_frame.rb +5 -5
  140. data/lib/wx/doc/gen/media_ctrl.rb +4 -4
  141. data/lib/wx/doc/gen/menu.rb +12 -12
  142. data/lib/wx/doc/gen/menu_item.rb +1 -1
  143. data/lib/wx/doc/gen/message_dialog.rb +2 -4
  144. data/lib/wx/doc/gen/mini_frame.rb +2 -2
  145. data/lib/wx/doc/gen/notebook.rb +3 -3
  146. data/lib/wx/doc/gen/number_entry_dialog.rb +0 -1
  147. data/lib/wx/doc/gen/object.rb +0 -1
  148. data/lib/wx/doc/gen/panel.rb +2 -2
  149. data/lib/wx/doc/gen/pen.rb +2 -2
  150. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +1 -1
  151. data/lib/wx/doc/gen/pg/pg_cell.rb +1 -1
  152. data/lib/wx/doc/gen/pg/pg_properties.rb +20 -20
  153. data/lib/wx/doc/gen/pg/pg_property.rb +12 -12
  154. data/lib/wx/doc/gen/pg/property_grid.rb +3 -3
  155. data/lib/wx/doc/gen/pg/property_grid_interface.rb +14 -14
  156. data/lib/wx/doc/gen/pg/property_grid_manager.rb +3 -3
  157. data/lib/wx/doc/gen/pg/property_grid_page.rb +2 -2
  158. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +2 -2
  159. data/lib/wx/doc/gen/popup_window.rb +3 -3
  160. data/lib/wx/doc/gen/property_sheet_dialog.rb +3 -3
  161. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  162. data/lib/wx/doc/gen/prt/printer.rb +1 -1
  163. data/lib/wx/doc/gen/radio_box.rb +4 -4
  164. data/lib/wx/doc/gen/radio_button.rb +2 -2
  165. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +2 -2
  166. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +12 -12
  167. data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
  168. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +2 -2
  169. data/lib/wx/doc/gen/rbn/ribbon_page.rb +2 -2
  170. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +2 -2
  171. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +11 -11
  172. data/lib/wx/doc/gen/region.rb +1 -1
  173. data/lib/wx/doc/gen/region_iterator.rb +76 -0
  174. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +10 -10
  175. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +19 -19
  176. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -2
  177. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +4 -4
  178. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +1 -1
  179. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +6 -6
  180. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
  181. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
  182. data/lib/wx/doc/gen/sash_event.rb +1 -1
  183. data/lib/wx/doc/gen/sash_layout_window.rb +2 -2
  184. data/lib/wx/doc/gen/sash_window.rb +1 -1
  185. data/lib/wx/doc/gen/scaled_dc.rb +10 -0
  186. data/lib/wx/doc/gen/scroll_bar.rb +150 -0
  187. data/lib/wx/doc/gen/scrolled_canvas.rb +2 -2
  188. data/lib/wx/doc/gen/scrolled_control.rb +2 -2
  189. data/lib/wx/doc/gen/scrolled_window.rb +2 -2
  190. data/lib/wx/doc/gen/simplebook.rb +2 -2
  191. data/lib/wx/doc/gen/sizer.rb +3 -3
  192. data/lib/wx/doc/gen/slider.rb +2 -2
  193. data/lib/wx/doc/gen/spin_button.rb +2 -2
  194. data/lib/wx/doc/gen/spin_ctrl.rb +2 -2
  195. data/lib/wx/doc/gen/splash_screen.rb +1 -1
  196. data/lib/wx/doc/gen/splitter_window.rb +2 -2
  197. data/lib/wx/doc/gen/static_bitmap.rb +2 -2
  198. data/lib/wx/doc/gen/static_box.rb +4 -4
  199. data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
  200. data/lib/wx/doc/gen/static_line.rb +2 -2
  201. data/lib/wx/doc/gen/static_text.rb +2 -2
  202. data/lib/wx/doc/gen/status_bar.rb +2 -2
  203. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +3 -3
  204. data/lib/wx/doc/gen/task_bar_icon.rb +2 -2
  205. data/lib/wx/doc/gen/text_attr.rb +3 -3
  206. data/lib/wx/doc/gen/text_ctrl.rb +3 -3
  207. data/lib/wx/doc/gen/text_entry_dialog.rb +6 -8
  208. data/lib/wx/doc/gen/text_validator.rb +1 -1
  209. data/lib/wx/doc/gen/time_picker_ctrl.rb +2 -2
  210. data/lib/wx/doc/gen/tip_provider.rb +1 -3
  211. data/lib/wx/doc/gen/toggle_button.rb +2 -2
  212. data/lib/wx/doc/gen/tool_bar.rb +10 -10
  213. data/lib/wx/doc/gen/toolbook.rb +2 -2
  214. data/lib/wx/doc/gen/top_level_window.rb +4 -4
  215. data/lib/wx/doc/gen/tree_ctrl.rb +4 -4
  216. data/lib/wx/doc/gen/treebook.rb +2 -2
  217. data/lib/wx/doc/gen/utils.rb +5 -42
  218. data/lib/wx/doc/gen/v_list_box.rb +2 -2
  219. data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
  220. data/lib/wx/doc/gen/variant.rb +10 -10
  221. data/lib/wx/doc/gen/window.rb +9 -14
  222. data/lib/wx/doc/gen/wizard.rb +2 -2
  223. data/lib/wx/doc/gen/wizard_event.rb +1 -1
  224. data/lib/wx/doc/gen/xml_node.rb +2 -2
  225. data/lib/wx/doc/gen/xml_resource.rb +3 -3
  226. data/lib/wx/doc/graphics_context.rb +42 -0
  227. data/lib/wx/doc/icon.rb +18 -0
  228. data/lib/wx/doc/id_helper.rb +25 -0
  229. data/lib/wx/doc/image.rb +33 -0
  230. data/lib/wx/doc/region_iterator.rb +31 -0
  231. data/lib/wx/doc/scaled_dc.rb +17 -0
  232. data/lib/wx/doc/window.rb +18 -0
  233. data/lib/wx/global_const.rb +4 -3
  234. data/lib/wx/version.rb +1 -1
  235. data/lib/wx/wxruby/cmd/sampler.rb +3 -21
  236. data/lib/wxruby_aui.so +0 -0
  237. data/lib/wxruby_core.so +0 -0
  238. data/lib/wxruby_grid.so +0 -0
  239. data/lib/wxruby_html.so +0 -0
  240. data/lib/wxruby_pg.so +0 -0
  241. data/lib/wxruby_prt.so +0 -0
  242. data/lib/wxruby_rbn.so +0 -0
  243. data/lib/wxruby_rtc.so +0 -0
  244. data/lib/wxruby_stc.so +0 -0
  245. data/rakelib/lib/config.rb +4 -4
  246. data/samples/art/wxruby-128x128.png +0 -0
  247. data/samples/art/wxruby-256x256.png +0 -0
  248. data/samples/art/wxruby-64x64.png +0 -0
  249. data/samples/art/wxruby.ico +0 -0
  250. data/samples/art/wxruby.png +0 -0
  251. data/samples/drawing/graphics_drawing.rb +1 -2
  252. data/samples/propgrid/propgrid.rb +65 -65
  253. data/samples/sample.xpm +246 -470
  254. data/samples/treectrl/treectrl.rb +1 -1
  255. data/tests/art/my_art/sample.xpm +251 -0
  256. data/tests/art/sample3.xpm +251 -0
  257. data/tests/art/test_art/bitmap/sample.xpm +251 -0
  258. data/tests/art/test_art/bitmap/wxruby.bmp +0 -0
  259. data/tests/art/test_art/bitmap/wxruby.png +0 -0
  260. data/tests/art/test_art/bitmap/wxruby.xpm +251 -0
  261. data/tests/art/test_art/cursor/wxruby.bmp +0 -0
  262. data/tests/art/test_art/icon/sample.xpm +251 -0
  263. data/tests/art/test_art/icon/wxruby.ico +0 -0
  264. data/tests/art/test_art/icon/wxruby.png +0 -0
  265. data/tests/art/test_art/image/sample.xpm +251 -0
  266. data/tests/art/test_art/image/wxruby.jpg +0 -0
  267. data/tests/art/test_art/image/wxruby.png +0 -0
  268. data/tests/art/test_art/sample2.xpm +251 -0
  269. data/tests/lib/wxapp_runner.rb +64 -0
  270. data/tests/test_art.rb +91 -0
  271. data/tests/test_basic.rb +0 -5
  272. data/tests/test_clipboard.rb +149 -17
  273. data/tests/test_dc.rb +70 -0
  274. data/tests/test_dialog.rb +2 -13
  275. data/tests/test_event_handling.rb +2 -13
  276. data/tests/test_events.rb +14 -6
  277. data/tests/test_geometry.rb +67 -17
  278. data/tests/test_intl.rb +2 -15
  279. data/tests/test_item_data.rb +2 -15
  280. data/tests/test_variant.rb +1 -15
  281. data/tests/testapp.rb +0 -5
  282. data/tests/testapp_noframe.rb +0 -5
  283. metadata +55 -3
@@ -33,7 +33,7 @@ module Wx::RBN
33
33
  # Default constructor.
34
34
  # With this constructor, {Wx::RBN::RibbonToolBar#create} should be called in order to create the tool bar.
35
35
  # @return [RibbonToolBar]
36
- # @overload initialize(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0)
36
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0)
37
37
  # Construct a ribbon tool bar with the given parameters.
38
38
  # @param parent [Wx::Window] Parent window for the tool bar (typically a {Wx::RBN::RibbonPanel}).
39
39
  # @param id [Integer] An identifier for the toolbar. {Wx::StandardID::ID_ANY} is taken to mean a default.
@@ -51,16 +51,16 @@ module Wx::RBN
51
51
  # @param size [Array(Integer, Integer), Wx::Size]
52
52
  # @param style [Integer]
53
53
  # @return [true,false]
54
- def create(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0) end
54
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0) end
55
55
 
56
- # @overload add_tool(tool_id, bitmap, help_string, kind=Wx::RIBBON_BUTTON_NORMAL)
56
+ # @overload add_tool(tool_id, bitmap, help_string, kind=Wx::RBN::RibbonButtonKind::RIBBON_BUTTON_NORMAL)
57
57
  # Add a tool to the tool bar (simple version).
58
58
  # @param tool_id [Integer]
59
59
  # @param bitmap [Wx::Bitmap]
60
60
  # @param help_string [String]
61
61
  # @param kind [RibbonButtonKind]
62
62
  # @return [Integer]
63
- # @overload add_tool(tool_id, bitmap, bitmap_disabled=Wx::NULL_BITMAP, help_string=Wx::EMPTY_STRING, kind=Wx::RIBBON_BUTTON_NORMAL, clientData=nil)
63
+ # @overload add_tool(tool_id, bitmap, bitmap_disabled=Wx::NULL_BITMAP, help_string=(''), kind=Wx::RBN::RibbonButtonKind::RIBBON_BUTTON_NORMAL, clientData=nil)
64
64
  # Add a tool to the tool bar.
65
65
  # An opaque pointer which can be used only with other tool bar methods.
66
66
  # @see Wx::RBN::RibbonToolBar#add_dropdown_tool
@@ -83,7 +83,7 @@ module Wx::RBN
83
83
  # @param bitmap [Wx::Bitmap]
84
84
  # @param help_string [String]
85
85
  # @return [Integer]
86
- def add_dropdown_tool(tool_id, bitmap, help_string=Wx::EMPTY_STRING) end
86
+ def add_dropdown_tool(tool_id, bitmap, help_string=('')) end
87
87
 
88
88
  # Add a hybrid tool to the tool bar (simple version).
89
89
  #
@@ -92,7 +92,7 @@ module Wx::RBN
92
92
  # @param bitmap [Wx::Bitmap]
93
93
  # @param help_string [String]
94
94
  # @return [Integer]
95
- def add_hybrid_tool(tool_id, bitmap, help_string=Wx::EMPTY_STRING) end
95
+ def add_hybrid_tool(tool_id, bitmap, help_string=('')) end
96
96
 
97
97
  # Add a toggle tool to the tool bar (simple version).
98
98
  #
@@ -108,7 +108,7 @@ module Wx::RBN
108
108
  # @return [Integer]
109
109
  def add_separator; end
110
110
 
111
- # @overload insert_tool(pos, tool_id, bitmap, help_string, kind=Wx::RIBBON_BUTTON_NORMAL)
111
+ # @overload insert_tool(pos, tool_id, bitmap, help_string, kind=Wx::RBN::RibbonButtonKind::RIBBON_BUTTON_NORMAL)
112
112
  # Insert a tool to the tool bar (simple version) as the specified position.
113
113
  #
114
114
  # @see Wx::RBN::RibbonToolBar#insert_tool
@@ -118,7 +118,7 @@ module Wx::RBN
118
118
  # @param help_string [String]
119
119
  # @param kind [RibbonButtonKind]
120
120
  # @return [Integer]
121
- # @overload insert_tool(pos, tool_id, bitmap, bitmap_disabled=Wx::NULL_BITMAP, help_string=Wx::EMPTY_STRING, kind=Wx::RIBBON_BUTTON_NORMAL, clientData=nil)
121
+ # @overload insert_tool(pos, tool_id, bitmap, bitmap_disabled=Wx::NULL_BITMAP, help_string=(''), kind=Wx::RBN::RibbonButtonKind::RIBBON_BUTTON_NORMAL, clientData=nil)
122
122
  # Insert a tool to the tool bar at the specified position.
123
123
  # An opaque pointer which can be used only with other tool bar methods.
124
124
  # @see Wx::RBN::RibbonToolBar#insert_dropdown_tool
@@ -143,7 +143,7 @@ module Wx::RBN
143
143
  # @param bitmap [Wx::Bitmap]
144
144
  # @param help_string [String]
145
145
  # @return [Integer]
146
- def insert_dropdown_tool(pos, tool_id, bitmap, help_string=Wx::EMPTY_STRING) end
146
+ def insert_dropdown_tool(pos, tool_id, bitmap, help_string=('')) end
147
147
 
148
148
  # Insert a hybrid tool to the tool bar (simple version) as the specified position.
149
149
  #
@@ -154,7 +154,7 @@ module Wx::RBN
154
154
  # @param bitmap [Wx::Bitmap]
155
155
  # @param help_string [String]
156
156
  # @return [Integer]
157
- def insert_hybrid_tool(pos, tool_id, bitmap, help_string=Wx::EMPTY_STRING) end
157
+ def insert_hybrid_tool(pos, tool_id, bitmap, help_string=('')) end
158
158
 
159
159
  # Insert a toggle tool to the tool bar (simple version) as the specified position.
160
160
  #
@@ -165,7 +165,7 @@ module Wx::RBN
165
165
  # @param bitmap [Wx::Bitmap]
166
166
  # @param help_string [String]
167
167
  # @return [Integer]
168
- def insert_toggle_tool(pos, tool_id, bitmap, help_string=Wx::EMPTY_STRING) end
168
+ def insert_toggle_tool(pos, tool_id, bitmap, help_string=('')) end
169
169
 
170
170
  # Insert a separator to the tool bar at the specified position.
171
171
  #
@@ -93,7 +93,7 @@ module Wx
93
93
  # Copy constructor, uses Reference Counting.
94
94
  # @param region [Wx::Region]
95
95
  # @return [Region]
96
- # @overload initialize(points, fillStyle=Wx::ODDEVEN_RULE)
96
+ # @overload initialize(points, fillStyle=Wx::PolygonFillMode::ODDEVEN_RULE)
97
97
  # Constructs a region corresponding to the polygon made of n points in the provided array.
98
98
  # fillStyle parameter may have values {Wx::PolygonFillMode::WINDING_RULE} or {Wx::PolygonFillMode::ODDEVEN_RULE}.
99
99
  # @param points [Array<Wx::Point>,Array<Array<Integer>>]
@@ -0,0 +1,76 @@
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
+ # This class is used to iterate through the rectangles in a region, typically when examining the damaged regions of a window within an OnPaint call.
10
+ # To use it, construct an iterator object on the stack and loop through the regions, testing the object and incrementing the iterator at the end of the loop.
11
+ # See {Wx::PaintEvent} for an example of use.
12
+ # ===
13
+ #
14
+ # Category: Graphics Device Interface (GDI)
15
+ # Predefined objects/pointers: {Wx::NullRegion}
16
+ # @see Wx::PaintEvent
17
+ #
18
+ #
19
+ class RegionIterator < Object
20
+
21
+ # @overload initialize()
22
+ # Default constructor.
23
+ # @return [RegionIterator]
24
+ # @overload initialize(region)
25
+ # Creates an iterator object given a region.
26
+ # @param region [Wx::Region]
27
+ # @return [RegionIterator]
28
+ def initialize(*args) end
29
+
30
+ # An alias for {Wx::RegionIterator#get_height}.
31
+ # @return [Integer]
32
+ def get_h; end
33
+ alias_method :h, :get_h
34
+
35
+ # Returns the height value for the current region.
36
+ # @return [Integer]
37
+ def get_height; end
38
+ alias_method :height, :get_height
39
+
40
+ # Returns the current rectangle.
41
+ # @return [Wx::Rect]
42
+ def get_rect; end
43
+ alias_method :rect, :get_rect
44
+
45
+ # An alias for {Wx::RegionIterator#get_width}.
46
+ # @return [Integer]
47
+ def get_w; end
48
+ alias_method :w, :get_w
49
+
50
+ # Returns the width value for the current region.
51
+ # @return [Integer]
52
+ def get_width; end
53
+ alias_method :width, :get_width
54
+
55
+ # Returns the x value for the current region.
56
+ # @return [Integer]
57
+ def get_x; end
58
+ alias_method :x, :get_x
59
+
60
+ # Returns the y value for the current region.
61
+ # @return [Integer]
62
+ def get_y; end
63
+ alias_method :y, :get_y
64
+
65
+ # Returns true if there are still some rectangles; otherwise returns false.
66
+ # @return [true,false]
67
+ def have_rects; end
68
+
69
+ # Resets the iterator to the beginning of the rectangles.
70
+ # @return [void]
71
+ def reset; end
72
+
73
+ end # RegionIterator
74
+
75
+
76
+ end
@@ -631,7 +631,7 @@ module Wx::RTC
631
631
  # Sets the border width.
632
632
  # @param width [Wx::TextAttrDimension]
633
633
  # @return [void]
634
- # @overload set_width(value, units=Wx::TEXT_ATTR_UNITS_TENTHS_MM)
634
+ # @overload set_width(value, units=Wx::RTC::TextAttrUnits::TEXT_ATTR_UNITS_TENTHS_MM)
635
635
  # Sets the border width.
636
636
  # @param value [Integer]
637
637
  # @param units [TextAttrUnits]
@@ -732,7 +732,7 @@ module Wx::RTC
732
732
  # Sets the width of all borders.
733
733
  # @param width [Wx::TextAttrDimension]
734
734
  # @return [void]
735
- # @overload set_width(value, units=Wx::TEXT_ATTR_UNITS_TENTHS_MM)
735
+ # @overload set_width(value, units=Wx::RTC::TextAttrUnits::TEXT_ATTR_UNITS_TENTHS_MM)
736
736
  # Sets the width of all borders.
737
737
  # @param value [Integer]
738
738
  # @param units [TextAttrUnits]
@@ -1463,25 +1463,25 @@ module Wx::RTC
1463
1463
  # @return [void]
1464
1464
  def reset_and_clear_commands; end
1465
1465
 
1466
- # @overload load_file(filename, type=Wx::RICHTEXT_TYPE_ANY)
1466
+ # @overload load_file(filename, type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY)
1467
1467
  # Loads content from a stream or file.
1468
1468
  # Not all handlers will implement file loading.
1469
1469
  # @param filename [String]
1470
1470
  # @param type [RichTextFileType]
1471
1471
  # @return [true,false]
1472
- # @overload load_file(stream, type=Wx::RICHTEXT_TYPE_ANY)
1472
+ # @overload load_file(stream, type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY)
1473
1473
  # @param stream [IO,Wx::InputStream]
1474
1474
  # @param type [RichTextFileType]
1475
1475
  # @return [true,false]
1476
1476
  def load_file(*args) end
1477
1477
 
1478
- # @overload save_file(filename, type=Wx::RICHTEXT_TYPE_ANY)
1478
+ # @overload save_file(filename, type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY)
1479
1479
  # Saves content to a stream or file.
1480
1480
  # Not all handlers will implement file saving.
1481
1481
  # @param filename [String]
1482
1482
  # @param type [RichTextFileType]
1483
1483
  # @return [true,false]
1484
- # @overload save_file(stream, type=Wx::RICHTEXT_TYPE_ANY)
1484
+ # @overload save_file(stream, type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY)
1485
1485
  # @param stream [IO,Wx::OutputStream]
1486
1486
  # @param type [RichTextFileType]
1487
1487
  # @return [true,false]
@@ -1685,7 +1685,7 @@ module Wx::RTC
1685
1685
  # @param leftSubIndent [Integer]
1686
1686
  # @param bulletStyle [Integer]
1687
1687
  # @return [true,false]
1688
- def begin_numbered_bullet(bulletNumber, leftIndent, leftSubIndent, bulletStyle=(Wx::TEXT_ATTR_BULLET_STYLE_ARABIC|Wx::TEXT_ATTR_BULLET_STYLE_PERIOD)) end
1688
+ def begin_numbered_bullet(bulletNumber, leftIndent, leftSubIndent, bulletStyle=(Wx::TextAttrBulletStyle::TEXT_ATTR_BULLET_STYLE_ARABIC|Wx::TextAttrBulletStyle::TEXT_ATTR_BULLET_STYLE_PERIOD)) end
1689
1689
 
1690
1690
  # Ends numbered bullet.
1691
1691
  # @return [true,false]
@@ -1698,7 +1698,7 @@ module Wx::RTC
1698
1698
  # @param leftSubIndent [Integer]
1699
1699
  # @param bulletStyle [Integer]
1700
1700
  # @return [true,false]
1701
- def begin_symbol_bullet(symbol, leftIndent, leftSubIndent, bulletStyle=Wx::TEXT_ATTR_BULLET_STYLE_SYMBOL) end
1701
+ def begin_symbol_bullet(symbol, leftIndent, leftSubIndent, bulletStyle=Wx::TextAttrBulletStyle::TEXT_ATTR_BULLET_STYLE_SYMBOL) end
1702
1702
 
1703
1703
  # Ends symbol bullet.
1704
1704
  # @return [true,false]
@@ -1711,7 +1711,7 @@ module Wx::RTC
1711
1711
  # @param leftSubIndent [Integer]
1712
1712
  # @param bulletStyle [Integer]
1713
1713
  # @return [true,false]
1714
- def begin_standard_bullet(bulletName, leftIndent, leftSubIndent, bulletStyle=Wx::TEXT_ATTR_BULLET_STYLE_STANDARD) end
1714
+ def begin_standard_bullet(bulletName, leftIndent, leftSubIndent, bulletStyle=Wx::TextAttrBulletStyle::TEXT_ATTR_BULLET_STYLE_STANDARD) end
1715
1715
 
1716
1716
  # Ends standard bullet.
1717
1717
  # @return [true,false]
@@ -1752,7 +1752,7 @@ module Wx::RTC
1752
1752
  # @param url [String]
1753
1753
  # @param characterStyle [String]
1754
1754
  # @return [true,false]
1755
- def begin_url(url, characterStyle=Wx::EMPTY_STRING) end
1755
+ def begin_url(url, characterStyle=('')) end
1756
1756
 
1757
1757
  # Ends URL.
1758
1758
  # @return [true,false]
@@ -194,7 +194,7 @@ module Wx::RTC
194
194
  # @overload initialize()
195
195
  # Default constructor.
196
196
  # @return [RichTextCtrl]
197
- # @overload initialize(parent, id=-1, value=Wx::EMPTY_STRING, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR)
197
+ # @overload initialize(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TextCtrlNameStr)
198
198
  # Constructor, creating and showing a rich text control.
199
199
  #
200
200
  # @see Wx::RTC::RichTextCtrl#create
@@ -220,7 +220,7 @@ module Wx::RTC
220
220
  # @param validator [Wx::Validator]
221
221
  # @param name [String]
222
222
  # @return [true,false]
223
- def create(parent, id=-1, value=Wx::EMPTY_STRING, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR) end
223
+ def create(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TextCtrlNameStr) end
224
224
 
225
225
  # Initialises the members of the control.
226
226
  # @return [void]
@@ -502,7 +502,7 @@ module Wx::RTC
502
502
  # @param file [String]
503
503
  # @param type [Integer]
504
504
  # @return [true,false]
505
- def load_file(file, type=Wx::RICHTEXT_TYPE_ANY) end
505
+ def load_file(file, type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY) end
506
506
 
507
507
  # Helper function for {Wx::RTC::RichTextCtrl#load_file}.
508
508
  # Loads content into the control's buffer using the given type.
@@ -519,7 +519,7 @@ module Wx::RTC
519
519
  # @param file [String]
520
520
  # @param type [Integer]
521
521
  # @return [true,false]
522
- def save_file(file=Wx::EMPTY_STRING, type=Wx::RICHTEXT_TYPE_ANY) end
522
+ def save_file(file=(''), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY) end
523
523
 
524
524
  # Helper function for {Wx::RTC::RichTextCtrl#save_file}.
525
525
  # Saves the buffer content using the given type.
@@ -528,7 +528,7 @@ module Wx::RTC
528
528
  # @param file [String]
529
529
  # @param fileType [Integer]
530
530
  # @return [true,false]
531
- def do_save_file(file=Wx::EMPTY_STRING, fileType=Wx::RICHTEXT_TYPE_ANY) end
531
+ def do_save_file(file=(''), fileType=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY) end
532
532
 
533
533
  # Sets flags that change the behaviour of loading or saving.
534
534
  # See the documentation for each handler class to see what flags are relevant for each handler.
@@ -624,7 +624,7 @@ module Wx::RTC
624
624
  # @param style [Wx::RichTextAttr]
625
625
  # @param flags [Integer]
626
626
  # @return [true,false]
627
- def set_style_ex(range, style, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO) end
627
+ def set_style_ex(range, style, flags=Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO) end
628
628
 
629
629
  # @overload get_uncombined_style(position, style)
630
630
  # Gets the attributes at the given position.
@@ -663,7 +663,7 @@ module Wx::RTC
663
663
  # @param startFrom [Integer]
664
664
  # @param specifiedLevel [Integer]
665
665
  # @return [true,false]
666
- def set_list_style(range, defName, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, startFrom=1, specifiedLevel=-1) end
666
+ def set_list_style(range, defName, flags=Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO, startFrom=1, specifiedLevel=-1) end
667
667
 
668
668
  # Clears the list style from the given range, clearing list-related attributes and applying any named paragraph style associated with each paragraph.
669
669
  # flags is a bit list of the following:
@@ -674,9 +674,9 @@ module Wx::RTC
674
674
  # @param range [Range]
675
675
  # @param flags [Integer]
676
676
  # @return [true,false]
677
- def clear_list_style(range, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO) end
677
+ def clear_list_style(range, flags=Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO) end
678
678
 
679
- # @overload number_list(range, def_=nil, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, startFrom=1, specifiedLevel=-1)
679
+ # @overload number_list(range, def_=nil, flags=Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO, startFrom=1, specifiedLevel=-1)
680
680
  # Numbers the paragraphs in the given range.
681
681
  # Pass flags to determine how the attributes are set.
682
682
  # Either the style definition or the name of the style definition (in the current sheet) can be passed.
@@ -691,7 +691,7 @@ module Wx::RTC
691
691
  # @param startFrom [Integer]
692
692
  # @param specifiedLevel [Integer]
693
693
  # @return [true,false]
694
- # @overload number_list(range, defName, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, startFrom=1, specifiedLevel=-1)
694
+ # @overload number_list(range, defName, flags=Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO, startFrom=1, specifiedLevel=-1)
695
695
  # @param range [Range]
696
696
  # @param defName [String]
697
697
  # @param flags [Integer]
@@ -700,7 +700,7 @@ module Wx::RTC
700
700
  # @return [true,false]
701
701
  def number_list(*args) end
702
702
 
703
- # @overload promote_list(promoteBy, range, def_=nil, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, specifiedLevel=-1)
703
+ # @overload promote_list(promoteBy, range, def_=nil, flags=Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO, specifiedLevel=-1)
704
704
  # Promotes or demotes the paragraphs in the given range.
705
705
  # A positive promoteBy produces a smaller indent, and a negative number produces a larger indent. Pass flags to determine how the attributes are set. Either the style definition or the name of the style definition (in the current sheet) can be passed.
706
706
  # flags is a bit list of the following:
@@ -716,7 +716,7 @@ module Wx::RTC
716
716
  # @param flags [Integer]
717
717
  # @param specifiedLevel [Integer]
718
718
  # @return [true,false]
719
- # @overload promote_list(promoteBy, range, defName, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, specifiedLevel=-1)
719
+ # @overload promote_list(promoteBy, range, defName, flags=Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO, specifiedLevel=-1)
720
720
  # @param promoteBy [Integer]
721
721
  # @param range [Range]
722
722
  # @param defName [String]
@@ -734,7 +734,7 @@ module Wx::RTC
734
734
  # @param properties [Wx::RichTextProperties]
735
735
  # @param flags [Integer]
736
736
  # @return [true,false]
737
- def set_properties(range, properties, flags=Wx::RICHTEXT_SETPROPERTIES_WITH_UNDO) end
737
+ def set_properties(range, properties, flags=Wx::RTC::RICHTEXT_SETPROPERTIES_WITH_UNDO) end
738
738
 
739
739
  # Deletes the content within the given range.
740
740
  # @param range [Range]
@@ -879,14 +879,14 @@ module Wx::RTC
879
879
  def has_unfocused_selection; end
880
880
  alias_method :has_unfocused_selection?, :has_unfocused_selection
881
881
 
882
- # @overload write_image(image, bitmapType=Wx::BITMAP_TYPE_PNG, textAttr=(Wx::RichTextAttr.new()))
882
+ # @overload write_image(image, bitmapType=Wx::BitmapType::BITMAP_TYPE_PNG, textAttr=(Wx::RichTextAttr.new()))
883
883
  # Write a bitmap or image at the current insertion point.
884
884
  # Supply an optional type to use for internal and file storage of the raw data.
885
885
  # @param image [Wx::Image]
886
886
  # @param bitmapType [BitmapType]
887
887
  # @param textAttr [Wx::RichTextAttr]
888
888
  # @return [true,false]
889
- # @overload write_image(bitmap, bitmapType=Wx::BITMAP_TYPE_PNG, textAttr=(Wx::RichTextAttr.new()))
889
+ # @overload write_image(bitmap, bitmapType=Wx::BitmapType::BITMAP_TYPE_PNG, textAttr=(Wx::RichTextAttr.new()))
890
890
  # @param bitmap [Wx::Bitmap]
891
891
  # @param bitmapType [BitmapType]
892
892
  # @param textAttr [Wx::RichTextAttr]
@@ -1053,7 +1053,7 @@ module Wx::RTC
1053
1053
  # @param leftSubIndent [Integer]
1054
1054
  # @param bulletStyle [Integer]
1055
1055
  # @return [true,false]
1056
- def begin_numbered_bullet(bulletNumber, leftIndent, leftSubIndent, bulletStyle=(Wx::TEXT_ATTR_BULLET_STYLE_ARABIC|Wx::TEXT_ATTR_BULLET_STYLE_PERIOD)) end
1056
+ def begin_numbered_bullet(bulletNumber, leftIndent, leftSubIndent, bulletStyle=(Wx::TextAttrBulletStyle::TEXT_ATTR_BULLET_STYLE_ARABIC|Wx::TextAttrBulletStyle::TEXT_ATTR_BULLET_STYLE_PERIOD)) end
1057
1057
 
1058
1058
  # Ends application of a numbered bullet.
1059
1059
  # @return [true,false]
@@ -1066,7 +1066,7 @@ module Wx::RTC
1066
1066
  # @param leftSubIndent [Integer]
1067
1067
  # @param bulletStyle [Integer]
1068
1068
  # @return [true,false]
1069
- def begin_symbol_bullet(symbol, leftIndent, leftSubIndent, bulletStyle=Wx::TEXT_ATTR_BULLET_STYLE_SYMBOL) end
1069
+ def begin_symbol_bullet(symbol, leftIndent, leftSubIndent, bulletStyle=Wx::TextAttrBulletStyle::TEXT_ATTR_BULLET_STYLE_SYMBOL) end
1070
1070
 
1071
1071
  # Ends applying a symbol bullet.
1072
1072
  # @return [true,false]
@@ -1078,7 +1078,7 @@ module Wx::RTC
1078
1078
  # @param leftSubIndent [Integer]
1079
1079
  # @param bulletStyle [Integer]
1080
1080
  # @return [true,false]
1081
- def begin_standard_bullet(bulletName, leftIndent, leftSubIndent, bulletStyle=Wx::TEXT_ATTR_BULLET_STYLE_STANDARD) end
1081
+ def begin_standard_bullet(bulletName, leftIndent, leftSubIndent, bulletStyle=Wx::TextAttrBulletStyle::TEXT_ATTR_BULLET_STYLE_STANDARD) end
1082
1082
 
1083
1083
  # Begins applying a standard bullet.
1084
1084
  # @return [true,false]
@@ -1119,7 +1119,7 @@ module Wx::RTC
1119
1119
  # @param url [String]
1120
1120
  # @param characterStyle [String]
1121
1121
  # @return [true,false]
1122
- def begin_url(url, characterStyle=Wx::EMPTY_STRING) end
1122
+ def begin_url(url, characterStyle=('')) end
1123
1123
 
1124
1124
  # Ends applying a URL.
1125
1125
  # @return [true,false]
@@ -21,7 +21,7 @@ module Wx::RTC
21
21
  # @param ext [String]
22
22
  # @param type [Integer]
23
23
  # @return [RichTextFileHandler]
24
- def initialize(name=Wx::EMPTY_STRING, ext=Wx::EMPTY_STRING, type=0) end
24
+ def initialize(name=(''), ext=(''), type=0) end
25
25
 
26
26
  # @overload load_file(buffer, stream)
27
27
  # Loads the buffer from a stream.
@@ -153,7 +153,7 @@ module Wx::RTC
153
153
  # @param ext [String]
154
154
  # @param type [RichTextFileType]
155
155
  # @return [RichTextPlainTextHandler]
156
- def initialize(name=("Wx::TEXT"), ext=("Wx::TXT"), type=Wx::RICHTEXT_TYPE_TEXT) end
156
+ def initialize(name=("Text"), ext=("txt"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_TEXT) end
157
157
 
158
158
  # Returns true if we can save using this handler.
159
159
  # @return [true,false]
@@ -89,7 +89,7 @@ module Wx::RTC
89
89
  # @param page [RichTextOddEvenPage]
90
90
  # @param location [RichTextPageLocation]
91
91
  # @return [String]
92
- def get_footer_text(page=Wx::RICHTEXT_PAGE_EVEN, location=Wx::RICHTEXT_PAGE_CENTRE) end
92
+ def get_footer_text(page=Wx::RTC::RichTextOddEvenPage::RICHTEXT_PAGE_EVEN, location=Wx::RTC::RichTextPageLocation::RICHTEXT_PAGE_CENTRE) end
93
93
  alias_method :footer_text, :get_footer_text
94
94
 
95
95
  # Returns the margin between the text and the header.
@@ -101,7 +101,7 @@ module Wx::RTC
101
101
  # @param page [RichTextOddEvenPage]
102
102
  # @param location [RichTextPageLocation]
103
103
  # @return [String]
104
- def get_header_text(page=Wx::RICHTEXT_PAGE_EVEN, location=Wx::RICHTEXT_PAGE_CENTRE) end
104
+ def get_header_text(page=Wx::RTC::RichTextOddEvenPage::RICHTEXT_PAGE_EVEN, location=Wx::RTC::RichTextPageLocation::RICHTEXT_PAGE_CENTRE) end
105
105
  alias_method :header_text, :get_header_text
106
106
 
107
107
  # Returns true if the header and footer will be shown on the first page.
@@ -137,7 +137,7 @@ module Wx::RTC
137
137
  # @param page [RichTextOddEvenPage]
138
138
  # @param location [RichTextPageLocation]
139
139
  # @return [void]
140
- def set_footer_text(text, page=Wx::RICHTEXT_PAGE_ALL, location=Wx::RICHTEXT_PAGE_CENTRE) end
140
+ def set_footer_text(text, page=Wx::RTC::RichTextOddEvenPage::RICHTEXT_PAGE_ALL, location=Wx::RTC::RichTextPageLocation::RICHTEXT_PAGE_CENTRE) end
141
141
  alias_method :footer_text=, :set_footer_text
142
142
 
143
143
  # Sets the header text on odd or even pages, and at a given position on the page (left, centre or right).
@@ -145,7 +145,7 @@ module Wx::RTC
145
145
  # @param page [RichTextOddEvenPage]
146
146
  # @param location [RichTextPageLocation]
147
147
  # @return [void]
148
- def set_header_text(text, page=Wx::RICHTEXT_PAGE_ALL, location=Wx::RICHTEXT_PAGE_CENTRE) end
148
+ def set_header_text(text, page=Wx::RTC::RichTextOddEvenPage::RICHTEXT_PAGE_ALL, location=Wx::RTC::RichTextPageLocation::RICHTEXT_PAGE_CENTRE) end
149
149
  alias_method :header_text=, :set_header_text
150
150
 
151
151
  # Sets the margins between text and header or footer, in tenths of a millimeter.
@@ -30,7 +30,7 @@ module Wx::RTC
30
30
  # @param ext [String]
31
31
  # @param type [Integer]
32
32
  # @return [RichTextHTMLHandler]
33
- def initialize(name=("Wx::HTML"), ext=("Wx::HTML"), type=Wx::RICHTEXT_TYPE_HTML) end
33
+ def initialize(name=("Wx::HTML"), ext=("Wx::HTML"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_HTML) end
34
34
 
35
35
  # Clears the image locations generated by the last operation.
36
36
  # @return [void]
@@ -19,14 +19,14 @@ module Wx::RTC
19
19
  # @param name [String]
20
20
  # @param parentWindow [Wx::Window]
21
21
  # @return [RichTextPrinting]
22
- def initialize(name=("Wx::PRINTING"), parentWindow=nil) end
22
+ def initialize(name=("Printing"), parentWindow=nil) end
23
23
 
24
24
  # A convenience function to get the footer text.
25
25
  # See {Wx::RTC::RichTextHeaderFooterData} for details.
26
26
  # @param page [RichTextOddEvenPage]
27
27
  # @param location [RichTextPageLocation]
28
28
  # @return [String]
29
- def get_footer_text(page=Wx::RICHTEXT_PAGE_EVEN, location=Wx::RICHTEXT_PAGE_CENTRE) end
29
+ def get_footer_text(page=Wx::RTC::RichTextOddEvenPage::RICHTEXT_PAGE_EVEN, location=Wx::RTC::RichTextPageLocation::RICHTEXT_PAGE_CENTRE) end
30
30
  alias_method :footer_text, :get_footer_text
31
31
 
32
32
  # Returns the internal {Wx::RTC::RichTextHeaderFooterData} object.
@@ -39,7 +39,7 @@ module Wx::RTC
39
39
  # @param page [RichTextOddEvenPage]
40
40
  # @param location [RichTextPageLocation]
41
41
  # @return [String]
42
- def get_header_text(page=Wx::RICHTEXT_PAGE_EVEN, location=Wx::RICHTEXT_PAGE_CENTRE) end
42
+ def get_header_text(page=Wx::RTC::RichTextOddEvenPage::RICHTEXT_PAGE_EVEN, location=Wx::RTC::RichTextPageLocation::RICHTEXT_PAGE_CENTRE) end
43
43
  alias_method :header_text, :get_header_text
44
44
 
45
45
  # Returns the parent window to be used for the preview window and printing wait dialog.
@@ -93,7 +93,7 @@ module Wx::RTC
93
93
  # @param page [RichTextOddEvenPage]
94
94
  # @param location [RichTextPageLocation]
95
95
  # @return [void]
96
- def set_footer_text(text, page=Wx::RICHTEXT_PAGE_ALL, location=Wx::RICHTEXT_PAGE_CENTRE) end
96
+ def set_footer_text(text, page=Wx::RTC::RichTextOddEvenPage::RICHTEXT_PAGE_ALL, location=Wx::RTC::RichTextPageLocation::RICHTEXT_PAGE_CENTRE) end
97
97
  alias_method :footer_text=, :set_footer_text
98
98
 
99
99
  # Sets the internal {Wx::RTC::RichTextHeaderFooterData} object.
@@ -120,7 +120,7 @@ module Wx::RTC
120
120
  # @param page [RichTextOddEvenPage]
121
121
  # @param location [RichTextPageLocation]
122
122
  # @return [void]
123
- def set_header_text(text, page=Wx::RICHTEXT_PAGE_ALL, location=Wx::RICHTEXT_PAGE_CENTRE) end
123
+ def set_header_text(text, page=Wx::RTC::RichTextOddEvenPage::RICHTEXT_PAGE_ALL, location=Wx::RTC::RichTextPageLocation::RICHTEXT_PAGE_CENTRE) end
124
124
  alias_method :header_text=, :set_header_text
125
125
 
126
126
  # Sets the page setup data.
@@ -172,7 +172,7 @@ module Wx::RTC
172
172
  # Constructor.
173
173
  # @param title [String]
174
174
  # @return [RichTextPrintout]
175
- def initialize(title=("Wx::PRINTOUT")) end
175
+ def initialize(title=("Wx::PRT::Printout")) end
176
176
 
177
177
  # Calculates scaling and text, header and footer rectangles.
178
178
  # @param dc [Wx::DC]
@@ -26,7 +26,7 @@ module Wx::RTC
26
26
  # @param ext [String]
27
27
  # @param type [Integer]
28
28
  # @return [RichTextXMLHandler]
29
- def initialize(name=("Wx::XML"), ext=("Wx::XML"), type=Wx::RICHTEXT_TYPE_XML) end
29
+ def initialize(name=("XML"), ext=("xml"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_XML) end
30
30
 
31
31
  # Returns true.
32
32
  # @return [true,false]
@@ -56,7 +56,7 @@ module Wx::RTC
56
56
  # @overload initialize()
57
57
  # Default ctor.
58
58
  # @return [SymbolPickerDialog]
59
- # @overload initialize(symbol, initialFont, normalTextFont, parent, id=Wx::ID_ANY, title=(_.new("Wx::SYMBOLS")), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER|Wx::CLOSE_BOX))
59
+ # @overload initialize(symbol, initialFont, normalTextFont, parent, id=Wx::StandardID::ID_ANY, title=(_.new("Symbols")), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER|Wx::CLOSE_BOX))
60
60
  # Constructor.
61
61
  # @param symbol [String] The initial symbol to show. Specify a single character in a string, or an empty string.
62
62
  # @param initialFont [String] The initial font to be displayed in the font list. If empty, the item normal text will be selected.
@@ -81,7 +81,7 @@ module Wx::RTC
81
81
  # @param size [Array(Integer, Integer), Wx::Size]
82
82
  # @param style [Integer]
83
83
  # @return [true,false]
84
- def create(symbol, initialFont, normalTextFont, parent, id=Wx::ID_ANY, caption=(Wx::GetTranslation.new("Wx::SYMBOLS")), pos=Wx::DEFAULT_POSITION, size=(Wx::Size.new(400, 300)), style=(Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER|Wx::CLOSE_BOX)) end
84
+ def create(symbol, initialFont, normalTextFont, parent, id=Wx::StandardID::ID_ANY, caption=(Wx::GetTranslation.new("Symbols")), pos=Wx::DEFAULT_POSITION, size=(Wx::Size.new(400, 300)), style=(Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER|Wx::CLOSE_BOX)) end
85
85
 
86
86
  # Returns the font name (the font reflected in the font list).
87
87
  # @return [String]
@@ -92,7 +92,7 @@ module Wx
92
92
  # @param id [Integer]
93
93
  # @param edge [SashEdgePosition]
94
94
  # @return [SashEvent]
95
- def initialize(id=0, edge=Wx::SASH_NONE) end
95
+ def initialize(id=0, edge=Wx::SashEdgePosition::SASH_NONE) end
96
96
 
97
97
  # Returns the rectangle representing the new size the window would be if the resize was applied.
98
98
  # It is up to the application to set the window size if required.
@@ -77,7 +77,7 @@ module Wx
77
77
  # @overload initialize()
78
78
  # Default ctor.
79
79
  # @return [SashLayoutWindow]
80
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("Wx::LAYOUT_WINDOW"))
80
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("layoutWindow"))
81
81
  # Constructs a sash layout window, which can be a child of a frame, dialog or any other non-control window.
82
82
  # @param parent [Wx::Window] Pointer to a parent window.
83
83
  # @param id [Integer] Window identifier. If -1, will automatically create an identifier.
@@ -96,7 +96,7 @@ module Wx
96
96
  # @param style [Integer] Window style. For window styles, please see {Wx::SashLayoutWindow}.
97
97
  # @param name [String] Window name.
98
98
  # @return [true,false]
99
- def create(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("Wx::LAYOUT_WINDOW")) end
99
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("layoutWindow")) end
100
100
 
101
101
  # Returns the alignment of the window: one of {Wx::LayoutAlignment::LAYOUT_TOP}, {Wx::LayoutAlignment::LAYOUT_LEFT}, {Wx::LayoutAlignment::LAYOUT_RIGHT}, {Wx::LayoutAlignment::LAYOUT_BOTTOM}.
102
102
  # @return [LayoutAlignment]
@@ -38,7 +38,7 @@ module Wx
38
38
  # @overload initialize()
39
39
  # Default ctor.
40
40
  # @return [SashWindow]
41
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("Wx::SASH_WINDOW"))
41
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("sashWindow"))
42
42
  # Constructs a sash window, which can be a child of a frame, dialog or any other non-control window.
43
43
  # @param parent [Wx::Window] Pointer to a parent window.
44
44
  # @param id [Integer] Window identifier. If -1, will automatically create an identifier.
@@ -0,0 +1,10 @@
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
+ end