wxruby3 0.9.0.pre.beta.11-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.
- checksums.yaml +4 -4
- data/INSTALL.md +85 -0
- data/README.md +2 -0
- data/assets/logo.png +0 -0
- data/assets/logo.svg +170 -0
- data/assets/logo.xcf +0 -0
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/core/array_ext.rb +26 -0
- data/lib/wx/core/art_locator.rb +92 -0
- data/lib/wx/core/artprovider.rb +1 -1
- data/lib/wx/core/bitmap.rb +90 -53
- data/lib/wx/core/cursor.rb +12 -0
- data/lib/wx/core/dataformat.rb +3 -1
- data/lib/wx/core/dc.rb +76 -52
- data/lib/wx/core/enum.rb +4 -0
- data/lib/wx/core/event.rb +38 -5
- data/lib/wx/core/events/evt_list.rb +3 -2
- data/lib/wx/core/evthandler.rb +64 -23
- data/lib/wx/core/icon.rb +50 -35
- data/lib/wx/core/id_helper.rb +32 -0
- data/lib/wx/core/image.rb +63 -53
- data/lib/wx/core/point.rb +14 -0
- data/lib/wx/core/real_point.rb +15 -1
- data/lib/wx/core/rect.rb +42 -7
- data/lib/wx/core/region_iterator.rb +37 -0
- data/lib/wx/core/size.rb +20 -0
- data/lib/wx/core/window.rb +8 -31
- data/lib/wx/doc/array_ext.rb +27 -0
- data/lib/wx/doc/art_locator.rb +57 -0
- data/lib/wx/doc/bitmap.rb +27 -0
- data/lib/wx/doc/clipboard.rb +12 -0
- data/lib/wx/doc/const.rb +77 -0
- data/lib/wx/doc/cursor.rb +16 -0
- data/lib/wx/doc/data_object.rb +1 -2
- data/lib/wx/doc/dc.rb +63 -46
- data/lib/wx/doc/event.rb +24 -0
- data/lib/wx/doc/events.rb +14 -0
- data/lib/wx/doc/evthandler.rb +24 -3
- data/lib/wx/doc/extra/00_starting.md +1 -1
- data/lib/wx/doc/extra/06_geometry.md +10 -4
- data/lib/wx/doc/extra/10_art.md +105 -0
- data/lib/wx/doc/gc_dc.rb +21 -0
- data/lib/wx/doc/gdi_common.rb +122 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -4
- data/lib/wx/doc/gen/animation.rb +3 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +4 -4
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_manager.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_notebook.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +6 -6
- data/lib/wx/doc/gen/bitmap.rb +1 -1
- data/lib/wx/doc/gen/bitmap_button.rb +2 -2
- data/lib/wx/doc/gen/book_ctrl_base.rb +4 -4
- data/lib/wx/doc/gen/brush.rb +1 -1
- data/lib/wx/doc/gen/button.rb +2 -2
- data/lib/wx/doc/gen/calendar_ctrl.rb +3 -3
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/check_box.rb +2 -2
- data/lib/wx/doc/gen/check_list_box.rb +3 -3
- data/lib/wx/doc/gen/choice.rb +2 -2
- data/lib/wx/doc/gen/choicebook.rb +2 -2
- data/lib/wx/doc/gen/collapsible_pane.rb +2 -2
- data/lib/wx/doc/gen/colour.rb +1 -3
- data/lib/wx/doc/gen/colour_dialog.rb +1 -2
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/combo_box.rb +4 -4
- data/lib/wx/doc/gen/context_help_button.rb +1 -1
- data/lib/wx/doc/gen/control.rb +3 -3
- data/lib/wx/doc/gen/core.rb +2 -2
- data/lib/wx/doc/gen/data_format.rb +1 -1
- data/lib/wx/doc/gen/data_object.rb +6 -6
- data/lib/wx/doc/gen/date_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/dc.rb +9 -9
- data/lib/wx/doc/gen/defs.rb +0 -4
- data/lib/wx/doc/gen/dialog.rb +3 -3
- data/lib/wx/doc/gen/dir_dialog.rb +2 -4
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/drag_drop.rb +13 -1
- data/lib/wx/doc/gen/editable_list_box.rb +2 -2
- data/lib/wx/doc/gen/event.rb +0 -1
- data/lib/wx/doc/gen/event_list.rb +18 -16
- data/lib/wx/doc/gen/events.rb +87 -2
- data/lib/wx/doc/gen/ext_help_controller.rb +2 -2
- data/lib/wx/doc/gen/file_dialog.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/font.rb +6 -6
- data/lib/wx/doc/gen/font_dialog.rb +1 -2
- data/lib/wx/doc/gen/font_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/frame.rb +5 -5
- data/lib/wx/doc/gen/fs_file.rb +2 -2
- data/lib/wx/doc/gen/gauge.rb +2 -2
- data/lib/wx/doc/gen/gdi_common.rb +18 -21
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +2 -2
- data/lib/wx/doc/gen/graphics_context.rb +4 -4
- data/lib/wx/doc/gen/graphics_object.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +7 -7
- data/lib/wx/doc/gen/help_controller.rb +1 -1
- data/lib/wx/doc/gen/html/html_cell.rb +4 -4
- data/lib/wx/doc/gen/html/html_easy_printing.rb +6 -6
- data/lib/wx/doc/gen/html/html_help_controller.rb +6 -6
- data/lib/wx/doc/gen/html/html_help_frame.rb +2 -2
- data/lib/wx/doc/gen/html/html_help_window.rb +6 -6
- data/lib/wx/doc/gen/html/html_list_box.rb +6 -6
- data/lib/wx/doc/gen/html/html_printout.rb +4 -4
- data/lib/wx/doc/gen/html/html_window.rb +4 -4
- data/lib/wx/doc/gen/icon.rb +6 -6
- data/lib/wx/doc/gen/image.rb +7 -7
- data/lib/wx/doc/gen/list_box.rb +4 -4
- data/lib/wx/doc/gen/list_ctrl.rb +5 -5
- data/lib/wx/doc/gen/listbook.rb +2 -2
- data/lib/wx/doc/gen/locale.rb +8 -8
- data/lib/wx/doc/gen/log.rb +2 -2
- data/lib/wx/doc/gen/mdi_frame.rb +5 -5
- data/lib/wx/doc/gen/media_ctrl.rb +4 -4
- data/lib/wx/doc/gen/menu.rb +12 -12
- data/lib/wx/doc/gen/menu_item.rb +1 -1
- data/lib/wx/doc/gen/message_dialog.rb +2 -4
- data/lib/wx/doc/gen/mini_frame.rb +2 -2
- data/lib/wx/doc/gen/notebook.rb +3 -3
- data/lib/wx/doc/gen/number_entry_dialog.rb +0 -1
- data/lib/wx/doc/gen/object.rb +0 -1
- data/lib/wx/doc/gen/panel.rb +2 -2
- data/lib/wx/doc/gen/pen.rb +2 -2
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +1 -1
- data/lib/wx/doc/gen/pg/pg_cell.rb +1 -1
- data/lib/wx/doc/gen/pg/pg_properties.rb +20 -20
- data/lib/wx/doc/gen/pg/pg_property.rb +12 -12
- data/lib/wx/doc/gen/pg/property_grid.rb +3 -3
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +14 -14
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +3 -3
- data/lib/wx/doc/gen/pg/property_grid_page.rb +2 -2
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +2 -2
- data/lib/wx/doc/gen/popup_window.rb +3 -3
- data/lib/wx/doc/gen/property_sheet_dialog.rb +3 -3
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/printer.rb +1 -1
- data/lib/wx/doc/gen/radio_box.rb +4 -4
- data/lib/wx/doc/gen/radio_button.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +12 -12
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +11 -11
- data/lib/wx/doc/gen/region.rb +1 -1
- data/lib/wx/doc/gen/region_iterator.rb +76 -0
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +10 -10
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +19 -19
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +4 -4
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +6 -6
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
- data/lib/wx/doc/gen/sash_event.rb +1 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +2 -2
- data/lib/wx/doc/gen/sash_window.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +150 -0
- data/lib/wx/doc/gen/scrolled_canvas.rb +2 -2
- data/lib/wx/doc/gen/scrolled_control.rb +2 -2
- data/lib/wx/doc/gen/scrolled_window.rb +2 -2
- data/lib/wx/doc/gen/simplebook.rb +2 -2
- data/lib/wx/doc/gen/sizer.rb +3 -3
- data/lib/wx/doc/gen/slider.rb +2 -2
- data/lib/wx/doc/gen/spin_button.rb +2 -2
- data/lib/wx/doc/gen/spin_ctrl.rb +2 -2
- data/lib/wx/doc/gen/splash_screen.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +2 -2
- data/lib/wx/doc/gen/static_bitmap.rb +2 -2
- data/lib/wx/doc/gen/static_box.rb +4 -4
- data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
- data/lib/wx/doc/gen/static_line.rb +2 -2
- data/lib/wx/doc/gen/static_text.rb +2 -2
- data/lib/wx/doc/gen/status_bar.rb +2 -2
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +3 -3
- data/lib/wx/doc/gen/task_bar_icon.rb +2 -2
- data/lib/wx/doc/gen/text_attr.rb +3 -3
- data/lib/wx/doc/gen/text_ctrl.rb +3 -3
- data/lib/wx/doc/gen/text_entry_dialog.rb +6 -8
- data/lib/wx/doc/gen/text_validator.rb +1 -1
- data/lib/wx/doc/gen/time_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/tip_provider.rb +1 -3
- data/lib/wx/doc/gen/toggle_button.rb +2 -2
- data/lib/wx/doc/gen/tool_bar.rb +10 -10
- data/lib/wx/doc/gen/toolbook.rb +2 -2
- data/lib/wx/doc/gen/top_level_window.rb +4 -4
- data/lib/wx/doc/gen/tree_ctrl.rb +4 -4
- data/lib/wx/doc/gen/treebook.rb +2 -2
- data/lib/wx/doc/gen/utils.rb +5 -42
- data/lib/wx/doc/gen/v_list_box.rb +2 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
- data/lib/wx/doc/gen/variant.rb +10 -10
- data/lib/wx/doc/gen/window.rb +9 -14
- data/lib/wx/doc/gen/wizard.rb +2 -2
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/xml_node.rb +2 -2
- data/lib/wx/doc/gen/xml_resource.rb +3 -3
- data/lib/wx/doc/graphics_context.rb +42 -0
- data/lib/wx/doc/icon.rb +18 -0
- data/lib/wx/doc/id_helper.rb +25 -0
- data/lib/wx/doc/image.rb +33 -0
- data/lib/wx/doc/region_iterator.rb +31 -0
- data/lib/wx/doc/scaled_dc.rb +1 -0
- data/lib/wx/doc/window.rb +18 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/cmd/sampler.rb +3 -21
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/lib/config.rb +4 -4
- data/samples/art/wxruby-128x128.png +0 -0
- data/samples/art/wxruby-256x256.png +0 -0
- data/samples/art/wxruby-64x64.png +0 -0
- data/samples/art/wxruby.ico +0 -0
- data/samples/art/wxruby.png +0 -0
- data/samples/drawing/graphics_drawing.rb +1 -2
- data/samples/propgrid/propgrid.rb +65 -65
- data/samples/sample.xpm +246 -470
- data/samples/treectrl/treectrl.rb +1 -1
- data/tests/art/my_art/sample.xpm +251 -0
- data/tests/art/sample3.xpm +251 -0
- data/tests/art/test_art/bitmap/sample.xpm +251 -0
- data/tests/art/test_art/bitmap/wxruby.bmp +0 -0
- data/tests/art/test_art/bitmap/wxruby.png +0 -0
- data/tests/art/test_art/bitmap/wxruby.xpm +251 -0
- data/tests/art/test_art/cursor/wxruby.bmp +0 -0
- data/tests/art/test_art/icon/sample.xpm +251 -0
- data/tests/art/test_art/icon/wxruby.ico +0 -0
- data/tests/art/test_art/icon/wxruby.png +0 -0
- data/tests/art/test_art/image/sample.xpm +251 -0
- data/tests/art/test_art/image/wxruby.jpg +0 -0
- data/tests/art/test_art/image/wxruby.png +0 -0
- data/tests/art/test_art/sample2.xpm +251 -0
- data/tests/test_art.rb +91 -0
- data/tests/test_clipboard.rb +35 -0
- data/tests/test_dc.rb +70 -0
- data/tests/test_events.rb +12 -0
- data/tests/test_geometry.rb +13 -0
- metadata +48 -5
data/lib/wx/doc/gen/list_ctrl.rb
CHANGED
@@ -414,7 +414,7 @@ module Wx
|
|
414
414
|
# @overload initialize()
|
415
415
|
# Default constructor.
|
416
416
|
# @return [ListCtrl]
|
417
|
-
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
417
|
+
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr)
|
418
418
|
# Constructor, creating and showing a list control.
|
419
419
|
#
|
420
420
|
# @see Wx::ListCtrl#create
|
@@ -435,7 +435,7 @@ module Wx
|
|
435
435
|
# @param format [ListColumnFormat]
|
436
436
|
# @param width [Integer]
|
437
437
|
# @return [Integer]
|
438
|
-
def append_column(heading, format=Wx::LIST_FORMAT_LEFT, width=-1) end
|
438
|
+
def append_column(heading, format=Wx::ListColumnFormat::LIST_FORMAT_LEFT, width=-1) end
|
439
439
|
|
440
440
|
# Arranges the items in icon or small icon view.
|
441
441
|
# This only has effect on Win32. flag is one of:
|
@@ -459,7 +459,7 @@ module Wx
|
|
459
459
|
# @param validator [Wx::Validator]
|
460
460
|
# @param name [String]
|
461
461
|
# @return [true,false]
|
462
|
-
def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
462
|
+
def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr) end
|
463
463
|
|
464
464
|
# Delete all columns in the list control.
|
465
465
|
# true if all columns were successfully deleted, false otherwise.
|
@@ -771,7 +771,7 @@ module Wx
|
|
771
771
|
# @param col [Integer]
|
772
772
|
# @param info [Wx::ListItem]
|
773
773
|
# @return [Integer]
|
774
|
-
# @overload insert_column(col, heading, format=Wx::LIST_FORMAT_LEFT, width=Wx::LIST_AUTOSIZE)
|
774
|
+
# @overload insert_column(col, heading, format=Wx::ListColumnFormat::LIST_FORMAT_LEFT, width=Wx::LIST_AUTOSIZE)
|
775
775
|
# For report view mode (only), inserts a column.
|
776
776
|
# Insert a new column in the list control in report view mode at the given position specifying its most common attributes.
|
777
777
|
# Notice that to set the image for the column you need to use InsertColumn(long, const wxListItem&) overload and specify {Wx::LIST_MASK_IMAGE} in the item mask.
|
@@ -1464,7 +1464,7 @@ module Wx
|
|
1464
1464
|
# @overload initialize()
|
1465
1465
|
# Default constructor.
|
1466
1466
|
# @return [ListView]
|
1467
|
-
# @overload initialize(parent, winid=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_REPORT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
1467
|
+
# @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)
|
1468
1468
|
# Constructor, creating and showing a listview control.
|
1469
1469
|
#
|
1470
1470
|
# @see Wx::ListView#create
|
data/lib/wx/doc/gen/listbook.rb
CHANGED
@@ -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=
|
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=
|
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]
|
data/lib/wx/doc/gen/locale.rb
CHANGED
@@ -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=
|
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=
|
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=
|
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=
|
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.
|
data/lib/wx/doc/gen/log.rb
CHANGED
@@ -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::
|
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::
|
407
|
+
def initialize(ostr=nil, conv=Wx::ConvWhateverWorks) end
|
408
408
|
|
409
409
|
end # LogStream
|
410
410
|
|
data/lib/wx/doc/gen/mdi_frame.rb
CHANGED
@@ -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::
|
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::
|
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::
|
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::
|
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=
|
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=
|
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::
|
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.
|
data/lib/wx/doc/gen/menu.rb
CHANGED
@@ -52,7 +52,7 @@ module Wx
|
|
52
52
|
# @return [Menu]
|
53
53
|
def initialize(*args) end
|
54
54
|
|
55
|
-
# @overload append(id, item=
|
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=
|
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=
|
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=
|
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=
|
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=
|
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=
|
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=
|
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=
|
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=
|
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=
|
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=
|
397
|
+
def prepend_radio_item(id, item, helpString=('')) end
|
398
398
|
|
399
399
|
# Inserts a separator at position 0.
|
400
400
|
#
|
data/lib/wx/doc/gen/menu_item.rb
CHANGED
@@ -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=
|
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::
|
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::
|
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
|
|
data/lib/wx/doc/gen/notebook.rb
CHANGED
@@ -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::
|
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::
|
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]
|
data/lib/wx/doc/gen/object.rb
CHANGED
@@ -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
|
data/lib/wx/doc/gen/panel.rb
CHANGED
@@ -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::
|
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::
|
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
|
#
|
data/lib/wx/doc/gen/pen.rb
CHANGED
@@ -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]
|