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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) 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/dataformat.rb +3 -1
  28. data/lib/wx/core/dc.rb +76 -52
  29. data/lib/wx/core/enum.rb +4 -0
  30. data/lib/wx/core/event.rb +38 -5
  31. data/lib/wx/core/events/evt_list.rb +3 -2
  32. data/lib/wx/core/evthandler.rb +64 -23
  33. data/lib/wx/core/icon.rb +50 -35
  34. data/lib/wx/core/id_helper.rb +32 -0
  35. data/lib/wx/core/image.rb +63 -53
  36. data/lib/wx/core/point.rb +14 -0
  37. data/lib/wx/core/real_point.rb +15 -1
  38. data/lib/wx/core/rect.rb +42 -7
  39. data/lib/wx/core/region_iterator.rb +37 -0
  40. data/lib/wx/core/size.rb +20 -0
  41. data/lib/wx/core/window.rb +8 -31
  42. data/lib/wx/doc/array_ext.rb +27 -0
  43. data/lib/wx/doc/art_locator.rb +57 -0
  44. data/lib/wx/doc/bitmap.rb +27 -0
  45. data/lib/wx/doc/clipboard.rb +12 -0
  46. data/lib/wx/doc/const.rb +77 -0
  47. data/lib/wx/doc/cursor.rb +16 -0
  48. data/lib/wx/doc/data_object.rb +1 -2
  49. data/lib/wx/doc/dc.rb +63 -46
  50. data/lib/wx/doc/event.rb +24 -0
  51. data/lib/wx/doc/events.rb +14 -0
  52. data/lib/wx/doc/evthandler.rb +24 -3
  53. data/lib/wx/doc/extra/00_starting.md +1 -1
  54. data/lib/wx/doc/extra/06_geometry.md +10 -4
  55. data/lib/wx/doc/extra/10_art.md +105 -0
  56. data/lib/wx/doc/gc_dc.rb +21 -0
  57. data/lib/wx/doc/gdi_common.rb +122 -1
  58. data/lib/wx/doc/gen/about_dialog_info.rb +1 -4
  59. data/lib/wx/doc/gen/animation.rb +3 -3
  60. data/lib/wx/doc/gen/animation_ctrl.rb +4 -4
  61. data/lib/wx/doc/gen/any_button.rb +1 -1
  62. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -1
  63. data/lib/wx/doc/gen/aui/aui_manager.rb +2 -2
  64. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +3 -3
  65. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +3 -3
  66. data/lib/wx/doc/gen/aui/aui_notebook.rb +2 -2
  67. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +6 -6
  68. data/lib/wx/doc/gen/bitmap.rb +1 -1
  69. data/lib/wx/doc/gen/bitmap_button.rb +2 -2
  70. data/lib/wx/doc/gen/book_ctrl_base.rb +4 -4
  71. data/lib/wx/doc/gen/brush.rb +1 -1
  72. data/lib/wx/doc/gen/button.rb +2 -2
  73. data/lib/wx/doc/gen/calendar_ctrl.rb +3 -3
  74. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  75. data/lib/wx/doc/gen/check_box.rb +2 -2
  76. data/lib/wx/doc/gen/check_list_box.rb +3 -3
  77. data/lib/wx/doc/gen/choice.rb +2 -2
  78. data/lib/wx/doc/gen/choicebook.rb +2 -2
  79. data/lib/wx/doc/gen/collapsible_pane.rb +2 -2
  80. data/lib/wx/doc/gen/colour.rb +1 -3
  81. data/lib/wx/doc/gen/colour_dialog.rb +1 -2
  82. data/lib/wx/doc/gen/colour_picker_ctrl.rb +2 -2
  83. data/lib/wx/doc/gen/combo_box.rb +4 -4
  84. data/lib/wx/doc/gen/context_help_button.rb +1 -1
  85. data/lib/wx/doc/gen/control.rb +3 -3
  86. data/lib/wx/doc/gen/core.rb +2 -2
  87. data/lib/wx/doc/gen/data_format.rb +1 -1
  88. data/lib/wx/doc/gen/data_object.rb +6 -6
  89. data/lib/wx/doc/gen/date_picker_ctrl.rb +2 -2
  90. data/lib/wx/doc/gen/dc.rb +9 -9
  91. data/lib/wx/doc/gen/defs.rb +0 -4
  92. data/lib/wx/doc/gen/dialog.rb +3 -3
  93. data/lib/wx/doc/gen/dir_dialog.rb +2 -4
  94. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
  95. data/lib/wx/doc/gen/dir_picker_ctrl.rb +2 -2
  96. data/lib/wx/doc/gen/drag_drop.rb +13 -1
  97. data/lib/wx/doc/gen/editable_list_box.rb +2 -2
  98. data/lib/wx/doc/gen/event.rb +0 -1
  99. data/lib/wx/doc/gen/event_list.rb +18 -16
  100. data/lib/wx/doc/gen/events.rb +87 -2
  101. data/lib/wx/doc/gen/ext_help_controller.rb +2 -2
  102. data/lib/wx/doc/gen/file_dialog.rb +1 -1
  103. data/lib/wx/doc/gen/file_picker_ctrl.rb +2 -2
  104. data/lib/wx/doc/gen/font.rb +6 -6
  105. data/lib/wx/doc/gen/font_dialog.rb +1 -2
  106. data/lib/wx/doc/gen/font_picker_ctrl.rb +2 -2
  107. data/lib/wx/doc/gen/frame.rb +5 -5
  108. data/lib/wx/doc/gen/fs_file.rb +2 -2
  109. data/lib/wx/doc/gen/gauge.rb +2 -2
  110. data/lib/wx/doc/gen/gdi_common.rb +18 -21
  111. data/lib/wx/doc/gen/generic_dir_ctrl.rb +2 -2
  112. data/lib/wx/doc/gen/graphics_context.rb +4 -4
  113. data/lib/wx/doc/gen/graphics_object.rb +2 -2
  114. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
  115. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  116. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  117. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  118. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
  119. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
  120. data/lib/wx/doc/gen/grid/grid_ctrl.rb +7 -7
  121. data/lib/wx/doc/gen/help_controller.rb +1 -1
  122. data/lib/wx/doc/gen/html/html_cell.rb +4 -4
  123. data/lib/wx/doc/gen/html/html_easy_printing.rb +6 -6
  124. data/lib/wx/doc/gen/html/html_help_controller.rb +6 -6
  125. data/lib/wx/doc/gen/html/html_help_frame.rb +2 -2
  126. data/lib/wx/doc/gen/html/html_help_window.rb +6 -6
  127. data/lib/wx/doc/gen/html/html_list_box.rb +6 -6
  128. data/lib/wx/doc/gen/html/html_printout.rb +4 -4
  129. data/lib/wx/doc/gen/html/html_window.rb +4 -4
  130. data/lib/wx/doc/gen/icon.rb +6 -6
  131. data/lib/wx/doc/gen/image.rb +7 -7
  132. data/lib/wx/doc/gen/list_box.rb +4 -4
  133. data/lib/wx/doc/gen/list_ctrl.rb +5 -5
  134. data/lib/wx/doc/gen/listbook.rb +2 -2
  135. data/lib/wx/doc/gen/locale.rb +8 -8
  136. data/lib/wx/doc/gen/log.rb +2 -2
  137. data/lib/wx/doc/gen/mdi_frame.rb +5 -5
  138. data/lib/wx/doc/gen/media_ctrl.rb +4 -4
  139. data/lib/wx/doc/gen/menu.rb +12 -12
  140. data/lib/wx/doc/gen/menu_item.rb +1 -1
  141. data/lib/wx/doc/gen/message_dialog.rb +2 -4
  142. data/lib/wx/doc/gen/mini_frame.rb +2 -2
  143. data/lib/wx/doc/gen/notebook.rb +3 -3
  144. data/lib/wx/doc/gen/number_entry_dialog.rb +0 -1
  145. data/lib/wx/doc/gen/object.rb +0 -1
  146. data/lib/wx/doc/gen/panel.rb +2 -2
  147. data/lib/wx/doc/gen/pen.rb +2 -2
  148. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +1 -1
  149. data/lib/wx/doc/gen/pg/pg_cell.rb +1 -1
  150. data/lib/wx/doc/gen/pg/pg_properties.rb +20 -20
  151. data/lib/wx/doc/gen/pg/pg_property.rb +12 -12
  152. data/lib/wx/doc/gen/pg/property_grid.rb +3 -3
  153. data/lib/wx/doc/gen/pg/property_grid_interface.rb +14 -14
  154. data/lib/wx/doc/gen/pg/property_grid_manager.rb +3 -3
  155. data/lib/wx/doc/gen/pg/property_grid_page.rb +2 -2
  156. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +2 -2
  157. data/lib/wx/doc/gen/popup_window.rb +3 -3
  158. data/lib/wx/doc/gen/property_sheet_dialog.rb +3 -3
  159. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  160. data/lib/wx/doc/gen/prt/printer.rb +1 -1
  161. data/lib/wx/doc/gen/radio_box.rb +4 -4
  162. data/lib/wx/doc/gen/radio_button.rb +2 -2
  163. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +2 -2
  164. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +12 -12
  165. data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
  166. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +2 -2
  167. data/lib/wx/doc/gen/rbn/ribbon_page.rb +2 -2
  168. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +2 -2
  169. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +11 -11
  170. data/lib/wx/doc/gen/region.rb +1 -1
  171. data/lib/wx/doc/gen/region_iterator.rb +76 -0
  172. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +10 -10
  173. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +19 -19
  174. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -2
  175. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +4 -4
  176. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +1 -1
  177. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +6 -6
  178. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
  179. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
  180. data/lib/wx/doc/gen/sash_event.rb +1 -1
  181. data/lib/wx/doc/gen/sash_layout_window.rb +2 -2
  182. data/lib/wx/doc/gen/sash_window.rb +1 -1
  183. data/lib/wx/doc/gen/scroll_bar.rb +150 -0
  184. data/lib/wx/doc/gen/scrolled_canvas.rb +2 -2
  185. data/lib/wx/doc/gen/scrolled_control.rb +2 -2
  186. data/lib/wx/doc/gen/scrolled_window.rb +2 -2
  187. data/lib/wx/doc/gen/simplebook.rb +2 -2
  188. data/lib/wx/doc/gen/sizer.rb +3 -3
  189. data/lib/wx/doc/gen/slider.rb +2 -2
  190. data/lib/wx/doc/gen/spin_button.rb +2 -2
  191. data/lib/wx/doc/gen/spin_ctrl.rb +2 -2
  192. data/lib/wx/doc/gen/splash_screen.rb +1 -1
  193. data/lib/wx/doc/gen/splitter_window.rb +2 -2
  194. data/lib/wx/doc/gen/static_bitmap.rb +2 -2
  195. data/lib/wx/doc/gen/static_box.rb +4 -4
  196. data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
  197. data/lib/wx/doc/gen/static_line.rb +2 -2
  198. data/lib/wx/doc/gen/static_text.rb +2 -2
  199. data/lib/wx/doc/gen/status_bar.rb +2 -2
  200. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +3 -3
  201. data/lib/wx/doc/gen/task_bar_icon.rb +2 -2
  202. data/lib/wx/doc/gen/text_attr.rb +3 -3
  203. data/lib/wx/doc/gen/text_ctrl.rb +3 -3
  204. data/lib/wx/doc/gen/text_entry_dialog.rb +6 -8
  205. data/lib/wx/doc/gen/text_validator.rb +1 -1
  206. data/lib/wx/doc/gen/time_picker_ctrl.rb +2 -2
  207. data/lib/wx/doc/gen/tip_provider.rb +1 -3
  208. data/lib/wx/doc/gen/toggle_button.rb +2 -2
  209. data/lib/wx/doc/gen/tool_bar.rb +10 -10
  210. data/lib/wx/doc/gen/toolbook.rb +2 -2
  211. data/lib/wx/doc/gen/top_level_window.rb +4 -4
  212. data/lib/wx/doc/gen/tree_ctrl.rb +4 -4
  213. data/lib/wx/doc/gen/treebook.rb +2 -2
  214. data/lib/wx/doc/gen/utils.rb +5 -42
  215. data/lib/wx/doc/gen/v_list_box.rb +2 -2
  216. data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
  217. data/lib/wx/doc/gen/variant.rb +10 -10
  218. data/lib/wx/doc/gen/window.rb +9 -14
  219. data/lib/wx/doc/gen/wizard.rb +2 -2
  220. data/lib/wx/doc/gen/wizard_event.rb +1 -1
  221. data/lib/wx/doc/gen/xml_node.rb +2 -2
  222. data/lib/wx/doc/gen/xml_resource.rb +3 -3
  223. data/lib/wx/doc/graphics_context.rb +42 -0
  224. data/lib/wx/doc/icon.rb +18 -0
  225. data/lib/wx/doc/id_helper.rb +25 -0
  226. data/lib/wx/doc/image.rb +33 -0
  227. data/lib/wx/doc/region_iterator.rb +31 -0
  228. data/lib/wx/doc/scaled_dc.rb +1 -0
  229. data/lib/wx/doc/window.rb +18 -0
  230. data/lib/wx/version.rb +1 -1
  231. data/lib/wx/wxruby/cmd/sampler.rb +3 -21
  232. data/lib/wxruby_aui.so +0 -0
  233. data/lib/wxruby_core.so +0 -0
  234. data/lib/wxruby_grid.so +0 -0
  235. data/lib/wxruby_html.so +0 -0
  236. data/lib/wxruby_pg.so +0 -0
  237. data/lib/wxruby_prt.so +0 -0
  238. data/lib/wxruby_rbn.so +0 -0
  239. data/lib/wxruby_rtc.so +0 -0
  240. data/lib/wxruby_stc.so +0 -0
  241. data/rakelib/lib/config.rb +4 -4
  242. data/samples/art/wxruby-128x128.png +0 -0
  243. data/samples/art/wxruby-256x256.png +0 -0
  244. data/samples/art/wxruby-64x64.png +0 -0
  245. data/samples/art/wxruby.ico +0 -0
  246. data/samples/art/wxruby.png +0 -0
  247. data/samples/drawing/graphics_drawing.rb +1 -2
  248. data/samples/propgrid/propgrid.rb +65 -65
  249. data/samples/sample.xpm +246 -470
  250. data/samples/treectrl/treectrl.rb +1 -1
  251. data/tests/art/my_art/sample.xpm +251 -0
  252. data/tests/art/sample3.xpm +251 -0
  253. data/tests/art/test_art/bitmap/sample.xpm +251 -0
  254. data/tests/art/test_art/bitmap/wxruby.bmp +0 -0
  255. data/tests/art/test_art/bitmap/wxruby.png +0 -0
  256. data/tests/art/test_art/bitmap/wxruby.xpm +251 -0
  257. data/tests/art/test_art/cursor/wxruby.bmp +0 -0
  258. data/tests/art/test_art/icon/sample.xpm +251 -0
  259. data/tests/art/test_art/icon/wxruby.ico +0 -0
  260. data/tests/art/test_art/icon/wxruby.png +0 -0
  261. data/tests/art/test_art/image/sample.xpm +251 -0
  262. data/tests/art/test_art/image/wxruby.jpg +0 -0
  263. data/tests/art/test_art/image/wxruby.png +0 -0
  264. data/tests/art/test_art/sample2.xpm +251 -0
  265. data/tests/test_art.rb +91 -0
  266. data/tests/test_clipboard.rb +35 -0
  267. data/tests/test_dc.rb +70 -0
  268. data/tests/test_events.rb +12 -0
  269. data/tests/test_geometry.rb +13 -0
  270. metadata +48 -5
@@ -16,7 +16,7 @@ module Wx::PG
16
16
  # @param name [String]
17
17
  # @param value [true,false]
18
18
  # @return [BoolProperty]
19
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=false) end
19
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=false) end
20
20
 
21
21
  # Converts property value into a text representation.
22
22
  # Default implementation calls {Wx::PG::BoolProperty#generate_composed_value}.
@@ -76,7 +76,7 @@ module Wx::PG
76
76
  # @param name [String]
77
77
  # @param value [Time,Date,DateTime]
78
78
  # @return [DateProperty]
79
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=(Wx::DateTime.new())) end
79
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=(Wx::DateTime.new())) end
80
80
 
81
81
  # This virtual function is called after m_value has been set.
82
82
  # - If m_value was set to Null variant (i.e. unspecified value), {Wx::PG::DateProperty#on_set_value} will not be called.- m_value may be of any variant type. Typically properties internally support only one variant type, and as such {Wx::PG::DateProperty#on_set_value} provides a good opportunity to convert supported values into internal type.- Default implementation does nothing.
@@ -178,7 +178,7 @@ module Wx::PG
178
178
  # @param choices [Wx::PGChoices]
179
179
  # @param value [Integer]
180
180
  # @return [FlagsProperty]
181
- # @overload initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, labels=(Wx::ArrayString.new()), values=(Wx::ArrayInt.new()), value=0)
181
+ # @overload initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, labels=(Wx::ArrayString.new()), values=(Wx::ArrayInt.new()), value=0)
182
182
  # @param label [String]
183
183
  # @param name [String]
184
184
  # @param labels [Array<String>]
@@ -300,7 +300,7 @@ module Wx::PG
300
300
  # @param name [String]
301
301
  # @param value [String]
302
302
  # @return [StringProperty]
303
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=Wx::EMPTY_STRING) end
303
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=('')) end
304
304
 
305
305
  # Converts property value into a text representation.
306
306
  # Default implementation calls {Wx::PG::StringProperty#generate_composed_value}.
@@ -352,7 +352,7 @@ module Wx::PG
352
352
  # @overload initialize()
353
353
  # Default constructor is only used in special cases.
354
354
  # @return [PropertyCategory]
355
- # @overload initialize(label, name=Wx::PG_LABEL)
355
+ # @overload initialize(label, name=Wx::PG::PG_LABEL)
356
356
  # @param label [String]
357
357
  # @param name [String]
358
358
  # @return [PropertyCategory]
@@ -488,7 +488,7 @@ module Wx::PG
488
488
  # @param name [String]
489
489
  # @param value [Array<String>]
490
490
  # @return [ArrayStringProperty]
491
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=(Wx::ArrayString.new())) end
491
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=(Wx::ArrayString.new())) end
492
492
 
493
493
  # This virtual function is called after m_value has been set.
494
494
  # - If m_value was set to Null variant (i.e. unspecified value), {Wx::PG::ArrayStringProperty#on_set_value} will not be called.- m_value may be of any variant type. Typically properties internally support only one variant type, and as such {Wx::PG::ArrayStringProperty#on_set_value} provides a good opportunity to convert supported values into internal type.- Default implementation does nothing.
@@ -614,7 +614,7 @@ module Wx::PG
614
614
  # @param name [String]
615
615
  # @param value [String]
616
616
  # @return [DirProperty]
617
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=Wx::EMPTY_STRING) end
617
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=('')) end
618
618
 
619
619
  # Converts property value into a text representation.
620
620
  # Default implementation calls {Wx::PG::DirProperty#generate_composed_value}.
@@ -686,7 +686,7 @@ module Wx::PG
686
686
  # @param name [String]
687
687
  # @param value [String]
688
688
  # @return [FileProperty]
689
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=Wx::EMPTY_STRING) end
689
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=('')) end
690
690
 
691
691
  # This virtual function is called after m_value has been set.
692
692
  # - If m_value was set to Null variant (i.e. unspecified value), {Wx::PG::FileProperty#on_set_value} will not be called.- m_value may be of any variant type. Typically properties internally support only one variant type, and as such {Wx::PG::FileProperty#on_set_value} provides a good opportunity to convert supported values into internal type.- Default implementation does nothing.
@@ -829,7 +829,7 @@ module Wx::PG
829
829
  # @param name [String]
830
830
  # @param value [String]
831
831
  # @return [ImageFileProperty]
832
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=Wx::EMPTY_STRING) end
832
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=('')) end
833
833
 
834
834
  # This virtual function is called after m_value has been set.
835
835
  # - If m_value was set to Null variant (i.e. unspecified value), {Wx::PG::ImageFileProperty#on_set_value} will not be called.- m_value may be of any variant type. Typically properties internally support only one variant type, and as such {Wx::PG::ImageFileProperty#on_set_value} provides a good opportunity to convert supported values into internal type.- Default implementation does nothing.
@@ -891,7 +891,7 @@ module Wx::PG
891
891
  # @param name [String]
892
892
  # @param value [Wx::Font,Wx::FontInfo]
893
893
  # @return [FontProperty]
894
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=(Wx::Font.new())) end
894
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=(Wx::Font.new())) end
895
895
 
896
896
  # This virtual function is called after m_value has been set.
897
897
  # - If m_value was set to Null variant (i.e. unspecified value), {Wx::PG::FontProperty#on_set_value} will not be called.- m_value may be of any variant type. Typically properties internally support only one variant type, and as such {Wx::PG::FontProperty#on_set_value} provides a good opportunity to convert supported values into internal type.- Default implementation does nothing.
@@ -979,7 +979,7 @@ module Wx::PG
979
979
  # @param name [String]
980
980
  # @param value [String]
981
981
  # @return [LongStringProperty]
982
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=Wx::EMPTY_STRING) end
982
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=('')) end
983
983
 
984
984
  # Converts property value into a text representation.
985
985
  # Default implementation calls {Wx::PG::LongStringProperty#generate_composed_value}.
@@ -1041,7 +1041,7 @@ module Wx::PG
1041
1041
  # @param choices [Wx::PGChoices]
1042
1042
  # @param value [Array<String>]
1043
1043
  # @return [MultiChoiceProperty]
1044
- # @overload initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=(Wx::ArrayString.new()))
1044
+ # @overload initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=(Wx::ArrayString.new()))
1045
1045
  # @param label [String]
1046
1046
  # @param name [String]
1047
1047
  # @param value [Array<String>]
@@ -1267,7 +1267,7 @@ module Wx::PG
1267
1267
  #
1268
1268
  class IntProperty < NumericProperty
1269
1269
 
1270
- # @overload initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=0)
1270
+ # @overload initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=0)
1271
1271
  # @param label [String]
1272
1272
  # @param name [String]
1273
1273
  # @param value [Integer]
@@ -1409,7 +1409,7 @@ module Wx::PG
1409
1409
  # @param name [String]
1410
1410
  # @param value [Float]
1411
1411
  # @return [FloatProperty]
1412
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=0.0) end
1412
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=0.0) end
1413
1413
 
1414
1414
  # Converts property value into a text representation.
1415
1415
  # Default implementation calls {Wx::PG::FloatProperty#generate_composed_value}.
@@ -1551,7 +1551,7 @@ module Wx::PG
1551
1551
  #
1552
1552
  class UIntProperty < NumericProperty
1553
1553
 
1554
- # @overload initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=0)
1554
+ # @overload initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=0)
1555
1555
  # @param label [String]
1556
1556
  # @param name [String]
1557
1557
  # @param value [Integer]
@@ -1846,7 +1846,7 @@ module Wx::PG
1846
1846
  # @param name [String]
1847
1847
  # @param value [Integer]
1848
1848
  # @return [CursorProperty]
1849
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=0) end
1849
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=0) end
1850
1850
 
1851
1851
  # Returns size of the custom painted image in front of property.
1852
1852
  # This method must be overridden to return non-default value if OnCustomPaint is to be called.
@@ -1898,14 +1898,14 @@ module Wx::PG
1898
1898
  #
1899
1899
  class EditEnumProperty < EnumProperty
1900
1900
 
1901
- # @overload initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, labels=(Wx::ArrayString.new()), values=(Wx::ArrayInt.new()), value=Wx::EMPTY_STRING)
1901
+ # @overload initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, labels=(Wx::ArrayString.new()), values=(Wx::ArrayInt.new()), value=(''))
1902
1902
  # @param label [String]
1903
1903
  # @param name [String]
1904
1904
  # @param labels [Array<String>]
1905
1905
  # @param values [Array<Integer>]
1906
1906
  # @param value [String]
1907
1907
  # @return [EditEnumProperty]
1908
- # @overload initialize(label, name, choices, value=Wx::EMPTY_STRING)
1908
+ # @overload initialize(label, name, choices, value=(''))
1909
1909
  # @param label [String]
1910
1910
  # @param name [String]
1911
1911
  # @param choices [Wx::PGChoices]
@@ -1933,7 +1933,7 @@ module Wx::PG
1933
1933
  # @param name [String]
1934
1934
  # @param value [Wx::ColourPropertyValue]
1935
1935
  # @return [SystemColourProperty]
1936
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=(Wx::ColourPropertyValue.new())) end
1936
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=(Wx::ColourPropertyValue.new())) end
1937
1937
 
1938
1938
  # This virtual function is called after m_value has been set.
1939
1939
  # - If m_value was set to Null variant (i.e. unspecified value), {Wx::PG::SystemColourProperty#on_set_value} will not be called.- m_value may be of any variant type. Typically properties internally support only one variant type, and as such {Wx::PG::SystemColourProperty#on_set_value} provides a good opportunity to convert supported values into internal type.- Default implementation does nothing.
@@ -2093,7 +2093,7 @@ module Wx::PG
2093
2093
  # @param name [String]
2094
2094
  # @param value [Wx::Colour,String,Symbol]
2095
2095
  # @return [ColourProperty]
2096
- def initialize(label=Wx::PG_LABEL, name=Wx::PG_LABEL, value=Wx::WHITE) end
2096
+ def initialize(label=Wx::PG::PG_LABEL, name=Wx::PG::PG_LABEL, value=Wx::WHITE) end
2097
2097
 
2098
2098
  # Converts property value into a text representation.
2099
2099
  # Default implementation calls {Wx::PG::ColourProperty#generate_composed_value}.
@@ -730,7 +730,7 @@ module Wx::PG
730
730
  # @param text [String] String to get the value from.
731
731
  # @param flags [Integer] If {Wx::PG::PG_MISC_ARG_FLAGS::PG_FULL_VALUE} is set, the function sets complete, storable value instead of displayable one (they may be different). {Wx::PG::PG_MISC_ARG_FLAGS::PG_PROGRAMMATIC_VALUE} flag is used to indicate that value is being set programmatically (i.e. operation is not caused by user input). If {Wx::PG::PG_MISC_ARG_FLAGS::PG_REPORT_ERROR} is set, a special action should be performed if string couldn't have been successfully converted to the valid value (e.g. a special value can be set in this case).
732
732
  # @return [true,false]
733
- def set_value_from_string(text, flags=Wx::PG_PROGRAMMATIC_VALUE) end
733
+ def set_value_from_string(text, flags=Wx::PG::PG_MISC_ARG_FLAGS::PG_PROGRAMMATIC_VALUE) end
734
734
  alias_method :value_from_string=, :set_value_from_string
735
735
 
736
736
  # Converts integer to a value, and if successful, calls {Wx::PG::PGProperty#set_value} on it.
@@ -899,7 +899,7 @@ module Wx::PG
899
899
  # @param label [String] Label for added choice.
900
900
  # @param value [Integer] Value for new choice. Do not specify if you wish this to equal choice index.
901
901
  # @return [Integer]
902
- def add_choice(label, value=Wx::PG_INVALID_VALUE) end
902
+ def add_choice(label, value=Wx::PG::PG_INVALID_VALUE) end
903
903
 
904
904
  # Adds a private child property.
905
905
  # If you use this instead of {Wx::PG::PropertyGridInterface#insert} or {Wx::PG::PropertyGridInterface#append_in}, then property's parental type will automatically be set up to {Wx::PG::PGPropertyFlags::PG_PROP_AGGREGATE}. In other words, all properties of this property will become private.
@@ -1239,7 +1239,7 @@ module Wx::PG
1239
1239
  # @param hide [true,false] true for hide, false for reveal.
1240
1240
  # @param flags [Integer] By default changes are applied recursively. Set this parameter to {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} to prevent this.
1241
1241
  # @return [true,false]
1242
- def hide(hide, flags=Wx::PG_RECURSE) end
1242
+ def hide(hide, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
1243
1243
 
1244
1244
  # Returns index of given child property.
1245
1245
  # {Wx::NOT_FOUND} if given property is not child of this.
@@ -1264,7 +1264,7 @@ module Wx::PG
1264
1264
  # @param index [Integer] Insertion position. Use {Wx::NOT_FOUND} to append.
1265
1265
  # @param value [Integer] Value for new choice. Do not specify if you wish this to equal choice index.
1266
1266
  # @return [Integer]
1267
- def insert_choice(label, index, value=Wx::PG_INVALID_VALUE) end
1267
+ def insert_choice(label, index, value=Wx::PG::PG_INVALID_VALUE) end
1268
1268
 
1269
1269
  # Returns true if this property is actually a {Wx::PG::PropertyCategory}.
1270
1270
  # @return [true,false]
@@ -1357,7 +1357,7 @@ module Wx::PG
1357
1357
  # @param colour [Wx::Colour,String,Symbol] Background colour to use.
1358
1358
  # @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children.
1359
1359
  # @return [void]
1360
- def set_background_colour(colour, flags=Wx::PG_RECURSE) end
1360
+ def set_background_colour(colour, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
1361
1361
  alias_method :background_colour=, :set_background_colour
1362
1362
 
1363
1363
  # @overload set_editor(editor)
@@ -1481,14 +1481,14 @@ module Wx::PG
1481
1481
  # @param colour [Wx::Colour,String,Symbol] Text colour to use.
1482
1482
  # @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children.
1483
1483
  # @return [void]
1484
- def set_text_colour(colour, flags=Wx::PG_RECURSE) end
1484
+ def set_text_colour(colour, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
1485
1485
  alias_method :text_colour=, :set_text_colour
1486
1486
 
1487
1487
  # Sets property's default text and background colours.
1488
1488
  # Unlike {Wx::PG::PropertyGridInterface#set_property_colours_to_default}, this does not automatically update the display.
1489
1489
  # @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colours to be set recursively. Omit this flag to only set colours for the property in question and not any of its children.
1490
1490
  # @return [void]
1491
- def set_default_colours(flags=Wx::PG_RECURSE) end
1491
+ def set_default_colours(flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
1492
1492
  alias_method :default_colours=, :set_default_colours
1493
1493
 
1494
1494
  # Sets {Wx::Validator} for a property.
@@ -1506,7 +1506,7 @@ module Wx::PG
1506
1506
  # @param pList [Wx::Variant] Pointer to list variant that contains child values. Used to indicate which children should be marked as modified. Usually you just use NULL.
1507
1507
  # @param flags [Integer] {Wx::PG::PG_SETVALUE_FLAGS::PG_SETVAL_REFRESH_EDITOR} is set by default, to refresh editor and redraw properties.
1508
1508
  # @return [void]
1509
- def set_value(value, pList=nil, flags=Wx::PG_SETVAL_REFRESH_EDITOR) end
1509
+ def set_value(value, pList=nil, flags=Wx::PG::PG_SETVALUE_FLAGS::PG_SETVAL_REFRESH_EDITOR) end
1510
1510
  alias_method :value=, :set_value
1511
1511
 
1512
1512
  # Set {Wx::Bitmap} taken from {Wx::BitmapBundle} in front of the value.
@@ -1647,12 +1647,12 @@ module Wx::PG
1647
1647
  # @param arr [Array<String>]
1648
1648
  # @param arrint [Array<Integer>]
1649
1649
  # @return [void]
1650
- # @overload add(label, value=Wx::PG_INVALID_VALUE)
1650
+ # @overload add(label, value=Wx::PG::PG_INVALID_VALUE)
1651
1651
  # Adds a single choice item.
1652
1652
  # @param label [String] Label for added choice.
1653
1653
  # @param value [Integer] Value for added choice. If unspecified, index is used.
1654
1654
  # @return [Wx::PGChoiceEntry]
1655
- # @overload add(label, bitmap, value=Wx::PG_INVALID_VALUE)
1655
+ # @overload add(label, bitmap, value=Wx::PG::PG_INVALID_VALUE)
1656
1656
  # Adds a single item, with bitmap.
1657
1657
  # @param label [String]
1658
1658
  # @param bitmap [Wx::Bitmap]
@@ -1668,7 +1668,7 @@ module Wx::PG
1668
1668
  # @param label [String]
1669
1669
  # @param value [Integer]
1670
1670
  # @return [Wx::PGChoiceEntry]
1671
- def add_as_sorted(label, value=Wx::PG_INVALID_VALUE) end
1671
+ def add_as_sorted(label, value=Wx::PG::PG_INVALID_VALUE) end
1672
1672
 
1673
1673
  # Assigns choices data, using reference counting.
1674
1674
  # To create a real copy, use {Wx::PG::PGChoices#copy} member function instead.
@@ -1734,7 +1734,7 @@ module Wx::PG
1734
1734
  # @return [Integer]
1735
1735
  def index(*args) end
1736
1736
 
1737
- # @overload insert(label, index, value=Wx::PG_INVALID_VALUE)
1737
+ # @overload insert(label, index, value=Wx::PG::PG_INVALID_VALUE)
1738
1738
  # Inserts a single item.
1739
1739
  # @param label [String]
1740
1740
  # @param index [Integer]
@@ -109,7 +109,7 @@ module Wx::PG
109
109
  # Two step constructor.
110
110
  # Call {Wx::PG::PropertyGrid#create} when this constructor is called to build up the {Wx::PG::PropertyGrid}
111
111
  # @return [PropertyGrid]
112
- # @overload initialize(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG_DEFAULT_STYLE, name=Wx::PROPERTY_GRID_NAME_STR)
112
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PG_DEFAULT_STYLE, name=Wx::PropertyGridNameStr)
113
113
  # Constructor.
114
114
  # The styles to be used are styles valid for the {Wx::Window}.
115
115
  # @see wxPropertyGrid Window Styles.
@@ -190,7 +190,7 @@ module Wx::PG
190
190
  # @param style [Integer]
191
191
  # @param name [String]
192
192
  # @return [true,false]
193
- def create(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG_DEFAULT_STYLE, name=Wx::PROPERTY_GRID_NAME_STR) end
193
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PG_DEFAULT_STYLE, name=Wx::PropertyGridNameStr) end
194
194
 
195
195
  # Dedicates a specific keycode to {Wx::PG::PropertyGrid}.
196
196
  # This means that such key presses will not be redirected to editor controls.
@@ -309,7 +309,7 @@ module Wx::PG
309
309
  # Returns last item which could be iterated using given flags.
310
310
  # @param flags [Integer] See wxPropertyGridIterator Flags.
311
311
  # @return [Wx::PG::PGProperty]
312
- def get_last_item(flags=Wx::PG_ITERATE_DEFAULT) end
312
+ def get_last_item(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT) end
313
313
  alias_method :last_item, :get_last_item
314
314
 
315
315
  # Returns colour of lines between cells.
@@ -184,11 +184,11 @@ module Wx::PG
184
184
  def get_first_child(id) end
185
185
  alias_method :first_child, :get_first_child
186
186
 
187
- # @overload get_first(flags=Wx::PG_ITERATE_ALL)
187
+ # @overload get_first(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_ALL)
188
188
  # Returns id of first item that matches given criteria.
189
189
  # @param flags [Integer] See wxPropertyGridIterator Flags.
190
190
  # @return [Wx::PG::PGProperty]
191
- # @overload get_first(flags=Wx::PG_ITERATE_ALL)
191
+ # @overload get_first(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_ALL)
192
192
  # @param flags [Integer]
193
193
  # @return [Wx::PGProperty]
194
194
  def get_first(*args) end
@@ -208,7 +208,7 @@ module Wx::PG
208
208
  # @param inverse [true,false] If false, properties that have given flags are stored, otherwise there are stored only properties without given flags.
209
209
  # @param iterFlags [Integer] Iterator flags to use. Default is everything expect private children. See wxPropertyGridIterator Flags.
210
210
  # @return [Array<Wx::PG::PGProperty>]
211
- def get_properties_with_flag(flags, inverse=false, iterFlags=((Wx::PG_ITERATE_PROPERTIES|Wx::PG_ITERATE_HIDDEN|Wx::PG_ITERATE_CATEGORIES))) end
211
+ def get_properties_with_flag(flags, inverse=false, iterFlags=((Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_PROPERTIES|Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_HIDDEN|Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_CATEGORIES))) end
212
212
  alias_method :properties_with_flag, :get_properties_with_flag
213
213
 
214
214
  # Returns value of given attribute.
@@ -388,7 +388,7 @@ module Wx::PG
388
388
  # @param baseparent [Wx::PGProperty] The base property which children properties will be queried for values.
389
389
  # @param flags [Integer] Use {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_KEEP_STRUCTURE} to retain category structure; each sub category will be its own {Wx::VariantList} of {Wx::Variant}. Use {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_INC_ATTRIBUTES} to include property attributes as well. Each attribute will be stored as list variant named "@<propname>@attr."
390
390
  # @return [Wx::Variant]
391
- def get_property_values(listname=Wx::EMPTY_STRING, baseparent=nil, flags=0) end
391
+ def get_property_values(listname=(''), baseparent=nil, flags=0) end
392
392
  alias_method :property_values, :get_property_values
393
393
 
394
394
  # Returns list of currently selected properties.
@@ -409,7 +409,7 @@ module Wx::PG
409
409
  # @param hide [true,false] If true, hides property, otherwise reveals it.
410
410
  # @param flags [Integer] By default changes are applied recursively. Set this parameter {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} to prevent this.
411
411
  # @return [true,false]
412
- def hide_property(id, hide=true, flags=Wx::PG_RECURSE) end
412
+ def hide_property(id, hide=true, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
413
413
 
414
414
  # @overload insert(priorThis, newProperty)
415
415
  # Inserts property to the property container.
@@ -519,12 +519,12 @@ module Wx::PG
519
519
  # @param src [String] String generated by SaveEditableState.
520
520
  # @param restoreStates [Integer] Which parts to restore from source string. See list of editable state flags.
521
521
  # @return [true,false]
522
- def restore_editable_state(src, restoreStates=Wx::ALL_STATES) end
522
+ def restore_editable_state(src, restoreStates=Wx::PG::PropertyGridInterface::EditableStateFlags::AllStates) end
523
523
 
524
524
  # Used to acquire user-editable state (selected property, expanded properties, scrolled position, splitter positions).
525
525
  # @param includedStates [Integer] Which parts of state to include. See list of editable state flags.
526
526
  # @return [String]
527
- def save_editable_state(includedStates=Wx::ALL_STATES) end
527
+ def save_editable_state(includedStates=Wx::PG::PropertyGridInterface::EditableStateFlags::AllStates) end
528
528
 
529
529
  # Set proportion of an auto-stretchable column.
530
530
  # {Wx::PG::PG_WINDOW_STYLES::PG_SPLITTER_AUTO_CENTER} window style needs to be used to indicate that columns are auto- resizable.
@@ -560,7 +560,7 @@ module Wx::PG
560
560
  # @param colour [Wx::Colour,String,Symbol] New background colour.
561
561
  # @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children.
562
562
  # @return [void]
563
- def set_property_background_colour(id, colour, flags=Wx::PG_RECURSE) end
563
+ def set_property_background_colour(id, colour, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
564
564
 
565
565
  # Sets text, bitmap, and colours for given column's cell.
566
566
  # - You can set label cell by using column 0.- You can use {Wx::PG::PG_LABEL} as text to use default text for column.
@@ -571,7 +571,7 @@ module Wx::PG
571
571
  # @param fgCol [Wx::Colour,String,Symbol]
572
572
  # @param bgCol [Wx::Colour,String,Symbol]
573
573
  # @return [void]
574
- def set_property_cell(id, column, text=Wx::EMPTY_STRING, bitmap=(Wx::BitmapBundle.new()), fgCol=Wx::NULL_COLOUR, bgCol=Wx::NULL_COLOUR) end
574
+ def set_property_cell(id, column, text=(''), bitmap=(Wx::BitmapBundle.new()), fgCol=Wx::NULL_COLOUR, bgCol=Wx::NULL_COLOUR) end
575
575
 
576
576
  # Sets client data (void*) of a property.
577
577
  # This untyped client data has to be deleted manually.
@@ -585,7 +585,7 @@ module Wx::PG
585
585
  # @param id [String,Wx::PG::PGProperty] Property name or pointer.
586
586
  # @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} which causes colour to be reset only for the property in question (for backward compatibility).
587
587
  # @return [void]
588
- def set_property_colours_to_default(id, flags=Wx::PG_DONT_RECURSE) end
588
+ def set_property_colours_to_default(id, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE) end
589
589
  alias_method :property_colours_to_default=, :set_property_colours_to_default
590
590
 
591
591
  # @overload set_property_editor(id, editor)
@@ -623,7 +623,7 @@ module Wx::PG
623
623
  # @param set [true,false] Use true to enable read-only, false to disable it.
624
624
  # @param flags [Integer] By default changes are applied recursively. Set this parameter to {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} to prevent this.
625
625
  # @return [void]
626
- def set_property_read_only(id, set=true, flags=Wx::PG_RECURSE) end
626
+ def set_property_read_only(id, set=true, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
627
627
  alias_method :property_read_only=, :set_property_read_only
628
628
 
629
629
  # Sets property's value to unspecified.
@@ -633,12 +633,12 @@ module Wx::PG
633
633
  def set_property_value_unspecified(id) end
634
634
  alias_method :property_value_unspecified=, :set_property_value_unspecified
635
635
 
636
- # @overload set_property_values(list, defaultCategory=Wx::NULL_PROPERTY)
636
+ # @overload set_property_values(list, defaultCategory=Wx::PG::NullProperty)
637
637
  # Sets property values from a list of {Wx::Variants}.
638
638
  # @param list [Wx::VariantList]
639
639
  # @param defaultCategory [String,Wx::PG::PGProperty]
640
640
  # @return [void]
641
- # @overload set_property_values(list, defaultCategory=Wx::NULL_PROPERTY)
641
+ # @overload set_property_values(list, defaultCategory=Wx::PG::NullProperty)
642
642
  # Sets property values from a list of {Wx::Variants}.
643
643
  # @param list [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue]
644
644
  # @param defaultCategory [String,Wx::PG::PGProperty]
@@ -674,7 +674,7 @@ module Wx::PG
674
674
  # @param colour [Wx::Colour,String,Symbol] New text colour.
675
675
  # @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children.
676
676
  # @return [void]
677
- def set_property_text_colour(id, colour, flags=Wx::PG_RECURSE) end
677
+ def set_property_text_colour(id, colour, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
678
678
 
679
679
  # Sets validator of a property.
680
680
  # @param id [String,Wx::PG::PGProperty]
@@ -67,7 +67,7 @@ module Wx::PG
67
67
  # Two step constructor.
68
68
  # Call Create when this constructor is called to build up the {Wx::PG::PropertyGridManager}.
69
69
  # @return [PropertyGridManager]
70
- # @overload initialize(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PGMAN_DEFAULT_STYLE, name=Wx::PROPERTY_GRID_MANAGER_NAME_STR)
70
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PGMAN_DEFAULT_STYLE, name=Wx::PropertyGridManagerNameStr)
71
71
  # The default constructor.
72
72
  # The styles to be used are styles valid for the {Wx::Window}.
73
73
  # @see wxPropertyGrid Window Styles
@@ -90,7 +90,7 @@ module Wx::PG
90
90
  # @param bmp [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap bundle for toolbar image. If the bundle is empty, then a built-in default bitmap bundle is used.
91
91
  # @param pageObj [Wx::PropertyGridPage] {Wx::PG::PropertyGridPage} instance. Manager will take ownership of this object. NULL indicates that a default page instance should be created.
92
92
  # @return [Wx::PropertyGridPage]
93
- def add_page(label=Wx::EMPTY_STRING, bmp=(Wx::BitmapBundle.new()), pageObj=nil) end
93
+ def add_page(label=(''), bmp=(Wx::BitmapBundle.new()), pageObj=nil) end
94
94
 
95
95
  # Deletes all properties and all pages.
96
96
  # @return [void]
@@ -117,7 +117,7 @@ module Wx::PG
117
117
  # @param style [Integer]
118
118
  # @param name [String]
119
119
  # @return [true,false]
120
- def create(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PGMAN_DEFAULT_STYLE, name=Wx::PROPERTY_GRID_MANAGER_NAME_STR) end
120
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PGMAN_DEFAULT_STYLE, name=Wx::PropertyGridManagerNameStr) end
121
121
 
122
122
  # Enables or disables (shows/hides) categories according to parameter enable.
123
123
  # Calling this may not properly update toolbar buttons.
@@ -210,11 +210,11 @@ module Wx::PG
210
210
  def get_grid; end
211
211
  alias_method :grid, :get_grid
212
212
 
213
- # @overload get_last_item(flags=Wx::PG_ITERATE_DEFAULT)
213
+ # @overload get_last_item(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT)
214
214
  # Returns last item which could be iterated using given flags.
215
215
  # @param flags [Integer] wxPropertyGridIterator Flags
216
216
  # @return [Wx::PG::PGProperty]
217
- # @overload get_last_item(flags=Wx::PG_ITERATE_DEFAULT)
217
+ # @overload get_last_item(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT)
218
218
  # @param flags [Integer]
219
219
  # @return [Wx::PGProperty]
220
220
  def get_last_item(*args) end
@@ -66,11 +66,11 @@ module Wx::PG
66
66
  def get_grid; end
67
67
  alias_method :grid, :get_grid
68
68
 
69
- # @overload get_last_item(flags=Wx::PG_ITERATE_DEFAULT)
69
+ # @overload get_last_item(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT)
70
70
  # Returns last item which could be iterated using given flags.
71
71
  # @param flags [Integer] wxPropertyGridIterator Flags
72
72
  # @return [Wx::PG::PGProperty]
73
- # @overload get_last_item(flags=Wx::PG_ITERATE_DEFAULT)
73
+ # @overload get_last_item(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT)
74
74
  # @param flags [Integer]
75
75
  # @return [Wx::PGProperty]
76
76
  def get_last_item(*args) end
@@ -28,7 +28,7 @@ module Wx
28
28
  # @overload initialize()
29
29
  # Default constructor.
30
30
  # @return [PopupWindow]
31
- # @overload initialize(parent, flags=Wx::BORDER_NONE)
31
+ # @overload initialize(parent, flags=Wx::Border::BORDER_NONE)
32
32
  # Constructor.
33
33
  # @param parent [Wx::Window]
34
34
  # @param flags [Integer]
@@ -39,7 +39,7 @@ module Wx
39
39
  # @param parent [Wx::Window]
40
40
  # @param flags [Integer]
41
41
  # @return [true,false]
42
- def create(parent, flags=Wx::BORDER_NONE) end
42
+ def create(parent, flags=Wx::Border::BORDER_NONE) end
43
43
 
44
44
  # Move the popup window to the right position, i.e. such that it is entirely visible.
45
45
  # The popup is positioned at ptOrigin + size if it opens below and to the right (default), at ptOrigin - sizePopup if it opens above and to the left etc.
@@ -63,7 +63,7 @@ module Wx
63
63
  # @overload initialize()
64
64
  # Default constructor.
65
65
  # @return [PopupTransientWindow]
66
- # @overload initialize(parent, flags=Wx::BORDER_NONE)
66
+ # @overload initialize(parent, flags=Wx::Border::BORDER_NONE)
67
67
  # Constructor.
68
68
  # @param parent [Wx::Window]
69
69
  # @param flags [Integer]
@@ -80,7 +80,7 @@ module Wx
80
80
  # Default constructor.
81
81
  # Call Create if using this form of constructor.
82
82
  # @return [PropertySheetDialog]
83
- # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DIALOG_NAME_STR)
83
+ # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DialogNameStr)
84
84
  # Constructor.
85
85
  # @param parent [Wx::Window]
86
86
  # @param id [Integer]
@@ -106,7 +106,7 @@ module Wx
106
106
  # @param style [Integer]
107
107
  # @param name [String]
108
108
  # @return [true,false]
109
- def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DIALOG_NAME_STR) end
109
+ def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DialogNameStr) end
110
110
 
111
111
  # Call this to create the buttons for the dialog.
112
112
  # This calls {Wx::Dialog#create_button_sizer}, and the flags are the same.
@@ -141,7 +141,7 @@ module Wx
141
141
  # On PocketPC, this does nothing, since the dialog will be shown full-screen, and the layout will be done when the dialog receives a size event.
142
142
  # @param centreFlags [Integer]
143
143
  # @return [void]
144
- def layout_dialog(centreFlags=Wx::BOTH) end
144
+ def layout_dialog(centreFlags=Wx::Orientation::BOTH) end
145
145
 
146
146
  # Sets the book control used for the dialog.
147
147
  # You will normally not need to use this.
@@ -112,7 +112,7 @@ module Wx::PRT
112
112
  # @param style [Integer]
113
113
  # @param name [String]
114
114
  # @return [PrintAbortDialog]
115
- def initialize(parent, documentTitle, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=("Wx::DIALOG")) end
115
+ def initialize(parent, documentTitle, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=("dialog")) end
116
116
 
117
117
  # @param currentPage [Integer]
118
118
  # @param totalPages [Integer]
@@ -100,7 +100,7 @@ module Wx::PRT
100
100
  # Pass an optional title argument - the current filename would be a good idea. This will appear in the printing list (at least in MSW)
101
101
  # @param title [String]
102
102
  # @return [Printout]
103
- def initialize(title=("Wx::PRINTOUT")) end
103
+ def initialize(title=("Wx::PRT::Printout")) end
104
104
 
105
105
  # Set the user scale and device origin of the {Wx::DC} associated with this {Wx::PRT::Printout} so that the given image size fits entirely within the page rectangle and the origin is at the top left corner of the page rectangle.
106
106
  # On MSW and Mac, the page rectangle is the printable area of the page. On other platforms and PostScript printing, the page rectangle is the entire paper.
@@ -40,7 +40,7 @@ module Wx
40
40
  # @see Wx::RadioBox#create
41
41
  # @see Wx::Validator
42
42
  # @return [RadioBox]
43
- # @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR)
43
+ # @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioBoxNameStr)
44
44
  # Constructor, creating and showing a radiobox.
45
45
  # <b>{Wx::Perl} Note:</b> Not supported by {Wx::Perl}.
46
46
  # @see Wx::RadioBox#create
@@ -56,7 +56,7 @@ module Wx
56
56
  # @param validator [Wx::Validator] Window validator.
57
57
  # @param name [String] Window name.
58
58
  # @return [RadioBox]
59
- # @overload initialize(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR)
59
+ # @overload initialize(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioBoxNameStr)
60
60
  # Constructor, creating and showing a radiobox.
61
61
  # <b>{Wx::Perl} Note:</b> Use an array reference for the choices parameter.
62
62
  # @see Wx::RadioBox#create
@@ -74,7 +74,7 @@ module Wx
74
74
  # @return [RadioBox]
75
75
  def initialize(*args) end
76
76
 
77
- # @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR)
77
+ # @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioBoxNameStr)
78
78
  # Creates the radiobox for two-step construction.
79
79
  # See {Wx::RadioBox#radio_box} for further details.
80
80
  # @param parent [Wx::Window]
@@ -88,7 +88,7 @@ module Wx
88
88
  # @param validator [Wx::Validator]
89
89
  # @param name [String]
90
90
  # @return [true,false]
91
- # @overload create(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR)
91
+ # @overload create(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioBoxNameStr)
92
92
  # Creates the radiobox for two-step construction.
93
93
  # See {Wx::RadioBox#radio_box} for further details.
94
94
  # @param parent [Wx::Window]
@@ -42,7 +42,7 @@ module Wx
42
42
  # @see Wx::RadioButton#create
43
43
  # @see Wx::Validator
44
44
  # @return [RadioButton]
45
- # @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BUTTON_NAME_STR)
45
+ # @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioButtonNameStr)
46
46
  # Constructor, creating and showing a radio button.
47
47
  #
48
48
  # @see Wx::RadioButton#create
@@ -69,7 +69,7 @@ module Wx
69
69
  # @param validator [Wx::Validator]
70
70
  # @param name [String]
71
71
  # @return [true,false]
72
- def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BUTTON_NAME_STR) end
72
+ def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioButtonNameStr) end
73
73
 
74
74
  # Returns true if the radio button is checked, false otherwise.
75
75
  # @return [true,false]
@@ -54,7 +54,7 @@ module Wx::RBN
54
54
  # Default constructor.
55
55
  # With this constructor, {Wx::RBN::RibbonBar#create} should be called in order to create the ribbon bar.
56
56
  # @return [RibbonBar]
57
- # @overload initialize(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RIBBON_BAR_DEFAULT_STYLE)
57
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RBN::RibbonBarOption::RIBBON_BAR_DEFAULT_STYLE)
58
58
  # Construct a ribbon bar with the given parameters.
59
59
  # @param parent [Wx::Window]
60
60
  # @param id [Integer]
@@ -72,7 +72,7 @@ module Wx::RBN
72
72
  # @param size [Array(Integer, Integer), Wx::Size]
73
73
  # @param style [Integer]
74
74
  # @return [true,false]
75
- def create(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RIBBON_BAR_DEFAULT_STYLE) end
75
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RBN::RibbonBarOption::RIBBON_BAR_DEFAULT_STYLE) end
76
76
 
77
77
  # Set the margin widths (in pixels) on the left and right sides of the tab bar region of the ribbon bar.
78
78
  # These margins will be painted with the tab background, but tabs and scroll buttons will never be painted in the margins.