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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7db57bab450fd557e361ff75bc545a5fae34f66ab51076d773627c6ebf38318
4
- data.tar.gz: baca1d7c24f4bd02d8a3ea5dd2f4eada1a48c0f0032fbec730031d2b65aede5e
3
+ metadata.gz: 9a4db88ebfa0f602dcb72a0b4714af32fc2d947d11e9415f6d479198b6b8414d
4
+ data.tar.gz: '09aeab893862584a6f822aaba7ae2a37832b2eb5baac0ccbe4d0f336d3626fa6'
5
5
  SHA512:
6
- metadata.gz: 937919747de82342ab3bcd3bd2729fae49fd91b9a31c72e43cfc47a2fafda45669888fd071565c14d1e3f442a00c1b43050149708b232b86fec5b0e1e6571719
7
- data.tar.gz: d9f27e39b327e8042da630329c2b47ceceaa4acfb7a90faf6dc67f214b56ce0d1ca1ae5e2d34e68935a3b88b466a00c38f8efb0444eee8988c199f7d088b1fd2
6
+ metadata.gz: aa06e40a69ff260a1c5b32373e140ec8411f0d56ec9952ddf7cf492cddd0ec0565f2c92d71b215ca37b373d774772a93297f266b077063a4587d3911bb84de33
7
+ data.tar.gz: 1d293258cd5369ea3b3ddde527d70eca39da48c23a87514d78673efe49e10d9fb985d5cc77ba4170d5fa3aa5ff00a24ee84a31d1d00591702e6a485154aea5b9
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,83 @@
1
+ # Copyright (c) 2023 M.J.N. Corino, The Netherlands
2
+ #
3
+ # This software is released under the MIT license.
4
+
5
+
6
+ module Wx
7
+
8
+ =begin
9
+ These constants are not documented in the wxWidgets interface headers
10
+ although they are referenced in various argument defaults which *are*
11
+ in the interface header declarations so.
12
+ =end
13
+
14
+ DEFAULT_DATE_TIME_FORMAT = '%c'
15
+ DEFAULT_TIME_SPAN_FORMAT = '%H:%M:%S'
16
+
17
+ CHOICE_NAME_STR = 'choice'
18
+ COLOUR_PICKER_CTRL_NAME_STR = 'colourpicker'
19
+ COLOUR_PICKER_WIDGET_NAME_STR = 'colourpickerwidget'
20
+ HYPERLINK_CTRL_NAME_STR = 'hyperlink'
21
+ PANEL_NAME_STR = 'panel'
22
+ LIST_BOX_NAME_STR = 'listBox'
23
+ FRAME_NAME_STR = 'frame'
24
+ STATUS_LINE_NAME_STR = 'status_line'
25
+ STATIC_BITMAP_NAME_STR = 'staticBitmap'
26
+ WEB_VIEW_NAME_STR = 'wxWebView'
27
+ ANIMATION_CTRL_NAME_STR = 'animationctrl'
28
+ TOOL_BAR_NAME_STR = 'toolbar'
29
+ TEXT_CTRL_NAME_STR = 'text'
30
+ LIST_CTRL_NAME_STR = 'listCtrl'
31
+ FILE_PICKER_CTRL_NAME_STR = 'filepicker'
32
+ FILE_PICKER_WIDGET_NAME_STR = 'filepickerwidget'
33
+ DIR_PICKER_CTRL_NAME_STR = 'dirpicker'
34
+ DIR_PICKER_WIDGET_NAME_STR = 'dirpickerwidget'
35
+ FILE_CTRL_NAME_STR = 'wxfilectrl'
36
+ FILE_SELECTOR_PROMPT_STR = 'Select a file'
37
+ STATIC_BOX_NAME_STR = 'groupBox'
38
+ BUTTON_NAME_STR = 'button'
39
+ RADIO_BOX_NAME_STR = 'radioBox'
40
+ STATIC_LINE_NAME_STR = 'staticLine'
41
+ RADIO_BUTTON_NAME_STR = 'radioButton'
42
+ BITMAP_RADIO_BUTTON_NAME_STR = 'radioButton'
43
+ GAUGE_NAME_STR = 'gauge'
44
+ DATA_VIEW_CTRL_NAME_STR = 'dataviewCtrl'
45
+ FONT_PICKER_CTRL_NAME_STR = 'fontpicker'
46
+ FONT_PICKER_WIDGET_NAME_STR = 'fontpickerwidget'
47
+ REARRANGE_LIST_NAME_STR = 'wxRearrangeList'
48
+ REARRANGE_DIALOG_NAME_STR = 'wxRearrangeDlg'
49
+ NOTEBOOK_NAME_STR = 'notebook'
50
+ CONTROL_NAME_STR = 'control'
51
+ SCROLL_BAR_NAME_STR = 'scrollBar'
52
+ STATUS_BAR_NAME_STR = 'statusBar'
53
+ SLIDER_NAME_STR = 'slider'
54
+ HEADER_CTRL_NAME_STR = 'wxHeaderCtrl'
55
+ BITMAP_COMBO_BOX_NAME_STR = 'bitmapComboBox'
56
+ CHECK_BOX_NAME_STR = 'check'
57
+ FILE_DIALOG_NAME_STR = 'filedlg'
58
+ ADD_REMOVE_CTRL_NAME_STR = 'wxAddRemoveCtrl'
59
+ STATIC_TEXT_NAME_STR = 'staticText'
60
+ COMBO_BOX_NAME_STR = 'comboBox'
61
+ SEARCH_CTRL_NAME_STR = 'searchCtrl'
62
+ TREE_CTRL_NAME_STR = 'treeCtrl'
63
+ DIALOG_NAME_STR = 'dialog'
64
+ COLLAPSIBLE_HEADER_CTRL_NAME_STR = 'collapsibleHeader'
65
+ COLLAPSIBLE_PANE_NAME_STR = 'collapsiblePane'
66
+ BANNER_WINDOW_NAME_STR = 'bannerwindow'
67
+ GRID_NAME_STR = 'grid'
68
+ TREE_LIST_CTRL_NAME_STR = 'wxTreeListCtrl'
69
+ HTML_LIST_BOX_NAME_STR = 'htmlListBox'
70
+ SIMPLE_HTML_LIST_BOX_NAME_STR = 'simpleHtmlListBox'
71
+ EDITABLE_LIST_BOX_NAME_STR = 'editableListBox'
72
+ V_LIST_BOX_NAME_STR = 'wxVListBox'
73
+
74
+ if Wx::PLATFORM == 'WXMSW'
75
+ # wxMSW only
76
+ MSW_HEADER_CTRL_NAME_STR = 'wxMSWHeaderCtrl'
77
+ end
78
+
79
+ PROPERTY_GRID_MANAGER_NAME_STR = 'wxPropertyGridManager'
80
+ PROPERTY_GRID_NAME_STR = 'wxPropertyGrid'
81
+ STC_NAME_STR = 'stcwindow'
82
+
83
+ end
@@ -676,6 +676,27 @@ class Wx::EvtHandler
676
676
  Wx::EVT_DIRPICKER_CHANGED,
677
677
  Wx::FileDirPickerEvent
678
678
  ] if Wx.const_defined?(:EVT_DIRPICKER_CHANGED)
679
+ # from wxFileCtrlEvent
680
+ self.register_event_type EventType[
681
+ 'evt_filectrl_fileactivated', 1,
682
+ Wx::EVT_FILECTRL_FILEACTIVATED,
683
+ Wx::FileCtrlEvent
684
+ ] if Wx.const_defined?(:EVT_FILECTRL_FILEACTIVATED)
685
+ self.register_event_type EventType[
686
+ 'evt_filectrl_selectionchanged', 1,
687
+ Wx::EVT_FILECTRL_SELECTIONCHANGED,
688
+ Wx::FileCtrlEvent
689
+ ] if Wx.const_defined?(:EVT_FILECTRL_SELECTIONCHANGED)
690
+ self.register_event_type EventType[
691
+ 'evt_filectrl_folderchanged', 1,
692
+ Wx::EVT_FILECTRL_FOLDERCHANGED,
693
+ Wx::FileCtrlEvent
694
+ ] if Wx.const_defined?(:EVT_FILECTRL_FOLDERCHANGED)
695
+ self.register_event_type EventType[
696
+ 'evt_filectrl_filterchanged', 1,
697
+ Wx::EVT_FILECTRL_FILTERCHANGED,
698
+ Wx::FileCtrlEvent
699
+ ] if Wx.const_defined?(:EVT_FILECTRL_FILTERCHANGED)
679
700
  # from wxListEvent
680
701
  self.register_event_type EventType[
681
702
  'evt_list_begin_drag', 1,
@@ -1015,6 +1036,7 @@ class Wx::EvtHandler
1015
1036
  Wx::EVT_HYPERLINK,
1016
1037
  Wx::HyperlinkEvent
1017
1038
  ] if Wx.const_defined?(:EVT_HYPERLINK)
1039
+ # from wxDialUpEvent
1018
1040
  # from wxCommandEvent
1019
1041
  self.register_event_type EventType[
1020
1042
  'evt_button', 1,
@@ -1302,6 +1324,7 @@ class Wx::EvtHandler
1302
1324
  # from wxColourPickerCtrl
1303
1325
  # from wxDirPickerCtrl
1304
1326
  # from wxFilePickerCtrl
1327
+ # from wxFileCtrl
1305
1328
  # from wxListCtrl
1306
1329
  # from wxHeaderCtrl
1307
1330
  self.register_event_type EventType[
@@ -1471,4 +1494,5 @@ class Wx::EvtHandler
1471
1494
  Wx::GenericDirCtrl
1472
1495
  ] if Wx.const_defined?(:EVT_DIRCTRL_FILEACTIVATED)
1473
1496
  # from wxHyperlinkCtrl
1497
+ # from wxDialUpManager
1474
1498
  end
data/lib/wx/doc/const.rb CHANGED
@@ -11,74 +11,74 @@ module Wx
11
11
  These constants are not documented in the wxWidgets interface headers
12
12
  although they are referenced in various argument defaults which *are*
13
13
  in the interface header declarations so we do want them included the
14
- wxRuby docs so the doc links work but we do not need them in the
15
- wxRuby implementation since these are internal to the C++ wrappers.
14
+ wxRuby docs so the doc links work.
16
15
  =end
17
16
 
18
- DefaultDateTimeFormat = '%c'
19
- DefaultTimeSpanFormat = '%H:%M:%S'
17
+ DEFAULT_DATE_TIME_FORMAT = '%c'
18
+ DEFAULT_TIME_SPAN_FORMAT = '%H:%M:%S'
20
19
 
21
- ChoiceNameStr = 'choice'
22
- ColourPickerCtrlNameStr = 'colourpicker'
23
- ColourPickerWidgetNameStr = 'colourpickerwidget'
24
- HyperlinkCtrlNameStr = 'hyperlink'
25
- PanelNameStr = 'panel'
26
- ListBoxNameStr = 'listBox'
27
- FrameNameStr = 'frame'
28
- StatusLineNameStr = 'status_line'
29
- StaticBitmapNameStr = 'staticBitmap'
30
- WebViewNameStr = 'wxWebView'
31
- AnimationCtrlNameStr = 'animationctrl'
32
- ToolBarNameStr = 'toolbar'
33
- TextCtrlNameStr = 'text'
34
- ListCtrlNameStr = 'listCtrl'
35
- FilePickerCtrlNameStr = 'filepicker'
36
- FilePickerWidgetNameStr = 'filepickerwidget'
37
- DirPickerCtrlNameStr = 'dirpicker'
38
- DirPickerWidgetNameStr = 'dirpickerwidget'
39
- FileCtrlNameStr = 'wxfilectrl'
40
- StaticBoxNameStr = 'groupBox'
41
- ButtonNameStr = 'button'
42
- RadioBoxNameStr = 'radioBox'
43
- StaticLineNameStr = 'staticLine'
44
- RadioButtonNameStr = 'radioButton'
45
- BitmapRadioButtonNameStr = 'radioButton'
46
- GaugeNameStr = 'gauge'
47
- DataViewCtrlNameStr = 'dataviewCtrl'
48
- FontPickerCtrlNameStr = 'fontpicker'
49
- FontPickerWidgetNameStr = 'fontpickerwidget'
50
- RearrangeListNameStr = 'wxRearrangeList'
51
- RearrangeDialogNameStr = 'wxRearrangeDlg'
52
- NotebookNameStr = 'notebook'
53
- ControlNameStr = 'control'
54
- ScrollBarNameStr = 'scrollBar'
55
- StatusBarNameStr = 'statusBar'
56
- SliderNameStr = 'slider'
57
- HeaderCtrlNameStr = 'wxHeaderCtrl'
58
- BitmapComboBoxNameStr = 'bitmapComboBox'
59
- CheckBoxNameStr = 'check'
60
- FileDialogNameStr = 'filedlg'
61
- AddRemoveCtrlNameStr = 'wxAddRemoveCtrl'
62
- StaticTextNameStr = 'staticText'
63
- ComboBoxNameStr = 'comboBox'
64
- SearchCtrlNameStr = 'searchCtrl'
65
- DirDialogNameStr = 'wxDirCtrl'
66
- TreeCtrlNameStr = 'treeCtrl'
67
- DialogNameStr = 'dialog'
68
- CollapsibleHeaderCtrlNameStr = 'collapsibleHeader'
69
- CollapsiblePaneNameStr = 'collapsiblePane'
70
- BannerWindowNameStr = 'bannerwindow'
71
- GridNameStr = 'grid'
72
- TreeListCtrlNameStr = 'wxTreeListCtrl'
73
- HtmlListBoxNameStr = 'htmlListBox'
74
- SimpleHtmlListBoxNameStr = 'simpleHtmlListBox'
75
- EditableListBoxNameStr = 'editableListBox'
76
- VListBoxNameStr = 'wxVListBox'
77
- CollapsiblePaneNameStr = 'collapsiblePane'
78
- MSWHeaderCtrlNameStr = 'wxMSWHeaderCtrl'
79
- PropertyGridManagerNameStr = 'wxPropertyGridManager'
80
- PropertyGridNameStr = 'wxPropertyGrid'
81
- STCNameStr = 'stcwindow'
82
- STCNameStr = 'stcwindow'
20
+ CHOICE_NAME_STR = 'choice'
21
+ COLOUR_PICKER_CTRL_NAME_STR = 'colourpicker'
22
+ COLOUR_PICKER_WIDGET_NAME_STR = 'colourpickerwidget'
23
+ HYPERLINK_CTRL_NAME_STR = 'hyperlink'
24
+ PANEL_NAME_STR = 'panel'
25
+ LIST_BOX_NAME_STR = 'listBox'
26
+ FRAME_NAME_STR = 'frame'
27
+ STATUS_LINE_NAME_STR = 'status_line'
28
+ STATIC_BITMAP_NAME_STR = 'staticBitmap'
29
+ WEB_VIEW_NAME_STR = 'wxWebView'
30
+ ANIMATION_CTRL_NAME_STR = 'animationctrl'
31
+ TOOL_BAR_NAME_STR = 'toolbar'
32
+ TEXT_CTRL_NAME_STR = 'text'
33
+ LIST_CTRL_NAME_STR = 'listCtrl'
34
+ FILE_PICKER_CTRL_NAME_STR = 'filepicker'
35
+ FILE_PICKER_WIDGET_NAME_STR = 'filepickerwidget'
36
+ DIR_PICKER_CTRL_NAME_STR = 'dirpicker'
37
+ DIR_PICKER_WIDGET_NAME_STR = 'dirpickerwidget'
38
+ FILE_CTRL_NAME_STR = 'wxfilectrl'
39
+ FILE_SELECTOR_PROMPT_STR = 'Select a file'
40
+ STATIC_BOX_NAME_STR = 'groupBox'
41
+ BUTTON_NAME_STR = 'button'
42
+ RADIO_BOX_NAME_STR = 'radioBox'
43
+ STATIC_LINE_NAME_STR = 'staticLine'
44
+ RADIO_BUTTON_NAME_STR = 'radioButton'
45
+ BITMAP_RADIO_BUTTON_NAME_STR = 'radioButton'
46
+ GAUGE_NAME_STR = 'gauge'
47
+ DATA_VIEW_CTRL_NAME_STR = 'dataviewCtrl'
48
+ FONT_PICKER_CTRL_NAME_STR = 'fontpicker'
49
+ FONT_PICKER_WIDGET_NAME_STR = 'fontpickerwidget'
50
+ REARRANGE_LIST_NAME_STR = 'wxRearrangeList'
51
+ REARRANGE_DIALOG_NAME_STR = 'wxRearrangeDlg'
52
+ NOTEBOOK_NAME_STR = 'notebook'
53
+ CONTROL_NAME_STR = 'control'
54
+ SCROLL_BAR_NAME_STR = 'scrollBar'
55
+ STATUS_BAR_NAME_STR = 'statusBar'
56
+ SLIDER_NAME_STR = 'slider'
57
+ HEADER_CTRL_NAME_STR = 'wxHeaderCtrl'
58
+ BITMAP_COMBO_BOX_NAME_STR = 'bitmapComboBox'
59
+ CHECK_BOX_NAME_STR = 'check'
60
+ FILE_DIALOG_NAME_STR = 'filedlg'
61
+ ADD_REMOVE_CTRL_NAME_STR = 'wxAddRemoveCtrl'
62
+ STATIC_TEXT_NAME_STR = 'staticText'
63
+ COMBO_BOX_NAME_STR = 'comboBox'
64
+ SEARCH_CTRL_NAME_STR = 'searchCtrl'
65
+ TREE_CTRL_NAME_STR = 'treeCtrl'
66
+ DIALOG_NAME_STR = 'dialog'
67
+ COLLAPSIBLE_HEADER_CTRL_NAME_STR = 'collapsibleHeader'
68
+ COLLAPSIBLE_PANE_NAME_STR = 'collapsiblePane'
69
+ BANNER_WINDOW_NAME_STR = 'bannerwindow'
70
+ GRID_NAME_STR = 'grid'
71
+ TREE_LIST_CTRL_NAME_STR = 'wxTreeListCtrl'
72
+ HTML_LIST_BOX_NAME_STR = 'htmlListBox'
73
+ SIMPLE_HTML_LIST_BOX_NAME_STR = 'simpleHtmlListBox'
74
+ EDITABLE_LIST_BOX_NAME_STR = 'editableListBox'
75
+ V_LIST_BOX_NAME_STR = 'wxVListBox'
76
+
77
+ # wxMSW only
78
+ MSW_HEADER_CTRL_NAME_STR = 'wxMSWHeaderCtrl'
79
+
80
+ PROPERTY_GRID_MANAGER_NAME_STR = 'wxPropertyGridManager'
81
+ PROPERTY_GRID_NAME_STR = 'wxPropertyGrid'
82
+ STC_NAME_STR = 'stcwindow'
83
83
 
84
84
  end
data/lib/wx/doc/event.rb CHANGED
@@ -27,10 +27,4 @@ module Wx
27
27
 
28
28
  end
29
29
 
30
- # Find a window with the focus, that is also a descendant of the given window.
31
- # This is used to determine the window to initially send commands to.
32
- # @param [Wx::Window] ancestor
33
- # @return [Wx::Window,nil] descendant window of ancestor with focus
34
- def self.find_focus_descendant(ancestor) end
35
-
36
30
  end
@@ -190,21 +190,21 @@ module Wx
190
190
  # # else: cancelled by user
191
191
  # </code>
192
192
  # @return [String] selected file name
193
- def file_selector(message, default_path='', default_filename='', default_extension='', wildcard='',
193
+ def self.file_selector(message, default_path='', default_filename='', default_extension='', wildcard='',
194
194
  flags=0, parent=nil, x=Wx::DEFAULT_COORD, y=Wx::DEFAULT_COORD) end
195
195
 
196
196
  # An extended version of {Wx::file_selector}.
197
197
  # @return [String] selected file name
198
- def file_selector_ex(message='Select a file', default_path='', default_filename='', indexDefaultExtension=nil,
198
+ def self.file_selector_ex(message='Select a file', default_path='', default_filename='', indexDefaultExtension=nil,
199
199
  wildcard='*', flags=0, parent=nil, x=Wx::DEFAULT_COORD, y=Wx::DEFAULT_COORD) end
200
200
 
201
201
  # Shows a file dialog asking the user for a file name for saving a file.
202
202
  # @see Wx::file_selector, Wx::FileDialog
203
- def load_file_selector(what, extension, default_name='', parent=nil) end
203
+ def self.load_file_selector(what, extension, default_name='', parent=nil) end
204
204
 
205
205
  # Shows a file dialog asking the user for a file name for opening a file.
206
206
  # @see Wx::file_selector, Wx::FileDialog
207
- def save_file_selector(what, extension, default_name='', parent=nil) end
207
+ def self.save_file_selector(what, extension, default_name='', parent=nil) end
208
208
 
209
209
  # @!endgroup
210
210
 
@@ -213,14 +213,14 @@ module Wx
213
213
  # Returns true if the ID is in the list of recognized stock actions
214
214
  # @param [Integer] id ID to check
215
215
  # @return [true,false]
216
- def is_stock_id(id) end
216
+ def self.is_stock_id(id) end
217
217
 
218
218
  # Returns true if the label is empty or label of a stock button with
219
219
  # given ID
220
220
  # @param [Integer] id ID to check
221
221
  # @param [String] label to check
222
222
  # @return [true,false]
223
- def is_stock_label(id, label) end
223
+ def self.is_stock_label(id, label) end
224
224
 
225
225
  STOCK_NOFLAGS = 0
226
226
 
@@ -236,13 +236,13 @@ module Wx
236
236
  # @param [Integer] id Given id of the wxMenuItem, wxButton, wxToolBar tool, etc.
237
237
  # @param [Integer] flags Combination of the elements of STOCK_xxx flags.
238
238
  # @return [String]
239
- def get_stock_label(id, flags = Wx::STOCK_WITH_MNEMONIC) end
239
+ def self.get_stock_label(id, flags = Wx::STOCK_WITH_MNEMONIC) end
240
240
 
241
241
  # Returns the accelerator that should be used for given stock UI element
242
242
  # (e.g. "Ctrl+X" for Wx::ID_CUT)
243
243
  # @param [Integer] id stock UI element ID
244
244
  # @return [Wx::AcceleratorEntry]
245
- def get_stock_accelerator(id) end
245
+ def self.get_stock_accelerator(id) end
246
246
 
247
247
  STOCK_MENU = 0
248
248
 
@@ -250,7 +250,7 @@ module Wx
250
250
  # @param [Integer] id stock UI element ID
251
251
  # @param [Integer] client context (currently only STOCK_MENU)
252
252
  # @return [String]
253
- def get_stock_help_string(id, client = Wx::STOCK_MENU) end
253
+ def self.get_stock_help_string(id, client = Wx::STOCK_MENU) end
254
254
 
255
255
  # @!endgroup
256
256
 
@@ -20,7 +20,7 @@ module Wx
20
20
  # Default constructor.
21
21
  # Use {Wx::ActivityIndicator#create} to really create the control after using this constructor.
22
22
  # @return [Wx::ActivityIndicator]
23
- # @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("activityindicator"))
23
+ # @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("ACTIVITYINDICATOR"))
24
24
  # Constructor fully creating the control.
25
25
  # The arguments have the usual meanings and only parent is typically required.
26
26
  # @param parent [Wx::Window]
@@ -41,7 +41,7 @@ module Wx
41
41
  # @param style [Integer]
42
42
  # @param name [String]
43
43
  # @return [Boolean]
44
- def create(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("activityindicator")) end
44
+ def create(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("ACTIVITYINDICATOR")) end
45
45
 
46
46
  # Starts animation of the indicator.
47
47
  # Does nothing if the indicator is already running.
@@ -42,7 +42,7 @@ module Wx
42
42
  # @param style [Integer]
43
43
  # @param name [String]
44
44
  # @return [Wx::AnimationCtrl]
45
- def initialize(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::AnimationCtrlNameStr) end
45
+ def initialize(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::ANIMATION_CTRL_NAME_STR) end
46
46
 
47
47
  # Creates the control with the given anim animation.
48
48
  # After control creation you must explicitly call {Wx::AnimationCtrl#play} to start to play the animation. Until that function won't be called, the first frame of the animation is displayed.
@@ -56,7 +56,7 @@ module Wx
56
56
  # @param style [Integer] The window style, see {Wx::AC_}* flags.
57
57
  # @param name [String] Control name.
58
58
  # @return [Boolean]
59
- def create(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::AnimationCtrlNameStr) end
59
+ def create(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::ANIMATION_CTRL_NAME_STR) end
60
60
 
61
61
  # Create a new animation object compatible with this control.
62
62
  # A {Wx::Animation} object created using this function is always compatible with controls of this type, see {Wx::Animation#is_compatible_with}.
@@ -25,7 +25,7 @@ module Wx
25
25
  alias_method :desktop_environment, :get_desktop_environment
26
26
 
27
27
  # Returns the {Wx::StandardPaths} object for the application.
28
- # It's normally the same for {Wx::Base} and {Wx::GUI} except in the case of {Wx::Mac} and {Wx::Cocoa}.
28
+ # It's normally the same for {Wx::Base} and {Wx::GUI} except in the case of wxMac and {Wx::Cocoa}.
29
29
  # The returned reference is to a {Wx::StandardPathsBase} class but you can consider it to be equivalent to {Wx::StandardPaths} (which is documented).
30
30
  # @return [Wx::StandardPaths]
31
31
  def get_standard_paths; end
@@ -341,7 +341,7 @@ module Wx
341
341
  #
342
342
  # - {Wx::ART_NEW_DIR}
343
343
  #
344
- # - {Wx::ART_FOLDER}
344
+ # - {Wx::ArtLocator::ART_FOLDER}
345
345
  #
346
346
  # - {Wx::ART_FOLDER_OPEN}
347
347
  #
@@ -13,7 +13,7 @@ module Wx::AUI
13
13
 
14
14
  # @overload initialize()
15
15
  # @return [Wx::AUI::AuiMDIChildFrame]
16
- # @overload initialize(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr)
16
+ # @overload initialize(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR)
17
17
  # @param parent [Wx::AUI::AuiMDIParentFrame]
18
18
  # @param winid [Integer]
19
19
  # @param title [String]
@@ -32,7 +32,7 @@ module Wx::AUI
32
32
  # @param style [Integer]
33
33
  # @param name [String]
34
34
  # @return [Boolean]
35
- def create(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr) end
35
+ def create(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR) end
36
36
 
37
37
  # @param menuBar [Wx::MenuBar]
38
38
  # @return [void]
@@ -13,7 +13,7 @@ module Wx::AUI
13
13
 
14
14
  # @overload initialize()
15
15
  # @return [Wx::AUI::AuiMDIParentFrame]
16
- # @overload initialize(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FrameNameStr)
16
+ # @overload initialize(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FRAME_NAME_STR)
17
17
  # @param parent [Wx::Window]
18
18
  # @param winid [Integer]
19
19
  # @param title [String]
@@ -32,7 +32,7 @@ module Wx::AUI
32
32
  # @param style [Integer]
33
33
  # @param name [String]
34
34
  # @return [Boolean]
35
- def create(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FrameNameStr) end
35
+ def create(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FRAME_NAME_STR) end
36
36
 
37
37
  # @param provider [Wx::AUI::AuiTabArt]
38
38
  # @return [void]
@@ -43,7 +43,7 @@ module Wx
43
43
  # Default constructor, use {Wx::BannerWindow#create} later.
44
44
  # This constructor is only used for two-step creation, if possible, prefer using the constructor below directly instead of using this one and calling {Wx::BannerWindow#create} later.
45
45
  # @return [Wx::BannerWindow]
46
- # @overload initialize(parent, winid, dir=Wx::Direction::LEFT, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::BannerWindowNameStr)
46
+ # @overload initialize(parent, winid, dir=Wx::Direction::LEFT, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::BANNER_WINDOW_NAME_STR)
47
47
  # Full constructor provided for consistency with the other classes only.
48
48
  # Prefer to use the shorter constructor documented above. You should rarely, if ever, need to use non-default values for any other parameters: as the banner window doesn't generate any events, its identifier is not particularly useful; its position and size will be almost always managed by the containing sizer and it doesn't have any specific styles. So only the parent and the banner direction need to be specified.
49
49
  # @param parent [Wx::Window]
@@ -66,7 +66,7 @@ module Wx
66
66
  # @param style [Integer]
67
67
  # @param name [String]
68
68
  # @return [Boolean]
69
- def create(parent, winid, dir=Wx::Direction::LEFT, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::BannerWindowNameStr) end
69
+ def create(parent, winid, dir=Wx::Direction::LEFT, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::BANNER_WINDOW_NAME_STR) end
70
70
 
71
71
  # Provide the bitmap to use as background.
72
72
  # Notice that ideally the bitmap should be big enough to always cover the entire banner, e.g. for a horizontal banner with {Wx::Direction::TOP} style its width should be bigger than any reasonable window size. Otherwise the bitmap is extended to cover the entire window area with a solid colour taken from the bitmap pixel on the edge in which direction the extension occurs so all bitmap pixels on this edge (top for {Wx::Direction::LEFT}, right for {Wx::Direction::TOP} and {Wx::Direction::BOTTOM} and bottom for {Wx::Direction::RIGHT}) should have the same colour to avoid jarring discontinuity.
@@ -19,7 +19,7 @@ module Wx
19
19
  #
20
20
  # - wxMSW supports BMP and ICO files, BMP and ICO resources;
21
21
  # - wxGTK supports any file supported by gdk-pixbuf;
22
- # - {Wx::Mac} supports PICT resources;
22
+ # - wxMac supports PICT resources;
23
23
  # - wxX11 supports XPM files, XPM data, XBM data;
24
24
  #
25
25
  # In addition, {Wx::Bitmap} can load and save all formats that {Wx::Image} can; see {Wx::Image} for more info. Of course, you must have loaded the {Wx::Image} handlers (see {init_all_image_handlers} and {Wx::Image.add_handler}). Note that all available {Wx::BitmapHandlers} for a given wxWidgets port are automatically loaded at startup so you won't need to use {Wx::Bitmap.add_handler}.
@@ -522,7 +522,7 @@ module Wx
522
522
  # @return [Wx::BitmapBundle]
523
523
  def self.from_image(image) end
524
524
 
525
- # @overload self.from_files(path, filename, extension=("png"))
525
+ # @overload self.from_files(path, filename, extension=("PNG"))
526
526
  # Create a bundle from bitmaps stored as files.
527
527
  # Looking in path for files using filename as prefix and potentionally a suffix with scale, e.g. "_2x" or "@2x"
528
528
  # @param path [String] Path of the directory containing the files
@@ -42,7 +42,7 @@ module Wx
42
42
  # @overload initialize()
43
43
  # Default ctor.
44
44
  # @return [Wx::BitmapButton]
45
- # @overload initialize(parent, id, bitmap, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ButtonNameStr)
45
+ # @overload initialize(parent, id, bitmap, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR)
46
46
  # Constructor, creating and showing a button.
47
47
  # The bitmap parameter is normally the only bitmap you need to provide, and wxWidgets will draw the button correctly in its different states. If you want more control, call any of the functions {Wx::BitmapButton#set_bitmap_pressed}, {Wx::BitmapButton#set_bitmap_focus}, {Wx::BitmapButton#set_bitmap_disabled}.
48
48
  # @see Wx::BitmapButton#create
@@ -69,7 +69,7 @@ module Wx
69
69
  # @param validator [Wx::Validator]
70
70
  # @param name [String]
71
71
  # @return [Boolean]
72
- def create(parent, id, bitmap, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ButtonNameStr) end
72
+ def create(parent, id, bitmap, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR) end
73
73
 
74
74
  # Creation function for two-step creation of "Close" button.
75
75
  # It is usually not necessary to use this function directly as {Wx::BitmapButton.new_close_button} is more convenient, but, if required, it can be called on a default-constructed {Wx::BitmapButton} object to achieve the same effect.
@@ -50,7 +50,7 @@ module Wx
50
50
  # @overload initialize()
51
51
  # Default ctor.
52
52
  # @return [Wx::BitmapComboBox]
53
- # @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BitmapComboBoxNameStr)
53
+ # @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR)
54
54
  # Constructor, creating and showing a combobox.
55
55
  #
56
56
  # @see Wx::BitmapComboBox#create
@@ -65,7 +65,7 @@ module Wx
65
65
  # @param validator [Wx::Validator] Validator which can be used for additional data checks.
66
66
  # @param name [String] Control name.
67
67
  # @return [Wx::BitmapComboBox]
68
- # @overload initialize(parent, id, value, pos, size, choices, style, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BitmapComboBoxNameStr)
68
+ # @overload initialize(parent, id, value, pos, size, choices, style, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR)
69
69
  # Constructor, creating and showing a combobox.
70
70
  #
71
71
  # @see Wx::BitmapComboBox#create
@@ -95,7 +95,7 @@ module Wx
95
95
  # @return [Integer]
96
96
  def append(*args) end
97
97
 
98
- # @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BitmapComboBoxNameStr)
98
+ # @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR)
99
99
  # Creates the combobox for two-step construction.
100
100
  # @param parent [Wx::Window]
101
101
  # @param id [Integer]
@@ -107,7 +107,7 @@ module Wx
107
107
  # @param validator [Wx::Validator]
108
108
  # @param name [String]
109
109
  # @return [Boolean]
110
- # @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BitmapComboBoxNameStr)
110
+ # @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR)
111
111
  # Creates the combobox for two-step construction.
112
112
  # @param parent [Wx::Window]
113
113
  # @param id [Integer]
@@ -64,7 +64,7 @@ module Wx
64
64
  # @overload initialize()
65
65
  # Default ctor.
66
66
  # @return [Wx::Button]
67
- # @overload initialize(parent, id, label=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ButtonNameStr)
67
+ # @overload initialize(parent, id, label=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR)
68
68
  # Constructor, creating and showing a button.
69
69
  # The preferred way to create standard buttons is to use default value of label. If no label is supplied and id is one of standard IDs from this list, a standard label will be used. In other words, if you use a predefined {Wx::ID_XXX} constant, just omit the label completely rather than specifying it. In particular, help buttons (the ones with id of {Wx::StandardID::ID_HELP}) under macOS can't display any label at all and while {Wx::Button} will detect if the standard "Help" label is used and ignore it, using any other label will prevent the button from correctly appearing as a help button and so should be avoided.
70
70
  # In addition to that, the button will be decorated with stock icons under GTK+ 2.
@@ -92,7 +92,7 @@ module Wx
92
92
  # @param validator [Wx::Validator]
93
93
  # @param name [String]
94
94
  # @return [Boolean]
95
- def create(parent, id, label=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ButtonNameStr) end
95
+ def create(parent, id, label=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR) end
96
96
 
97
97
  # Returns true if an authentication needed symbol is displayed on the button.
98
98
  # This method always returns false if the platform is not Windows Vista or newer.
@@ -86,7 +86,7 @@ module Wx
86
86
  # @overload initialize()
87
87
  # Default constructor.
88
88
  # @return [Wx::CalendarCtrl]
89
- # @overload initialize(parent, id, date=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CAL_SHOW_HOLIDAYS, name=Wx::CalendarNameStr)
89
+ # @overload initialize(parent, id, date=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CAL_SHOW_HOLIDAYS, name=Wx::CALENDAR_NAME_STR)
90
90
  # Does the same as {Wx::CalendarCtrl#create} method.
91
91
  # @param parent [Wx::Window]
92
92
  # @param id [Integer]
@@ -108,7 +108,7 @@ module Wx
108
108
  # @param style [Integer]
109
109
  # @param name [String]
110
110
  # @return [Boolean]
111
- def create(parent, id, date=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CAL_SHOW_HOLIDAYS, name=Wx::CalendarNameStr) end
111
+ def create(parent, id, date=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CAL_SHOW_HOLIDAYS, name=Wx::CALENDAR_NAME_STR) end
112
112
 
113
113
  # This function should be used instead of changing {Wx::CAL_SHOW_HOLIDAYS} style bit directly.
114
114
  # It enables or disables the special highlighting of the holidays.