wxruby3 0.9.0-x64-mingw-ucrt → 0.9.1-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/ext/wxbase32u_gcc_custom.dll +0 -0
  3. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  4. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  5. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  6. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  7. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  17. data/lib/wx/core/const.rb +83 -0
  18. data/lib/wx/core/events/evt_list.rb +24 -0
  19. data/lib/wx/doc/const.rb +66 -66
  20. data/lib/wx/doc/event.rb +0 -6
  21. data/lib/wx/doc/functions.rb +9 -9
  22. data/lib/wx/doc/gen/activity_indicator.rb +2 -2
  23. data/lib/wx/doc/gen/animation_ctrl.rb +2 -2
  24. data/lib/wx/doc/gen/app_traits.rb +1 -1
  25. data/lib/wx/doc/gen/art_provider.rb +1 -1
  26. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +2 -2
  27. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +2 -2
  28. data/lib/wx/doc/gen/banner_window.rb +2 -2
  29. data/lib/wx/doc/gen/bitmap.rb +2 -2
  30. data/lib/wx/doc/gen/bitmap_button.rb +2 -2
  31. data/lib/wx/doc/gen/bitmap_combo_box.rb +4 -4
  32. data/lib/wx/doc/gen/button.rb +2 -2
  33. data/lib/wx/doc/gen/calendar_ctrl.rb +2 -2
  34. data/lib/wx/doc/gen/check_box.rb +2 -2
  35. data/lib/wx/doc/gen/check_list_box.rb +3 -3
  36. data/lib/wx/doc/gen/choice.rb +2 -2
  37. data/lib/wx/doc/gen/collapsible_pane.rb +2 -2
  38. data/lib/wx/doc/gen/colour_picker_ctrl.rb +2 -2
  39. data/lib/wx/doc/gen/combo_box.rb +4 -4
  40. data/lib/wx/doc/gen/combo_ctrl.rb +5 -5
  41. data/lib/wx/doc/gen/command_link_button.rb +2 -2
  42. data/lib/wx/doc/gen/control.rb +2 -2
  43. data/lib/wx/doc/gen/core.rb +2 -2
  44. data/lib/wx/doc/gen/cursor.rb +1 -1
  45. data/lib/wx/doc/gen/data_object.rb +1 -1
  46. data/lib/wx/doc/gen/date_picker_ctrl.rb +2 -2
  47. data/lib/wx/doc/gen/dc.rb +2 -2
  48. data/lib/wx/doc/gen/defs.rb +3 -3
  49. data/lib/wx/doc/gen/dial_up_event.rb +42 -0
  50. data/lib/wx/doc/gen/dial_up_manager.rb +129 -0
  51. data/lib/wx/doc/gen/dialog.rb +2 -2
  52. data/lib/wx/doc/gen/dir_picker_ctrl.rb +2 -2
  53. data/lib/wx/doc/gen/editable_list_box.rb +2 -2
  54. data/lib/wx/doc/gen/event.rb +7 -1
  55. data/lib/wx/doc/gen/event_list.rb +30 -2
  56. data/lib/wx/doc/gen/events.rb +11 -15
  57. data/lib/wx/doc/gen/file_ctrl.rb +200 -0
  58. data/lib/wx/doc/gen/file_ctrl_event.rb +80 -0
  59. data/lib/wx/doc/gen/file_dialog.rb +1 -1
  60. data/lib/wx/doc/gen/file_picker_ctrl.rb +2 -2
  61. data/lib/wx/doc/gen/font.rb +1 -1
  62. data/lib/wx/doc/gen/font_picker_ctrl.rb +2 -2
  63. data/lib/wx/doc/gen/frame.rb +4 -4
  64. data/lib/wx/doc/gen/gauge.rb +2 -2
  65. data/lib/wx/doc/gen/generic_dir_ctrl.rb +2 -2
  66. data/lib/wx/doc/gen/graphics_context.rb +1 -1
  67. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  68. data/lib/wx/doc/gen/grid/grid_ctrl.rb +2 -2
  69. data/lib/wx/doc/gen/header_ctrl.rb +3 -3
  70. data/lib/wx/doc/gen/help_controller.rb +39 -0
  71. data/lib/wx/doc/gen/html/html_easy_printing.rb +1 -1
  72. data/lib/wx/doc/gen/html/html_help_controller.rb +39 -0
  73. data/lib/wx/doc/gen/html/html_list_box.rb +5 -5
  74. data/lib/wx/doc/gen/html/html_window.rb +1 -1
  75. data/lib/wx/doc/gen/hyperlink_ctrl.rb +2 -2
  76. data/lib/wx/doc/gen/list_box.rb +5 -5
  77. data/lib/wx/doc/gen/list_ctrl.rb +3 -3
  78. data/lib/wx/doc/gen/mdi_frame.rb +4 -4
  79. data/lib/wx/doc/gen/media_ctrl.rb +2 -2
  80. data/lib/wx/doc/gen/menu_item.rb +76 -76
  81. data/lib/wx/doc/gen/mini_frame.rb +2 -2
  82. data/lib/wx/doc/gen/notebook.rb +2 -2
  83. data/lib/wx/doc/gen/panel.rb +2 -2
  84. data/lib/wx/doc/gen/pg/property_grid.rb +2 -2
  85. data/lib/wx/doc/gen/pg/property_grid_interface.rb +2 -2
  86. data/lib/wx/doc/gen/pg/property_grid_manager.rb +2 -2
  87. data/lib/wx/doc/gen/platform_info.rb +1 -1
  88. data/lib/wx/doc/gen/property_sheet_dialog.rb +2 -2
  89. data/lib/wx/doc/gen/prt/preview_frame.rb +1 -1
  90. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  91. data/lib/wx/doc/gen/prt/printer.rb +1 -1
  92. data/lib/wx/doc/gen/radio_box.rb +4 -4
  93. data/lib/wx/doc/gen/radio_button.rb +2 -2
  94. data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
  95. data/lib/wx/doc/gen/rearrange_ctrl.rb +2 -2
  96. data/lib/wx/doc/gen/rearrange_list.rb +2 -2
  97. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +2 -2
  98. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +1 -1
  99. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +2 -2
  100. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +1 -1
  101. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +9 -9
  102. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +2 -2
  103. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
  104. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
  105. data/lib/wx/doc/gen/sash_event.rb +3 -0
  106. data/lib/wx/doc/gen/sash_layout_window.rb +2 -2
  107. data/lib/wx/doc/gen/sash_window.rb +1 -1
  108. data/lib/wx/doc/gen/scroll_bar.rb +2 -2
  109. data/lib/wx/doc/gen/scrolled_canvas.rb +2 -2
  110. data/lib/wx/doc/gen/scrolled_control.rb +2 -2
  111. data/lib/wx/doc/gen/scrolled_window.rb +2 -2
  112. data/lib/wx/doc/gen/search_ctrl.rb +2 -2
  113. data/lib/wx/doc/gen/slider.rb +2 -2
  114. data/lib/wx/doc/gen/spin_button.rb +1 -1
  115. data/lib/wx/doc/gen/splitter_window.rb +2 -2
  116. data/lib/wx/doc/gen/static_bitmap.rb +2 -2
  117. data/lib/wx/doc/gen/static_box.rb +6 -6
  118. data/lib/wx/doc/gen/static_line.rb +2 -2
  119. data/lib/wx/doc/gen/static_text.rb +2 -2
  120. data/lib/wx/doc/gen/status_bar.rb +2 -2
  121. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +3 -3
  122. data/lib/wx/doc/gen/text_ctrl.rb +2 -2
  123. data/lib/wx/doc/gen/time_picker_ctrl.rb +2 -2
  124. data/lib/wx/doc/gen/toggle_button.rb +2 -2
  125. data/lib/wx/doc/gen/tool_bar.rb +2 -2
  126. data/lib/wx/doc/gen/top_level_window.rb +2 -2
  127. data/lib/wx/doc/gen/tree_ctrl.rb +2 -2
  128. data/lib/wx/doc/gen/utils.rb +1 -1
  129. data/lib/wx/doc/gen/v_list_box.rb +2 -2
  130. data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
  131. data/lib/wx/doc/gen/window.rb +5 -5
  132. data/lib/wx/doc/gen/xml_resource.rb +1 -1
  133. data/lib/wx/doc/window.rb +5 -0
  134. data/lib/wx/keyword_defs.rb +43 -6
  135. data/lib/wx/version.rb +1 -1
  136. data/lib/wxruby_aui.so +0 -0
  137. data/lib/wxruby_core.so +0 -0
  138. data/lib/wxruby_grid.so +0 -0
  139. data/lib/wxruby_html.so +0 -0
  140. data/lib/wxruby_pg.so +0 -0
  141. data/lib/wxruby_prt.so +0 -0
  142. data/lib/wxruby_rbn.so +0 -0
  143. data/lib/wxruby_rtc.so +0 -0
  144. data/lib/wxruby_stc.so +0 -0
  145. data/rakelib/lib/config/macosx.rb +1 -1
  146. data/samples/text/richtext.rb +0 -30
  147. data/tests/test_app_exit_exception.rb +36 -0
  148. data/tests/test_app_init_exception.rb +20 -0
  149. data/tests/test_book_controls.rb +29 -0
  150. data/tests/test_exceptions.rb +41 -0
  151. data/tests/test_sizer.rb +43 -0
  152. data/tests/test_std_controls.rb +36 -0
  153. metadata +12 -2
@@ -6,6 +6,45 @@
6
6
 
7
7
  module Wx::HTML
8
8
 
9
+ #
10
+ HF_TOOLBAR = 1
11
+
12
+ #
13
+ HF_CONTENTS = 2
14
+
15
+ #
16
+ HF_INDEX = 4
17
+
18
+ #
19
+ HF_SEARCH = 8
20
+
21
+ #
22
+ HF_BOOKMARKS = 16
23
+
24
+ #
25
+ HF_OPEN_FILES = 32
26
+
27
+ #
28
+ HF_PRINT = 64
29
+
30
+ #
31
+ HF_FLAT_TOOLBAR = 128
32
+
33
+ #
34
+ HF_MERGE_BOOKS = 256
35
+
36
+ #
37
+ HF_ICONS_BOOK = 512
38
+
39
+ #
40
+ HF_ICONS_BOOK_CHAPTER = 1024
41
+
42
+ #
43
+ HF_ICONS_FOLDER = 0
44
+
45
+ #
46
+ HF_DEFAULT_STYLE = 95
47
+
9
48
  #
10
49
  ID_HTML_HELPFRAME = 6000
11
50
 
@@ -33,7 +33,7 @@ module Wx::HTML
33
33
  #
34
34
  class HtmlListBox < VListBox
35
35
 
36
- # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::HtmlListBoxNameStr)
36
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::HTML_LIST_BOX_NAME_STR)
37
37
  # Normal constructor which calls {Wx::HTML::HtmlListBox#create} internally.
38
38
  # @param parent [Wx::Window]
39
39
  # @param id [Integer]
@@ -57,7 +57,7 @@ module Wx::HTML
57
57
  # @param style [Integer]
58
58
  # @param name [String]
59
59
  # @return [Boolean]
60
- def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::HtmlListBoxNameStr) end
60
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::HTML_LIST_BOX_NAME_STR) end
61
61
 
62
62
 
63
63
  protected
@@ -139,7 +139,7 @@ module Wx::HTML
139
139
  #
140
140
  class SimpleHtmlListBox < HtmlListBox
141
141
 
142
- # @overload create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=Wx::HTML::HLB_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SimpleHtmlListBoxNameStr)
142
+ # @overload create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=Wx::HTML::HLB_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SIMPLE_HTML_LIST_BOX_NAME_STR)
143
143
  # Creates the HTML listbox for two-step construction.
144
144
  # See {Wx::HTML::SimpleHtmlListBox#initialize} for further details.
145
145
  # @param parent [Wx::Window]
@@ -151,7 +151,7 @@ module Wx::HTML
151
151
  # @param validator [Wx::Validator]
152
152
  # @param name [String]
153
153
  # @return [Boolean]
154
- # @overload create(parent, id, pos, size, choices, style=Wx::HTML::HLB_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SimpleHtmlListBoxNameStr)
154
+ # @overload create(parent, id, pos, size, choices, style=Wx::HTML::HLB_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SIMPLE_HTML_LIST_BOX_NAME_STR)
155
155
  # Creates the HTML listbox for two-step construction.
156
156
  # See {Wx::HTML::SimpleHtmlListBox#initialize} for further details.
157
157
  # @param parent [Wx::Window]
@@ -165,7 +165,7 @@ module Wx::HTML
165
165
  # @return [Boolean]
166
166
  def create(*args) end
167
167
 
168
- # @overload initialize(parent, id, pos, size, choices, style=Wx::HTML::HLB_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SimpleHtmlListBoxNameStr)
168
+ # @overload initialize(parent, id, pos, size, choices, style=Wx::HTML::HLB_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SIMPLE_HTML_LIST_BOX_NAME_STR)
169
169
  # Constructor, creating and showing the HTML list box.
170
170
  # @param parent [Wx::Window] Parent window. Must not be NULL.
171
171
  # @param id [Integer] Window identifier. A value of -1 indicates a default value.
@@ -108,7 +108,7 @@ module Wx::HTML
108
108
  # @overload initialize()
109
109
  # Default ctor.
110
110
  # @return [Wx::HTML::HtmlWindow]
111
- # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::HTML::HW_DEFAULT_STYLE, name=("htmlWindow"))
111
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::HTML::HW_DEFAULT_STYLE, name=("HTML_WINDOW"))
112
112
  # Constructor.
113
113
  # The parameters are the same as Wx::Scrolled#initialize constructor.
114
114
  # @param parent [Wx::Window]
@@ -65,7 +65,7 @@ module Wx
65
65
 
66
66
  # @overload initialize()
67
67
  # @return [Wx::HyperlinkCtrl]
68
- # @overload initialize(parent, id, label, url, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::HL_DEFAULT_STYLE, name=Wx::HyperlinkCtrlNameStr)
68
+ # @overload initialize(parent, id, label, url, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::HL_DEFAULT_STYLE, name=Wx::HYPERLINK_CTRL_NAME_STR)
69
69
  # Constructor.
70
70
  # See {Wx::HyperlinkCtrl#create} for more info.
71
71
  # @param parent [Wx::Window]
@@ -89,7 +89,7 @@ module Wx
89
89
  # @param style [Integer] Window style. See {Wx::HyperlinkCtrl}.
90
90
  # @param name [String] Window name.
91
91
  # @return [Boolean]
92
- def create(parent, id, label, url, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::HL_DEFAULT_STYLE, name=Wx::HyperlinkCtrlNameStr) end
92
+ def create(parent, id, label, url, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::HL_DEFAULT_STYLE, name=Wx::HYPERLINK_CTRL_NAME_STR) end
93
93
 
94
94
  # Returns the colour used to print the label of the hyperlink when the mouse is over the control.
95
95
  # @return [Wx::Colour]
@@ -55,7 +55,7 @@ module Wx
55
55
  #
56
56
  class ListBox < ControlWithItems
57
57
 
58
- # @overload create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListBoxNameStr)
58
+ # @overload create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_BOX_NAME_STR)
59
59
  # Creates the listbox for two-step construction.
60
60
  # See {Wx::ListBox#initialize} for further details.
61
61
  # @param parent [Wx::Window]
@@ -67,7 +67,7 @@ module Wx
67
67
  # @param validator [Wx::Validator]
68
68
  # @param name [String]
69
69
  # @return [Boolean]
70
- # @overload create(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListBoxNameStr)
70
+ # @overload create(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_BOX_NAME_STR)
71
71
  # Creates the listbox for two-step construction.
72
72
  # See {Wx::ListBox#initialize} for further details.
73
73
  # @param parent [Wx::Window]
@@ -84,7 +84,7 @@ module Wx
84
84
  # @overload initialize()
85
85
  # Default constructor.
86
86
  # @return [Wx::ListBox]
87
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListBoxNameStr)
87
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_BOX_NAME_STR)
88
88
  # Constructor, creating and showing a list box.
89
89
  # @param parent [Wx::Window] The parent window.
90
90
  # @param id [Integer] The ID of this control. A value of {Wx::StandardID::ID_ANY} indicates a default value.
@@ -95,7 +95,7 @@ module Wx
95
95
  # @param validator [Wx::Validator] The validator for this control.
96
96
  # @param name [String] The name of this class.
97
97
  # @return [Wx::ListBox]
98
- # @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListBoxNameStr)
98
+ # @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_BOX_NAME_STR)
99
99
  # Constructor, creating and showing a list box.
100
100
  # See the other {Wx::ListBox#initialize} constructor; the only difference is that this overload takes a {Wx::ArrayString} instead of a pointer to an array of {Wx::String}.
101
101
  # @param parent [Wx::Window]
@@ -157,7 +157,7 @@ module Wx
157
157
 
158
158
  # @overload hit_test(point)
159
159
  # Returns the item located at point, or {Wx::NOT_FOUND} if there is no item located at point.
160
- # It is currently implemented for wxMSW, {Wx::Mac} and wxGTK2 ports.
160
+ # It is currently implemented for wxMSW, wxMac and wxGTK2 ports.
161
161
  #
162
162
  # Item located at point, or {Wx::NOT_FOUND} if unimplemented or the item does not exist.
163
163
  # @param point [Array(Integer, Integer), Wx::Point] Point of item (in client coordinates) to obtain
@@ -447,7 +447,7 @@ module Wx
447
447
  # @overload initialize()
448
448
  # Default constructor.
449
449
  # @return [Wx::ListCtrl]
450
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr)
450
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_CTRL_NAME_STR)
451
451
  # Constructor, creating and showing a list control.
452
452
  #
453
453
  # @see Wx::ListCtrl#create
@@ -496,7 +496,7 @@ module Wx
496
496
  # @param validator [Wx::Validator]
497
497
  # @param name [String]
498
498
  # @return [Boolean]
499
- def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr) end
499
+ def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_CTRL_NAME_STR) end
500
500
 
501
501
  # Delete all columns in the list control.
502
502
  # true if all columns were successfully deleted, false otherwise.
@@ -1517,7 +1517,7 @@ module Wx
1517
1517
  # @overload initialize()
1518
1518
  # Default constructor.
1519
1519
  # @return [Wx::ListView]
1520
- # @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_REPORT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr)
1520
+ # @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_REPORT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_CTRL_NAME_STR)
1521
1521
  # Constructor, creating and showing a listview control.
1522
1522
  #
1523
1523
  # @see Wx::ListView#create
@@ -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 [Wx::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::FrameNameStr)
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)
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 [Boolean]
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
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
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.
@@ -176,7 +176,7 @@ module Wx
176
176
  # @overload initialize()
177
177
  # Default constructor.
178
178
  # @return [Wx::MDIChildFrame]
179
- # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr)
179
+ # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR)
180
180
  # Constructor, creating the window.
181
181
  #
182
182
  # @see Wx::MDIChildFrame#create
@@ -207,7 +207,7 @@ module Wx
207
207
  # @param style [Integer]
208
208
  # @param name [String]
209
209
  # @return [Boolean]
210
- def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr) end
210
+ def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR) end
211
211
 
212
212
  # Returns the MDI parent frame containing this child.
213
213
  # 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.
@@ -80,7 +80,7 @@ module Wx
80
80
  # @overload initialize()
81
81
  # Default constructor - you MUST call {Wx::MediaCtrl#create} before calling any other methods of {Wx::MediaCtrl}.
82
82
  # @return [Wx::MediaCtrl]
83
- # @overload initialize(parent, id, fileName=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, szBackend=(''), validator=Wx::DEFAULT_VALIDATOR, name=("mediaCtrl"))
83
+ # @overload initialize(parent, id, fileName=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, szBackend=(''), validator=Wx::DEFAULT_VALIDATOR, name=("MEDIA_CTRL"))
84
84
  # Constructor that calls {Wx::MediaCtrl#create}.
85
85
  # You may prefer to call {Wx::MediaCtrl#create} directly to check to see if {Wx::MediaCtrl} is available on the system.
86
86
  # @param parent [Wx::Window] parent of this control. Must not be NULL.
@@ -108,7 +108,7 @@ module Wx
108
108
  # @param validator [Wx::Validator] validator to use.
109
109
  # @param name [String] Window name.
110
110
  # @return [Boolean]
111
- def create(parent, id, fileName=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, szBackend=(''), validator=Wx::DEFAULT_VALIDATOR, name=("mediaCtrl")) end
111
+ def create(parent, id, fileName=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, szBackend=(''), validator=Wx::DEFAULT_VALIDATOR, name=("MEDIA_CTRL")) end
112
112
 
113
113
  # Obtains the best size relative to the original/natural size of the video, if there is any.
114
114
  # See Video size for more information.
@@ -219,65 +219,65 @@ module Wx
219
219
  # Optionally you can specify also an accelerator string appending a tab character <code>\t</code> followed by a valid key combination (e.g. <code>CTRL+V</code>). Its general syntax is any combination of <code>"CTRL"</code>, <code>"RAWCTRL"</code>, <code>"ALT"</code> and <code>"SHIFT"</code> strings (case doesn't matter) separated by either <code>'-'</code> or <code>'+'</code> characters and followed by the accelerator itself. Notice that CTRL corresponds to the "Ctrl" key on most platforms but not under macOS where it is mapped to "Cmd" key on Mac keyboard. Usually this is exactly what you want in portable code but if you really need to use the (rarely used for this purpose) "Ctrl" key even under Mac, you may use RAWCTRL to prevent this mapping. Under the other platforms RAWCTRL is the same as plain CTRL.
220
220
  # The accelerator may be any alphanumeric character, any function key (from F1 to F12), any numpad digit key using KP_ prefix (i.e. from KP_0 to KP_9) or one of the special strings listed below (again, case doesn't matter) corresponding to the specified key code:
221
221
  #
222
- # - Del or Delete: {Wx::K_DELETE}
223
- # - Back: {Wx::K_BACK}
224
- # - Ins or Insert: {Wx::K_INSERT}
225
- # - Enter or Return: {Wx::K_RETURN}
226
- # - PgUp or PageUp: {Wx::K_PAGEUP}
227
- # - PgDn or PageDown: {Wx::K_PAGEDOWN}
228
- # - Left: {Wx::K_LEFT}
229
- # - Right: {Wx::K_RIGHT}
230
- # - Up: {Wx::K_UP}
231
- # - Down: {Wx::K_DOWN}
232
- # - Home: {Wx::K_HOME}
233
- # - End: {Wx::K_END}
234
- # - Space: {Wx::K_SPACE}
235
- # - Tab: {Wx::K_TAB}
236
- # - Esc or Escape: {Wx::K_ESCAPE}
237
- # - Cancel: {Wx::K_CANCEL}
238
- # - Clear: {Wx::K_CLEAR}
239
- # - Menu: {Wx::K_MENU}
240
- # - Pause: {Wx::K_PAUSE}
241
- # - Capital: {Wx::K_CAPITAL}
242
- # - Select: {Wx::K_SELECT}
243
- # - Print: {Wx::K_PRINT}
244
- # - Execute: {Wx::K_EXECUTE}
245
- # - Snapshot: {Wx::K_SNAPSHOT}
246
- # - Help: {Wx::K_HELP}
247
- # - Add: {Wx::K_ADD}
248
- # - Separator: {Wx::K_SEPARATOR}
249
- # - Subtract: {Wx::K_SUBTRACT}
250
- # - Decimal: {Wx::K_DECIMAL}
251
- # - Divide: {Wx::K_DIVIDE}
252
- # - Num_lock: {Wx::K_NUMLOCK}
253
- # - Scroll_lock: {Wx::K_SCROLL}
254
- # - KP_Space: {Wx::K_NUMPAD}_SPACE
255
- # - KP_Tab: {Wx::K_NUMPAD}_TAB
256
- # - KP_Enter: {Wx::K_NUMPAD}_ENTER
257
- # - KP_Home: {Wx::K_NUMPAD}_HOME
258
- # - KP_Left: {Wx::K_NUMPAD}_LEFT
259
- # - KP_Up: {Wx::K_NUMPAD}_UP
260
- # - KP_Right: {Wx::K_NUMPAD}_RIGHT
261
- # - KP_Down: {Wx::K_NUMPAD}_DOWN
262
- # - KP_PageUp: {Wx::K_NUMPAD}_PAGEUP
263
- # - KP_PageDown: {Wx::K_NUMPAD}_PAGEDOWN
264
- # - KP_Prior: {Wx::K_NUMPAD}_PAGEUP
265
- # - KP_Next: {Wx::K_NUMPAD}_PAGEDOWN
266
- # - KP_End: {Wx::K_NUMPAD}_END
267
- # - KP_Begin: {Wx::K_NUMPAD}_BEGIN
268
- # - KP_Insert: {Wx::K_NUMPAD}_INSERT
269
- # - KP_Delete: {Wx::K_NUMPAD}_DELETE
270
- # - KP_Equal: {Wx::K_NUMPAD}_EQUAL
271
- # - KP_Multiply: {Wx::K_NUMPAD}_MULTIPLY
272
- # - KP_Add: {Wx::K_NUMPAD}_ADD
273
- # - KP_Separator: {Wx::K_NUMPAD}_SEPARATOR
274
- # - KP_Subtract: {Wx::K_NUMPAD}_SUBTRACT
275
- # - KP_Decimal: {Wx::K_NUMPAD}_DECIMAL
276
- # - KP_Divide: {Wx::K_NUMPAD}_DIVIDE
277
- # - Windows_Left: {Wx::K_WINDOWS}_LEFT
278
- # - Windows_Right: {Wx::K_WINDOWS}_RIGHT
279
- # - Windows_Menu: {Wx::K_WINDOWS}_MENU
280
- # - Command: {Wx::K_COMMAND}
222
+ # - Del or Delete: {Wx::KeyCode::K_DELETE}
223
+ # - Back: {Wx::KeyCode::K_BACK}
224
+ # - Ins or Insert: {Wx::KeyCode::K_INSERT}
225
+ # - Enter or Return: {Wx::KeyCode::K_RETURN}
226
+ # - PgUp or PageUp: {Wx::KeyCode::K_PAGEUP}
227
+ # - PgDn or PageDown: {Wx::KeyCode::K_PAGEDOWN}
228
+ # - Left: {Wx::KeyCode::K_LEFT}
229
+ # - Right: {Wx::KeyCode::K_RIGHT}
230
+ # - Up: {Wx::KeyCode::K_UP}
231
+ # - Down: {Wx::KeyCode::K_DOWN}
232
+ # - Home: {Wx::KeyCode::K_HOME}
233
+ # - End: {Wx::KeyCode::K_END}
234
+ # - Space: {Wx::KeyCode::K_SPACE}
235
+ # - Tab: {Wx::KeyCode::K_TAB}
236
+ # - Esc or Escape: {Wx::KeyCode::K_ESCAPE}
237
+ # - Cancel: {Wx::KeyCode::K_CANCEL}
238
+ # - Clear: {Wx::KeyCode::K_CLEAR}
239
+ # - Menu: {Wx::KeyCode::K_MENU}
240
+ # - Pause: {Wx::KeyCode::K_PAUSE}
241
+ # - Capital: {Wx::KeyCode::K_CAPITAL}
242
+ # - Select: {Wx::KeyCode::K_SELECT}
243
+ # - Print: {Wx::KeyCode::K_PRINT}
244
+ # - Execute: {Wx::KeyCode::K_EXECUTE}
245
+ # - Snapshot: {Wx::KeyCode::K_SNAPSHOT}
246
+ # - Help: {Wx::KeyCode::K_HELP}
247
+ # - Add: {Wx::KeyCode::K_ADD}
248
+ # - Separator: {Wx::KeyCode::K_SEPARATOR}
249
+ # - Subtract: {Wx::KeyCode::K_SUBTRACT}
250
+ # - Decimal: {Wx::KeyCode::K_DECIMAL}
251
+ # - Divide: {Wx::KeyCode::K_DIVIDE}
252
+ # - Num_lock: {Wx::KeyCode::K_NUMLOCK}
253
+ # - Scroll_lock: {Wx::KeyCode::K_SCROLL}
254
+ # - KP_Space: {Wx::KeyCode::K_NUMPAD}_SPACE
255
+ # - KP_Tab: {Wx::KeyCode::K_NUMPAD}_TAB
256
+ # - KP_Enter: {Wx::KeyCode::K_NUMPAD}_ENTER
257
+ # - KP_Home: {Wx::KeyCode::K_NUMPAD}_HOME
258
+ # - KP_Left: {Wx::KeyCode::K_NUMPAD}_LEFT
259
+ # - KP_Up: {Wx::KeyCode::K_NUMPAD}_UP
260
+ # - KP_Right: {Wx::KeyCode::K_NUMPAD}_RIGHT
261
+ # - KP_Down: {Wx::KeyCode::K_NUMPAD}_DOWN
262
+ # - KP_PageUp: {Wx::KeyCode::K_NUMPAD}_PAGEUP
263
+ # - KP_PageDown: {Wx::KeyCode::K_NUMPAD}_PAGEDOWN
264
+ # - KP_Prior: {Wx::KeyCode::K_NUMPAD}_PAGEUP
265
+ # - KP_Next: {Wx::KeyCode::K_NUMPAD}_PAGEDOWN
266
+ # - KP_End: {Wx::KeyCode::K_NUMPAD}_END
267
+ # - KP_Begin: {Wx::KeyCode::K_NUMPAD}_BEGIN
268
+ # - KP_Insert: {Wx::KeyCode::K_NUMPAD}_INSERT
269
+ # - KP_Delete: {Wx::KeyCode::K_NUMPAD}_DELETE
270
+ # - KP_Equal: {Wx::KeyCode::K_NUMPAD}_EQUAL
271
+ # - KP_Multiply: {Wx::KeyCode::K_NUMPAD}_MULTIPLY
272
+ # - KP_Add: {Wx::KeyCode::K_NUMPAD}_ADD
273
+ # - KP_Separator: {Wx::KeyCode::K_NUMPAD}_SEPARATOR
274
+ # - KP_Subtract: {Wx::KeyCode::K_NUMPAD}_SUBTRACT
275
+ # - KP_Decimal: {Wx::KeyCode::K_NUMPAD}_DECIMAL
276
+ # - KP_Divide: {Wx::KeyCode::K_NUMPAD}_DIVIDE
277
+ # - Windows_Left: {Wx::KeyCode::K_WINDOWS}_LEFT
278
+ # - Windows_Right: {Wx::KeyCode::K_WINDOWS}_RIGHT
279
+ # - Windows_Menu: {Wx::KeyCode::K_WINDOWS}_MENU
280
+ # - Command: {Wx::KeyCode::K_COMMAND}
281
281
  #
282
282
  # Examples:
283
283
  #
@@ -292,22 +292,22 @@ module Wx
292
292
  #
293
293
  # In {Wx::GTk}, the left/right/up/down arrow keys do not work as accelerator keys for a menu item unless a modifier key is used. Additionally, the following keycodes are not supported as menu accelerator keys:
294
294
  #
295
- # - {Wx::K_COMMAND}/{Wx::K_CONTROL}
296
- # - {Wx::K_SHIFT}
297
- # - {Wx::K_ALT}
298
- # - {Wx::K_SCROLL}
299
- # - {Wx::K_CAPITAL}
300
- # - {Wx::K_NUMLOCK}
301
- # - {Wx::K_NUMPAD}_TAB
302
- # - {Wx::K_TAB}
303
- # - {Wx::K_WINDOWS}_LEFT
304
- # - {Wx::K_WINDOWS}_RIGHT
305
- # - {Wx::K_ADD}
306
- # - {Wx::K_SEPARATOR}
307
- # - {Wx::K_SUBTRACT}
308
- # - {Wx::K_DECIMAL}
309
- # - {Wx::K_DIVIDE}
310
- # - {Wx::K_SNAPSHOT}
295
+ # - {Wx::KeyCode::K_COMMAND}/{Wx::KeyCode::K_CONTROL}
296
+ # - {Wx::KeyCode::K_SHIFT}
297
+ # - {Wx::KeyCode::K_ALT}
298
+ # - {Wx::KeyCode::K_SCROLL}
299
+ # - {Wx::KeyCode::K_CAPITAL}
300
+ # - {Wx::KeyCode::K_NUMLOCK}
301
+ # - {Wx::KeyCode::K_NUMPAD}_TAB
302
+ # - {Wx::KeyCode::K_TAB}
303
+ # - {Wx::KeyCode::K_WINDOWS}_LEFT
304
+ # - {Wx::KeyCode::K_WINDOWS}_RIGHT
305
+ # - {Wx::KeyCode::K_ADD}
306
+ # - {Wx::KeyCode::K_SEPARATOR}
307
+ # - {Wx::KeyCode::K_SUBTRACT}
308
+ # - {Wx::KeyCode::K_DECIMAL}
309
+ # - {Wx::KeyCode::K_DIVIDE}
310
+ # - {Wx::KeyCode::K_SNAPSHOT}
311
311
  # @see Wx::MenuItem#get_item_label
312
312
  # @see Wx::MenuItem#get_item_label_text
313
313
  # @param label [String]
@@ -349,7 +349,7 @@ module Wx
349
349
 
350
350
  # Add an extra accelerator for this menu item.
351
351
  # Additional accelerators are not shown in the item's label, but still will trigger the menu command when pressed.
352
- # They can be useful to let multiple keys be used as accelerators for the same command, e.g. {Wx::K_ADD} and {Wx::K_NUMPAD}_ADD.
352
+ # They can be useful to let multiple keys be used as accelerators for the same command, e.g. {Wx::KeyCode::K_ADD} and {Wx::KeyCode::K_NUMPAD}_ADD.
353
353
  # Availability: only available for the wxMSW, wxGTK ports. {Wx::msw},{Wx::gtk}
354
354
  # @param accel [Wx::AcceleratorEntry]
355
355
  # @return [void]
@@ -49,7 +49,7 @@ module Wx
49
49
  # @overload initialize()
50
50
  # Default ctor.
51
51
  # @return [Wx::MiniFrame]
52
- # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CAPTION|Wx::RESIZE_BORDER), name=Wx::FrameNameStr)
52
+ # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CAPTION|Wx::RESIZE_BORDER), name=Wx::FRAME_NAME_STR)
53
53
  # Constructor, creating the window.
54
54
  # The frame behaves like a normal frame on non-Windows platforms.
55
55
  # @see Wx::MiniFrame#create
@@ -73,7 +73,7 @@ module Wx
73
73
  # @param style [Integer]
74
74
  # @param name [String]
75
75
  # @return [Boolean]
76
- def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CAPTION|Wx::RESIZE_BORDER), name=Wx::FrameNameStr) end
76
+ 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
77
77
 
78
78
  end # MiniFrame
79
79
 
@@ -121,7 +121,7 @@ module Wx
121
121
  # @overload initialize()
122
122
  # Constructs a notebook control.
123
123
  # @return [Wx::Notebook]
124
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::NotebookNameStr)
124
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::NOTEBOOK_NAME_STR)
125
125
  # Constructs a notebook control.
126
126
  # Note that sometimes you can reduce flicker by passing the {Wx::CLIP_CHILDREN} window style.
127
127
  # @param parent [Wx::Window] The parent window. Must be non-NULL.
@@ -142,7 +142,7 @@ module Wx
142
142
  # @param style [Integer]
143
143
  # @param name [String]
144
144
  # @return [Boolean]
145
- def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::NotebookNameStr) end
145
+ def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::NOTEBOOK_NAME_STR) end
146
146
 
147
147
  # Returns the number of rows in the notebook control.
148
148
  # @return [Integer]
@@ -32,7 +32,7 @@ module Wx
32
32
  # @overload initialize()
33
33
  # Default constructor.
34
34
  # @return [Wx::Panel]
35
- # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TAB_TRAVERSAL, name=Wx::PanelNameStr)
35
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TAB_TRAVERSAL, name=Wx::PANEL_NAME_STR)
36
36
  # Constructor.
37
37
  #
38
38
  # @see Wx::Panel#create
@@ -59,7 +59,7 @@ module Wx
59
59
  # @param style [Integer]
60
60
  # @param name [String]
61
61
  # @return [Boolean]
62
- 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
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TAB_TRAVERSAL, name=Wx::PANEL_NAME_STR) end
63
63
 
64
64
  # Sends a {Wx::InitDialogEvent}, which in turn transfers data to the dialog via validators.
65
65
  #
@@ -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 [Wx::PG::PropertyGrid]
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)
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::PROPERTY_GRID_NAME_STR)
113
113
  # Constructor.
114
114
  # The styles to be used are styles valid for the {Wx::Window}.
115
115
  # @see wxPropertyGrid Window Styles.
@@ -191,7 +191,7 @@ module Wx::PG
191
191
  # @param style [Integer]
192
192
  # @param name [String]
193
193
  # @return [Boolean]
194
- 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
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PG_DEFAULT_STYLE, name=Wx::PROPERTY_GRID_NAME_STR) end
195
195
 
196
196
  # Dedicates a specific keycode to {Wx::PG::PropertyGrid}.
197
197
  # This means that such key presses will not be redirected to editor controls.
@@ -523,12 +523,12 @@ module Wx::PG
523
523
  # @param src [String] String generated by SaveEditableState.
524
524
  # @param restoreStates [Integer] Which parts to restore from source string. See list of editable state flags.
525
525
  # @return [Boolean]
526
- def restore_editable_state(src, restoreStates=Wx::PG::PropertyGridPage::EditableStateFlags::AllStates) end
526
+ def restore_editable_state(src, restoreStates=Wx::PG::PropertyGridManager::EditableStateFlags::AllStates) end
527
527
 
528
528
  # Used to acquire user-editable state (selected property, expanded properties, scrolled position, splitter positions).
529
529
  # @param includedStates [Integer] Which parts of state to include. See list of editable state flags.
530
530
  # @return [String]
531
- def save_editable_state(includedStates=Wx::PG::PropertyGridPage::EditableStateFlags::AllStates) end
531
+ def save_editable_state(includedStates=Wx::PG::PropertyGridManager::EditableStateFlags::AllStates) end
532
532
 
533
533
  # Set proportion of an auto-stretchable column.
534
534
  # {Wx::PG::PG_WINDOW_STYLES::PG_SPLITTER_AUTO_CENTER} window style needs to be used to indicate that columns are auto- resizable.
@@ -66,7 +66,7 @@ module Wx::PG
66
66
  # Two step constructor.
67
67
  # Call Create when this constructor is called to build up the {Wx::PG::PropertyGridManager}.
68
68
  # @return [Wx::PG::PropertyGridManager]
69
- # @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)
69
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PGMAN_DEFAULT_STYLE, name=Wx::PROPERTY_GRID_MANAGER_NAME_STR)
70
70
  # The default constructor.
71
71
  # The styles to be used are styles valid for the {Wx::Window}.
72
72
  # @see wxPropertyGrid Window Styles
@@ -116,7 +116,7 @@ module Wx::PG
116
116
  # @param style [Integer]
117
117
  # @param name [String]
118
118
  # @return [Boolean]
119
- 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
119
+ def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PGMAN_DEFAULT_STYLE, name=Wx::PROPERTY_GRID_MANAGER_NAME_STR) end
120
120
 
121
121
  # Enables or disables (shows/hides) categories according to parameter enable.
122
122
  # Calling this may not properly update toolbar buttons.
@@ -105,7 +105,7 @@ module Wx
105
105
  #
106
106
  PORT_X11 = Wx::PortId.new(32)
107
107
 
108
- # {Wx::Mac}, using Carbon or Classic Mac API
108
+ # wxMac, using Carbon or Classic Mac API
109
109
  #
110
110
  PORT_MAC = Wx::PortId.new(128)
111
111
 
@@ -84,7 +84,7 @@ module Wx
84
84
  # Default constructor.
85
85
  # Call Create if using this form of constructor.
86
86
  # @return [Wx::PropertySheetDialog]
87
- # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DialogNameStr)
87
+ # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DIALOG_NAME_STR)
88
88
  # Constructor.
89
89
  # @param parent [Wx::Window]
90
90
  # @param id [Integer]
@@ -110,7 +110,7 @@ module Wx
110
110
  # @param style [Integer]
111
111
  # @param name [String]
112
112
  # @return [Boolean]
113
- def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DialogNameStr) end
113
+ def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DIALOG_NAME_STR) end
114
114
 
115
115
  # Call this to create the buttons for the dialog.
116
116
  # This calls {Wx::Dialog#create_button_sizer}, and the flags are the same.
@@ -29,7 +29,7 @@ module Wx::PRT
29
29
  # @param style [Integer]
30
30
  # @param name [String]
31
31
  # @return [Wx::PRT::PreviewFrame]
32
- def initialize(preview, parent, title=("Print Preview"), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr) end
32
+ def initialize(preview, parent, title=("PRINT PREVIEW"), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR) end
33
33
 
34
34
  # Initializes the frame elements and prepares for showing it.
35
35
  # Calling this method is equivalent to calling {Wx::PRT::PreviewFrame#initialize_with_modality} with {Wx::PRT::PreviewFrameModalityKind::PreviewFrame_AppModal} argument, please see its documentation for more details.
@@ -112,7 +112,7 @@ module Wx::PRT
112
112
  # @param style [Integer]
113
113
  # @param name [String]
114
114
  # @return [Wx::PRT::PrintAbortDialog]
115
- def initialize(parent, documentTitle, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=("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]
@@ -111,7 +111,7 @@ module Wx::PRT
111
111
 
112
112
  # 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 margins set in the given {Wx::PRT::PageSetupDialogData} object.
113
113
  # This function provides the greatest consistency across all platforms because it does not depend on having access to the printable area of the paper.
114
- # On Mac, the native {Wx::PRT::PageSetupDialog} does not let you set the page margins; you'll have to provide your own mechanism, or you can use the Mac-only class {Wx::MacPageMarginsDialog}.
114
+ # On Mac, the native {Wx::PRT::PageSetupDialog} does not let you set the page margins; you'll have to provide your own mechanism, or you can use the Mac-only class wxMacPageMarginsDialog.
115
115
  # @param imageSize [Array(Integer, Integer), Wx::Size]
116
116
  # @param pageSetupData [Wx::PRT::PageSetupDialogData]
117
117
  # @return [void]
@@ -42,7 +42,7 @@ module Wx
42
42
  # @see Wx::RadioBox#create
43
43
  # @see Wx::Validator
44
44
  # @return [Wx::RadioBox]
45
- # @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)
45
+ # @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)
46
46
  # Constructor, creating and showing a radiobox.
47
47
  #
48
48
  # @see Wx::RadioBox#create
@@ -58,7 +58,7 @@ module Wx
58
58
  # @param validator [Wx::Validator] Window validator.
59
59
  # @param name [String] Window name.
60
60
  # @return [Wx::RadioBox]
61
- # @overload initialize(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioBoxNameStr)
61
+ # @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)
62
62
  # Constructor, creating and showing a radiobox.
63
63
  #
64
64
  # @see Wx::RadioBox#create
@@ -76,7 +76,7 @@ module Wx
76
76
  # @return [Wx::RadioBox]
77
77
  def initialize(*args) end
78
78
 
79
- # @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)
79
+ # @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)
80
80
  # Creates the radiobox for two-step construction.
81
81
  # See {Wx::RadioBox#initialize} for further details.
82
82
  # @param parent [Wx::Window]
@@ -90,7 +90,7 @@ module Wx
90
90
  # @param validator [Wx::Validator]
91
91
  # @param name [String]
92
92
  # @return [Boolean]
93
- # @overload create(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RadioBoxNameStr)
93
+ # @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)
94
94
  # Creates the radiobox for two-step construction.
95
95
  # See {Wx::RadioBox#initialize} for further details.
96
96
  # @param parent [Wx::Window]