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
@@ -68,7 +68,7 @@ module Wx
68
68
  # @overload initialize()
69
69
  # Default ctor.
70
70
  # @return [Listbook]
71
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::EMPTY_STRING)
71
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=(''))
72
72
  # Constructs a listbook control.
73
73
  # @param parent [Wx::Window]
74
74
  # @param id [Integer]
@@ -87,7 +87,7 @@ module Wx
87
87
  # @param style [Integer]
88
88
  # @param name [String]
89
89
  # @return [true,false]
90
- def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::EMPTY_STRING) end
90
+ def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=('')) end
91
91
 
92
92
  # Returns the {Wx::ListView} associated with the control.
93
93
  # @return [Wx::ListView]
@@ -3819,12 +3819,12 @@ module Wx
3819
3819
  # @overload initialize()
3820
3820
  # This is the default constructor and it does nothing to initialize the object: {Wx::Locale#init} must be used to do that.
3821
3821
  # @return [Locale]
3822
- # @overload initialize(language, flags=Wx::LOCALE_LOAD_DEFAULT)
3822
+ # @overload initialize(language, flags=Wx::LocaleInitFlags::LOCALE_LOAD_DEFAULT)
3823
3823
  # See {Wx::Locale#init} for parameters description.
3824
3824
  # @param language [Integer]
3825
3825
  # @param flags [Integer]
3826
3826
  # @return [Locale]
3827
- # @overload initialize(name, shortName=Wx::EMPTY_STRING, locale=Wx::EMPTY_STRING, bLoadDefault=true)
3827
+ # @overload initialize(name, shortName=(''), locale=(''), bLoadDefault=true)
3828
3828
  # See {Wx::Locale#init} for parameters description.
3829
3829
  # The call of this function has several global side effects which you should understand: first of all, the application locale is changed - note that this will affect many of standard C library functions such as printf() or strftime(). Second, this {Wx::Locale} object becomes the new current global locale for the application and so all subsequent calls to {get_translation} will try to translate the messages using the message catalogs for this locale.
3830
3830
  # @param name [String]
@@ -3861,7 +3861,7 @@ module Wx
3861
3861
  # @param header [String]
3862
3862
  # @param domain [String]
3863
3863
  # @return [String]
3864
- def get_header_value(header, domain=Wx::EMPTY_STRING) end
3864
+ def get_header_value(header, domain=('')) end
3865
3865
  alias_method :header_value, :get_header_value
3866
3866
 
3867
3867
  # Returns the {Wx::Language} constant of current language.
@@ -3881,12 +3881,12 @@ module Wx
3881
3881
  def get_name; end
3882
3882
  alias_method :name, :get_name
3883
3883
 
3884
- # @overload get_string(origString, domain=Wx::EMPTY_STRING)
3884
+ # @overload get_string(origString, domain=(''))
3885
3885
  # Calls {get_translation(wxString,wxString)}.
3886
3886
  # @param origString [String]
3887
3887
  # @param domain [String]
3888
3888
  # @return [Wx::String]
3889
- # @overload get_string(origString, origString2, n, domain=Wx::EMPTY_STRING)
3889
+ # @overload get_string(origString, origString2, n, domain=(''))
3890
3890
  # Calls {get_translation(wxString,wxString,unsigned,wxString)}.
3891
3891
  # @param origString [String]
3892
3892
  # @param origString2 [String]
@@ -3910,7 +3910,7 @@ module Wx
3910
3910
  # @param flags [Integer] Combination of the following:
3911
3911
  # - {Wx::LocaleInitFlags::LOCALE_LOAD_DEFAULT}: Load the message catalog for the given locale containing the translations of standard wxWidgets messages automatically.- {Wx::LocaleInitFlags::LOCALE_DONT_LOAD_DEFAULT}: Negation of {Wx::LocaleInitFlags::LOCALE_LOAD_DEFAULT}.
3912
3912
  # @return [true,false]
3913
- def init(language=Wx::LANGUAGE_DEFAULT, flags=Wx::LOCALE_LOAD_DEFAULT) end
3913
+ def init(language=Wx::Language::LANGUAGE_DEFAULT, flags=Wx::LocaleInitFlags::LOCALE_LOAD_DEFAULT) end
3914
3914
 
3915
3915
  # Calls Wx::Translations#is_loaded.
3916
3916
  # @param domain [String]
@@ -3986,7 +3986,7 @@ module Wx
3986
3986
  # @param index [LocaleInfo] One of the elements of {Wx::LocaleInfo} enum.
3987
3987
  # @param cat [LocaleCategory] The category to use with the given index or {Wx::LocaleCategory::LOCALE_CAT_DEFAULT} if the index can only apply to a single category.
3988
3988
  # @return [String]
3989
- def self.get_info(index, cat=Wx::LOCALE_CAT_DEFAULT) end
3989
+ def self.get_info(index, cat=Wx::LocaleCategory::LOCALE_CAT_DEFAULT) end
3990
3990
 
3991
3991
  # Get the values of a locale datum in the OS locale.
3992
3992
  # This function shouldn't be used in the new code, use Wx::UILocale#get_info instead.
@@ -3994,7 +3994,7 @@ module Wx
3994
3994
  # @param index [LocaleInfo]
3995
3995
  # @param cat [LocaleCategory]
3996
3996
  # @return [String]
3997
- def self.get_os_info(index, cat=Wx::LOCALE_CAT_DEFAULT) end
3997
+ def self.get_os_info(index, cat=Wx::LocaleCategory::LOCALE_CAT_DEFAULT) end
3998
3998
 
3999
3999
  # Check whether the operating system and/or C run time environment supports this locale.
4000
4000
  # For example in Windows, support for many locales is not installed by default. Returns true if the locale is supported.
@@ -380,7 +380,7 @@ module Wx
380
380
  # @param fp [FILE]
381
381
  # @param conv [Wx::MBConv]
382
382
  # @return [LogStderr]
383
- def initialize(fp=nil, conv=Wx::CONV_WHATEVER_WORKS) end
383
+ def initialize(fp=nil, conv=Wx::ConvWhateverWorks) end
384
384
 
385
385
  end # LogStderr
386
386
 
@@ -404,7 +404,7 @@ module Wx
404
404
  # @param ostr [std::ostream]
405
405
  # @param conv [Wx::MBConv]
406
406
  # @return [LogStream]
407
- def initialize(ostr=nil, conv=Wx::CONV_WHATEVER_WORKS) end
407
+ def initialize(ostr=nil, conv=Wx::ConvWhateverWorks) end
408
408
 
409
409
  end # LogStream
410
410
 
@@ -33,7 +33,7 @@ module Wx
33
33
  # Default constructor.
34
34
  # Use {Wx::MDIParentFrame#create} for the objects created using this constructor.
35
35
  # @return [MDIParentFrame]
36
- # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FRAME_NAME_STR)
36
+ # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FrameNameStr)
37
37
  # Constructor, creating the window.
38
38
  # Notice that if you override virtual {Wx::MDIParentFrame#on_create_client} method you shouldn't be using this constructor but the default constructor and {Wx::MDIParentFrame#create} as otherwise your overridden method is never going to be called because of the usual C++ virtual call resolution rules.
39
39
  #
@@ -86,7 +86,7 @@ module Wx
86
86
  # @param style [Integer]
87
87
  # @param name [String]
88
88
  # @return [true,false]
89
- def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FRAME_NAME_STR) end
89
+ def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FrameNameStr) end
90
90
 
91
91
  # Returns a pointer to the active MDI child, if there is one.
92
92
  # If there are any children at all this function returns a non-NULL pointer.
@@ -138,7 +138,7 @@ module Wx
138
138
  # This method is only implemented in MSW MDI implementation and does nothing under the other platforms.
139
139
  # @param orient [Orientation]
140
140
  # @return [void]
141
- def tile(orient=Wx::HORIZONTAL) end
141
+ def tile(orient=Wx::Orientation::HORIZONTAL) end
142
142
 
143
143
  # Returns whether the MDI implementation is tab-based.
144
144
  # Currently only the MSW port uses the real MDI. In Mac ports the usual SDI is used, as common under this platforms, and all the other ports use TDI implementation.
@@ -168,7 +168,7 @@ module Wx
168
168
  # @overload initialize()
169
169
  # Default constructor.
170
170
  # @return [MDIChildFrame]
171
- # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR)
171
+ # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr)
172
172
  # Constructor, creating the window.
173
173
  #
174
174
  # @see Wx::MDIChildFrame#create
@@ -199,7 +199,7 @@ module Wx
199
199
  # @param style [Integer]
200
200
  # @param name [String]
201
201
  # @return [true,false]
202
- def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR) end
202
+ def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr) end
203
203
 
204
204
  # Returns the MDI parent frame containing this child.
205
205
  # Notice that this may return a different object than {Wx::MDIChildFrame#get_parent} as the child frames may be created as children of the client window internally.
@@ -75,7 +75,7 @@ module Wx
75
75
  # @overload initialize()
76
76
  # Default constructor - you MUST call {Wx::MediaCtrl#create} before calling any other methods of {Wx::MediaCtrl}.
77
77
  # @return [MediaCtrl]
78
- # @overload initialize(parent, id, fileName=Wx::EMPTY_STRING, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, szBackend=Wx::EMPTY_STRING, validator=Wx::DEFAULT_VALIDATOR, name=("Wx::MEDIA_CTRL"))
78
+ # @overload initialize(parent, id, fileName=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, szBackend=(''), validator=Wx::DEFAULT_VALIDATOR, name=("mediaCtrl"))
79
79
  # Constructor that calls {Wx::MediaCtrl#create}.
80
80
  # You may prefer to call {Wx::MediaCtrl#create} directly to check to see if {Wx::MediaCtrl} is available on the system.
81
81
  # @param parent [Wx::Window] parent of this control. Must not be NULL.
@@ -103,7 +103,7 @@ module Wx
103
103
  # @param validator [Wx::Validator] validator to use.
104
104
  # @param name [String] Window name.
105
105
  # @return [true,false]
106
- def create(parent, id, fileName=Wx::EMPTY_STRING, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, szBackend=Wx::EMPTY_STRING, validator=Wx::DEFAULT_VALIDATOR, name=("Wx::MEDIA_CTRL")) end
106
+ def create(parent, id, fileName=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, szBackend=(''), validator=Wx::DEFAULT_VALIDATOR, name=("mediaCtrl")) end
107
107
 
108
108
  # Obtains the best size relative to the original/natural size of the video, if there is any.
109
109
  # See Video size for more information.
@@ -185,7 +185,7 @@ module Wx
185
185
  # @param where [Wx::FileOffset]
186
186
  # @param mode [Wx::SeekMode]
187
187
  # @return [Wx::FileOffset]
188
- def seek(where, mode=Wx::FROM_START) end
188
+ def seek(where, mode=Wx::FromStart) end
189
189
 
190
190
  # Sets the playback rate, or speed of the media, to that referred by dRate.
191
191
  # 1.0 represents normal speed, while 2.0 represents twice the normal speed of the media, for example. Not supported on the GStreamer (Unix) backend. Returns true if successful.
@@ -208,7 +208,7 @@ module Wx
208
208
  # Currently only implemented on the QuickTime and DirectShow backends. The function returns true on success.
209
209
  # @param flags [MediaCtrlPlayerControls]
210
210
  # @return [true,false]
211
- def show_player_controls(flags=Wx::MEDIACTRLPLAYERCONTROLS_DEFAULT) end
211
+ def show_player_controls(flags=Wx::MediaCtrlPlayerControls::MEDIACTRLPLAYERCONTROLS_DEFAULT) end
212
212
 
213
213
  # Stops the media.
214
214
  # See {Wx::Operation} for an overview of how stopping works.
@@ -52,7 +52,7 @@ module Wx
52
52
  # @return [Menu]
53
53
  def initialize(*args) end
54
54
 
55
- # @overload append(id, item=Wx::EMPTY_STRING, helpString=Wx::EMPTY_STRING, kind=Wx::ITEM_NORMAL)
55
+ # @overload append(id, item=(''), helpString=(''), kind=Wx::ItemKind::ITEM_NORMAL)
56
56
  # Adds a menu item.
57
57
  # Example:
58
58
  #
@@ -102,7 +102,7 @@ module Wx
102
102
  # @param item [String]
103
103
  # @param help [String]
104
104
  # @return [Wx::MenuItem]
105
- def append_check_item(id, item, help=Wx::EMPTY_STRING) end
105
+ def append_check_item(id, item, help=('')) end
106
106
 
107
107
  # Adds a radio item to the end of the menu.
108
108
  # All consequent radio items form a group and when an item in the group is checked, all the others are automatically unchecked.
@@ -113,7 +113,7 @@ module Wx
113
113
  # @param item [String]
114
114
  # @param help [String]
115
115
  # @return [Wx::MenuItem]
116
- def append_radio_item(id, item, help=Wx::EMPTY_STRING) end
116
+ def append_radio_item(id, item, help=('')) end
117
117
 
118
118
  # Adds a separator to the end of the menu.
119
119
  #
@@ -130,7 +130,7 @@ module Wx
130
130
  # @param text [String]
131
131
  # @param help [String]
132
132
  # @return [Wx::MenuItem]
133
- def append_sub_menu(submenu, text, help=Wx::EMPTY_STRING) end
133
+ def append_sub_menu(submenu, text, help=('')) end
134
134
 
135
135
  # Inserts a break in a menu, causing the next appended item to appear in a new column.
136
136
  # This function only actually inserts a break in {Wx::MSW} and does nothing under the other platforms.
@@ -265,7 +265,7 @@ module Wx
265
265
  # @param pos [Integer]
266
266
  # @param menuItem [Wx::MenuItem]
267
267
  # @return [Wx::MenuItem]
268
- # @overload insert(pos, id, item=Wx::EMPTY_STRING, helpString=Wx::EMPTY_STRING, kind=Wx::ITEM_NORMAL)
268
+ # @overload insert(pos, id, item=(''), helpString=(''), kind=Wx::ItemKind::ITEM_NORMAL)
269
269
  # Inserts the given item before the position pos.
270
270
  # Inserting the item at position {Wx::Menu#get_menu_item_count} is the same as appending it.
271
271
  # @see Wx::Menu#append
@@ -276,7 +276,7 @@ module Wx
276
276
  # @param helpString [String]
277
277
  # @param kind [ItemKind]
278
278
  # @return [Wx::MenuItem]
279
- # @overload insert(pos, id, text, submenu, help=Wx::EMPTY_STRING)
279
+ # @overload insert(pos, id, text, submenu, help=(''))
280
280
  # Inserts the given submenu before the position pos.
281
281
  # text is the text shown in the menu for it and help is the help string shown in the status bar when the submenu item is selected.
282
282
  # @see Wx::Menu#append_sub_menu
@@ -298,7 +298,7 @@ module Wx
298
298
  # @param item [String]
299
299
  # @param helpString [String]
300
300
  # @return [Wx::MenuItem]
301
- def insert_check_item(pos, id, item, helpString=Wx::EMPTY_STRING) end
301
+ def insert_check_item(pos, id, item, helpString=('')) end
302
302
 
303
303
  # Inserts a radio item at the given position.
304
304
  #
@@ -309,7 +309,7 @@ module Wx
309
309
  # @param item [String]
310
310
  # @param helpString [String]
311
311
  # @return [Wx::MenuItem]
312
- def insert_radio_item(pos, id, item, helpString=Wx::EMPTY_STRING) end
312
+ def insert_radio_item(pos, id, item, helpString=('')) end
313
313
 
314
314
  # Inserts a separator at the given position.
315
315
  #
@@ -354,7 +354,7 @@ module Wx
354
354
  # @see Wx::Menu#insert
355
355
  # @param item [Wx::MenuItem]
356
356
  # @return [Wx::MenuItem]
357
- # @overload prepend(id, item=Wx::EMPTY_STRING, helpString=Wx::EMPTY_STRING, kind=Wx::ITEM_NORMAL)
357
+ # @overload prepend(id, item=(''), helpString=(''), kind=Wx::ItemKind::ITEM_NORMAL)
358
358
  # Inserts the given item at position 0, i.e. before all the other existing items.
359
359
  #
360
360
  # @see Wx::Menu#append
@@ -364,7 +364,7 @@ module Wx
364
364
  # @param helpString [String]
365
365
  # @param kind [ItemKind]
366
366
  # @return [Wx::MenuItem]
367
- # @overload prepend(id, text, submenu, help=Wx::EMPTY_STRING)
367
+ # @overload prepend(id, text, submenu, help=(''))
368
368
  # Inserts the given submenu at position 0.
369
369
  #
370
370
  # @see Wx::Menu#append_sub_menu
@@ -384,7 +384,7 @@ module Wx
384
384
  # @param item [String]
385
385
  # @param helpString [String]
386
386
  # @return [Wx::MenuItem]
387
- def prepend_check_item(id, item, helpString=Wx::EMPTY_STRING) end
387
+ def prepend_check_item(id, item, helpString=('')) end
388
388
 
389
389
  # Inserts a radio item at position 0.
390
390
  #
@@ -394,7 +394,7 @@ module Wx
394
394
  # @param item [String]
395
395
  # @param helpString [String]
396
396
  # @return [Wx::MenuItem]
397
- def prepend_radio_item(id, item, helpString=Wx::EMPTY_STRING) end
397
+ def prepend_radio_item(id, item, helpString=('')) end
398
398
 
399
399
  # Inserts a separator at position 0.
400
400
  #
@@ -302,7 +302,7 @@ module Wx
302
302
  # @param kind [ItemKind] May be {Wx::ItemKind::ITEM_SEPARATOR}, {Wx::ItemKind::ITEM_NORMAL}, {Wx::ItemKind::ITEM_CHECK} or {Wx::ItemKind::ITEM_RADIO}.
303
303
  # @param subMenu [Wx::Menu] If non-NULL, indicates that the menu item is a submenu.
304
304
  # @return [MenuItem]
305
- def initialize(parentMenu=nil, id=Wx::ID_SEPARATOR, text=Wx::EMPTY_STRING, helpString=Wx::EMPTY_STRING, kind=Wx::ITEM_NORMAL, subMenu=nil) end
305
+ def initialize(parentMenu=nil, id=Wx::StandardID::ID_SEPARATOR, text=(''), helpString=(''), kind=Wx::ItemKind::ITEM_NORMAL, subMenu=nil) end
306
306
 
307
307
  # Checks or unchecks the menu item.
308
308
  # Note that this only works when the item is already appended to a menu.
@@ -21,8 +21,6 @@ module Wx
21
21
  # main_frame->Close();
22
22
  #
23
23
  # message may contain newline characters, in which case the message will be split into separate lines, to cater for large messages.
24
- #
25
- # Include file: #include <wx/msgdlg.h>
26
24
  # @param message [String] Message to show in the dialog.
27
25
  # @param caption [String] The dialog title.
28
26
  # @param style [Integer] Combination of style flags described in {Wx::MessageDialog} documentation.
@@ -30,7 +28,7 @@ module Wx
30
28
  # @param x [Integer] Horizontal dialog position (ignored under MSW). Use {Wx::DEFAULT_COORD} for x and y to let the system position the window.
31
29
  # @param y [Integer] Vertical dialog position (ignored under MSW).
32
30
  # @return [Integer]
33
- def self.message_box(message, caption=Wx::MESSAGE_BOX_CAPTION_STR, style=(Wx::OK|Wx::CENTRE), parent=nil, x=Wx::DEFAULT_COORD, y=Wx::DEFAULT_COORD) end
31
+ def self.message_box(message, caption=Wx::MESSAGE_BOX_CAPTION_STR, style=(Wx::OK|Wx::GeometryCentre::CENTRE), parent=nil, x=Wx::DEFAULT_COORD, y=Wx::DEFAULT_COORD) end
34
32
 
35
33
  # This class represents a dialog that shows a single or multi-line message, with a choice of OK, Yes, No and Cancel buttons.
36
34
  # === Styles
@@ -76,7 +74,7 @@ module Wx
76
74
  # @param style [Integer] Combination of style flags described above.
77
75
  # @param pos [Array(Integer, Integer), Wx::Point] Dialog position (ignored under MSW).
78
76
  # @return [MessageDialog]
79
- def initialize(parent, message, caption=Wx::MESSAGE_BOX_CAPTION_STR, style=(Wx::OK|Wx::CENTRE), pos=Wx::DEFAULT_POSITION) end
77
+ def initialize(parent, message, caption=Wx::MESSAGE_BOX_CAPTION_STR, style=(Wx::OK|Wx::GeometryCentre::CENTRE), pos=Wx::DEFAULT_POSITION) end
80
78
 
81
79
  # Sets the extended message for the dialog: this message is usually an extension of the short message specified in the constructor or set with {Wx::MessageDialog#set_message}.
82
80
  # If it is set, the main message appears highlighted if supported and this message appears beneath it in normal font. On the platforms which don't support extended messages, it is simply appended to the normal message with an empty line separating them.
@@ -40,7 +40,7 @@ module Wx
40
40
  # @overload initialize()
41
41
  # Default ctor.
42
42
  # @return [MiniFrame]
43
- # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CAPTION|Wx::RESIZE_BORDER), name=Wx::FRAME_NAME_STR)
43
+ # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CAPTION|Wx::RESIZE_BORDER), name=Wx::FrameNameStr)
44
44
  # Constructor, creating the window.
45
45
  # The frame behaves like a normal frame on non-Windows platforms.
46
46
  # @see Wx::MiniFrame#create
@@ -64,7 +64,7 @@ module Wx
64
64
  # @param style [Integer]
65
65
  # @param name [String]
66
66
  # @return [true,false]
67
- def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CAPTION|Wx::RESIZE_BORDER), name=Wx::FRAME_NAME_STR) end
67
+ def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CAPTION|Wx::RESIZE_BORDER), name=Wx::FrameNameStr) end
68
68
 
69
69
  end # MiniFrame
70
70
 
@@ -114,7 +114,7 @@ module Wx
114
114
  # @overload initialize()
115
115
  # Constructs a notebook control.
116
116
  # @return [Notebook]
117
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::NOTEBOOK_NAME_STR)
117
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::NotebookNameStr)
118
118
  # Constructs a notebook control.
119
119
  # Note that sometimes you can reduce flicker by passing the {Wx::CLIP_CHILDREN} window style.
120
120
  # @param parent [Wx::Window] The parent window. Must be non-NULL.
@@ -135,7 +135,7 @@ module Wx
135
135
  # @param style [Integer]
136
136
  # @param name [String]
137
137
  # @return [true,false]
138
- def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::NOTEBOOK_NAME_STR) end
138
+ def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::NotebookNameStr) end
139
139
 
140
140
  # Returns the number of rows in the notebook control.
141
141
  # @return [Integer]
@@ -212,7 +212,7 @@ module Wx
212
212
  # @param select [true,false] Specifies whether the page should be selected.
213
213
  # @param imageId [Integer] Specifies the optional image index for the new page.
214
214
  # @return [true,false]
215
- def insert_page(index, page, text, select=false, imageId=Wx::NO_IMAGE) end
215
+ def insert_page(index, page, text, select=false, imageId=Wx::AUI::AuiMDIClientWindow::NO_IMAGE) end
216
216
 
217
217
  end # Notebook
218
218
 
@@ -10,7 +10,6 @@ module Wx
10
10
  # The dialogs title is set to caption, it contains a (possibly) multiline message above the single line prompt and the zone for entering the number.
11
11
  # The number entered must be in the range min to max (both of which should be positive) and value is the initial value of it. If the user enters an invalid value, it is forced to fall into the specified range. If the user cancels the dialog, the function returns -1. If it is important to distinguish between cancelling the dialog and actually entering -1 in it, i.e. if -1 is a valid input value, this convenience function can't be used and {Wx::NumberEntryDialog} should be used directly instead.
12
12
  # Dialog is centered on its parent unless an explicit position is given in pos.
13
- # Include file: #include <wx/numdlg.h>
14
13
  # @see Wx::NumberEntryDialog
15
14
  # @param message [String]
16
15
  # @param prompt [String]
@@ -7,7 +7,6 @@
7
7
  module Wx
8
8
 
9
9
  # Creates and returns an object of the given class, if the class has been registered with the dynamic class system using DECLARE... and IMPLEMENT... macros.
10
- # Include file: #include <wx/object.h>
11
10
  # @param className [String]
12
11
  # @return [Wx::Object]
13
12
  def self.create_dynamic_object(className) end
@@ -31,7 +31,7 @@ module Wx
31
31
  # @overload initialize()
32
32
  # Default constructor.
33
33
  # @return [Panel]
34
- # @overload initialize(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TAB_TRAVERSAL, name=Wx::PANEL_NAME_STR)
34
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TAB_TRAVERSAL, name=Wx::PanelNameStr)
35
35
  # Constructor.
36
36
  #
37
37
  # @see Wx::Panel#create
@@ -58,7 +58,7 @@ module Wx
58
58
  # @param style [Integer]
59
59
  # @param name [String]
60
60
  # @return [true,false]
61
- def create(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TAB_TRAVERSAL, name=Wx::PANEL_NAME_STR) end
61
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TAB_TRAVERSAL, name=Wx::PanelNameStr) end
62
62
 
63
63
  # Sends a {Wx::InitDialogEvent}, which in turn transfers data to the dialog via validators.
64
64
  #
@@ -216,7 +216,7 @@ module Wx
216
216
  # Default constructor.
217
217
  # The pen will be uninitialised, and {Wx::Pen#is_ok} will return false.
218
218
  # @return [Pen]
219
- # @overload initialize(colour, width=1, style=Wx::PENSTYLE_SOLID)
219
+ # @overload initialize(colour, width=1, style=Wx::PenStyle::PENSTYLE_SOLID)
220
220
  # Constructs a pen from a colour object, pen width and style.
221
221
  # Different versions of Windows and different versions of other platforms support very different subsets of the styles above so handle with care.
222
222
  # @see Wx::Pen#set_style
@@ -396,7 +396,7 @@ module Wx
396
396
  # @param width [Integer]
397
397
  # @param style [PenStyle]
398
398
  # @return [PenInfo]
399
- def initialize(colour=(Wx::Colour.new()), width=1, style=Wx::PENSTYLE_SOLID) end
399
+ def initialize(colour=(Wx::Colour.new()), width=1, style=Wx::PenStyle::PENSTYLE_SOLID) end
400
400
 
401
401
  # @param col [Wx::Colour,String,Symbol]
402
402
  # @return [Wx::PenInfo]
@@ -65,7 +65,7 @@ module Wx::PG
65
65
  # @param pos [Array(Integer, Integer), Wx::Point]
66
66
  # @param sz [Array(Integer, Integer), Wx::Size]
67
67
  # @return [true,false]
68
- def create(parent, message, caption, style=Wx::AEDIALOG_STYLE, pos=Wx::DEFAULT_POSITION, sz=Wx::DEFAULT_SIZE) end
68
+ def create(parent, message, caption, style=Wx::PG::AEDIALOG_STYLE, pos=Wx::DEFAULT_POSITION, sz=Wx::DEFAULT_SIZE) end
69
69
 
70
70
  # @return [void]
71
71
  def enable_custom_new_action; end
@@ -145,7 +145,7 @@ module Wx::PG
145
145
  # @overload initialize(other)
146
146
  # @param other [Wx::PGChoiceEntry]
147
147
  # @return [PGChoiceEntry]
148
- # @overload initialize(label, value=Wx::PG_INVALID_VALUE)
148
+ # @overload initialize(label, value=Wx::PG::PG_INVALID_VALUE)
149
149
  # @param label [String]
150
150
  # @param value [Integer]
151
151
  # @return [PGChoiceEntry]
@@ -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}.