wxruby3 0.9.3-x64-mingw-ucrt → 0.9.5-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +1 -1
  3. data/README.md +2 -2
  4. data/ext/wxbase32u_gcc_custom.dll +0 -0
  5. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  6. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  7. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  19. data/lib/wx/core/book_ctrl_base.rb +16 -0
  20. data/lib/wx/core/combo_ctrl.rb +171 -0
  21. data/lib/wx/core/config.rb +454 -83
  22. data/lib/wx/core/notebook.rb +10 -8
  23. data/lib/wx/core/peristent_object.rb +15 -0
  24. data/lib/wx/core/persistence_manager.rb +39 -0
  25. data/lib/wx/core/persistent_window.rb +16 -0
  26. data/lib/wx/core/top_level_window.rb +16 -0
  27. data/lib/wx/core/treebook.rb +18 -0
  28. data/lib/wx/core.rb +4 -0
  29. data/lib/wx/doc/book_ctrl_base.rb +19 -0
  30. data/lib/wx/doc/comboctrl.rb +128 -3
  31. data/lib/wx/doc/config.rb +101 -41
  32. data/lib/wx/doc/extra/14_config.md +101 -0
  33. data/lib/wx/doc/extra/15_persistence.md +148 -0
  34. data/lib/wx/doc/gen/app_traits.rb +2 -54
  35. data/lib/wx/doc/gen/art_provider.rb +0 -2
  36. data/lib/wx/doc/gen/aui/aui_dock_art.rb +77 -77
  37. data/lib/wx/doc/gen/aui/aui_manager.rb +0 -1
  38. data/lib/wx/doc/gen/aui/aui_manager_event.rb +1 -1
  39. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +5 -4
  40. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +1 -1
  41. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +21 -21
  42. data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
  43. data/lib/wx/doc/gen/calendar_event.rb +1 -1
  44. data/lib/wx/doc/gen/colour.rb +0 -1
  45. data/lib/wx/doc/gen/colour_dialog.rb +1 -1
  46. data/lib/wx/doc/gen/combo_box.rb +3 -2
  47. data/lib/wx/doc/gen/combo_ctrl.rb +91 -227
  48. data/lib/wx/doc/gen/core.rb +2 -2
  49. data/lib/wx/doc/gen/date_event.rb +1 -1
  50. data/lib/wx/doc/gen/dc.rb +0 -3
  51. data/lib/wx/doc/gen/dialog.rb +0 -1
  52. data/lib/wx/doc/gen/event.rb +4 -4
  53. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  54. data/lib/wx/doc/gen/event_filter.rb +0 -2
  55. data/lib/wx/doc/gen/events.rb +17 -39
  56. data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
  57. data/lib/wx/doc/gen/file_dialog.rb +0 -2
  58. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +55 -63
  59. data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
  60. data/lib/wx/doc/gen/file_system.rb +1 -58
  61. data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
  62. data/lib/wx/doc/gen/frame.rb +0 -1
  63. data/lib/wx/doc/gen/gdi_common.rb +0 -8
  64. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +0 -2
  65. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +0 -2
  66. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +0 -2
  67. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +0 -2
  68. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +0 -2
  69. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +0 -2
  70. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +0 -2
  71. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +0 -2
  72. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +0 -2
  73. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +0 -2
  74. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +0 -2
  75. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +0 -2
  76. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +0 -2
  77. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +0 -2
  78. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +0 -2
  79. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +0 -2
  80. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +0 -2
  81. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +0 -2
  82. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +0 -2
  83. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +0 -2
  84. data/lib/wx/doc/gen/grid/grid_ctrl.rb +0 -12
  85. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +1 -1
  86. data/lib/wx/doc/gen/grid/grid_event.rb +1 -1
  87. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +1 -1
  88. data/lib/wx/doc/gen/grid/grid_size_event.rb +1 -1
  89. data/lib/wx/doc/gen/gui_event_loop.rb +0 -2
  90. data/lib/wx/doc/gen/header_ctrl.rb +0 -7
  91. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
  92. data/lib/wx/doc/gen/html/html_cell_event.rb +1 -1
  93. data/lib/wx/doc/gen/image.rb +0 -2
  94. data/lib/wx/doc/gen/list_ctrl.rb +0 -1
  95. data/lib/wx/doc/gen/list_event.rb +1 -1
  96. data/lib/wx/doc/gen/media_ctrl.rb +0 -6
  97. data/lib/wx/doc/gen/media_event.rb +1 -1
  98. data/lib/wx/doc/gen/menu.rb +0 -2
  99. data/lib/wx/doc/gen/notebook.rb +0 -1
  100. data/lib/wx/doc/gen/persistence_manager.rb +135 -0
  101. data/lib/wx/doc/gen/persistent_object.rb +52 -0
  102. data/lib/wx/doc/gen/persistent_window.rb +116 -0
  103. data/lib/wx/doc/gen/pg/pg_property.rb +0 -13
  104. data/lib/wx/doc/gen/pg/pg_validation_info.rb +0 -2
  105. data/lib/wx/doc/gen/pg/property_grid.rb +0 -2
  106. data/lib/wx/doc/gen/pg/property_grid_event.rb +1 -1
  107. data/lib/wx/doc/gen/pg/property_grid_interface.rb +2 -2
  108. data/lib/wx/doc/gen/pg/property_grid_manager.rb +0 -2
  109. data/lib/wx/doc/gen/pg/property_grid_page.rb +0 -2
  110. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +0 -1
  111. data/lib/wx/doc/gen/prt/post_script_dc.rb +0 -1
  112. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +1 -1
  113. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +1 -1
  114. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +1 -1
  115. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +1 -1
  116. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +1 -1
  117. data/lib/wx/doc/gen/rtc/rich_text_event.rb +1 -1
  118. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +0 -1
  119. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +3 -0
  120. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +0 -1
  121. data/lib/wx/doc/gen/scroll_bar.rb +0 -1
  122. data/lib/wx/doc/gen/sizer.rb +0 -1
  123. data/lib/wx/doc/gen/slider.rb +0 -1
  124. data/lib/wx/doc/gen/spin_double_event.rb +1 -1
  125. data/lib/wx/doc/gen/spin_event.rb +1 -1
  126. data/lib/wx/doc/gen/splash_screen.rb +1 -1
  127. data/lib/wx/doc/gen/splitter_event.rb +1 -1
  128. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +0 -1
  129. data/lib/wx/doc/gen/stc/styled_text_event.rb +1 -2
  130. data/lib/wx/doc/gen/task_bar_icon.rb +0 -1
  131. data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
  132. data/lib/wx/doc/gen/text_ctrl.rb +0 -5
  133. data/lib/wx/doc/gen/text_entry.rb +0 -4
  134. data/lib/wx/doc/gen/tree_ctrl.rb +0 -2
  135. data/lib/wx/doc/gen/tree_event.rb +1 -1
  136. data/lib/wx/doc/gen/utils.rb +0 -16
  137. data/lib/wx/doc/gen/v_scrolled_window.rb +0 -1
  138. data/lib/wx/doc/gen/wizard.rb +0 -1
  139. data/lib/wx/doc/gen/wizard_event.rb +1 -1
  140. data/lib/wx/doc/gen/wizard_page.rb +0 -1
  141. data/lib/wx/doc/owner_drawn_combobox.rb +5 -1
  142. data/lib/wx/doc/persistence_manager.rb +36 -0
  143. data/lib/wx/doc/persistent_object.rb +27 -0
  144. data/lib/wx/doc/top_level_window.rb +19 -0
  145. data/lib/wx/doc/treebook.rb +6 -1
  146. data/lib/wx/version.rb +1 -1
  147. data/lib/wxruby_aui.so +0 -0
  148. data/lib/wxruby_core.so +0 -0
  149. data/lib/wxruby_grid.so +0 -0
  150. data/lib/wxruby_html.so +0 -0
  151. data/lib/wxruby_pg.so +0 -0
  152. data/lib/wxruby_prt.so +0 -0
  153. data/lib/wxruby_rbn.so +0 -0
  154. data/lib/wxruby_rtc.so +0 -0
  155. data/lib/wxruby_stc.so +0 -0
  156. data/samples/widgets/widgets.rb +5 -9
  157. data/tests/test_combo_ctrl.rb +196 -0
  158. data/tests/test_config.rb +207 -42
  159. data/tests/test_persistence.rb +142 -0
  160. metadata +20 -2
@@ -321,7 +321,6 @@ module Wx::PG
321
321
  # - Creating Custom Properties
322
322
  #
323
323
  # ## Supplied Ready-to-use Property Classes
324
- #
325
324
  # Here is a list and short description of supplied fully-functional property classes. They are located in either {Wx::props.h} or {Wx::advprops.h}.
326
325
  #
327
326
  # - {Wx::PG::ArrayStringProperty}
@@ -365,11 +364,9 @@ module Wx::PG
365
364
  # - {Wx::PG::UIntProperty}
366
365
  #
367
366
  # ## wxPropertyCategory
368
- #
369
367
  # Not an actual property per se, but a header for a group of properties. Regardless inherits from {Wx::PG::PGProperty}, and supports displaying 'labels' for columns other than the first one. Easiest way to set category's label for second column is to call {Wx::PG::PGProperty#set_value} with string argument.
370
368
  #
371
369
  # ## wxStringProperty
372
- #
373
370
  # Simple string property.
374
371
  # Supported special attributes:
375
372
  #
@@ -383,7 +380,6 @@ module Wx::PG
383
380
  # </div>
384
381
  #
385
382
  # ## wxIntProperty
386
- #
387
383
  # It derives from {Wx::PG::NumericProperty} and displays value as a signed long integer. {Wx::PG::IntProperty} seamlessly supports 64-bit integers (i.e. {Wx::LongLong}) on overflow. To safely convert variant to integer, use code like this:
388
384
  #
389
385
  # ```
@@ -423,7 +419,6 @@ module Wx::PG
423
419
  # - {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
424
420
  #
425
421
  # ## wxUIntProperty
426
- #
427
422
  # Like {Wx::PG::IntProperty}, but displays value as unsigned int. To set the prefix used globally, manipulate {Wx::PG::PG_UINT_PREFIX} string attribute. To set the globally used base, manipulate {Wx::PG::PG_UINT_BASE} int attribute. Regardless of current prefix, understands (hex) values starting with both "0x" and "$" (apart from edit mode). Like {Wx::PG::IntProperty}, {Wx::PG::UIntProperty} seamlessly supports 64-bit unsigned integers (i.e. {Wx::ULongLong}). Same {Wx::Variant} safety rules apply.
428
423
  # Supported special attributes:
429
424
  #
@@ -439,7 +434,6 @@ module Wx::PG
439
434
  # </div>
440
435
  #
441
436
  # ## wxFloatProperty
442
- #
443
437
  # Like {Wx::PG::StringProperty}, but converts text to a double-precision floating point. Default float-to-text precision is 6 decimals, but this can be changed by modifying {Wx::PG::PG_FLOAT_PRECISION} attribute.
444
438
  # Note that when displaying the value, sign is omitted if the resulting textual representation is effectively zero (for example, -0.0001 with precision of 3 will become 0.0 instead of -0.0). This behaviour is unlike what C standard library does, but should result in better end-user experience in almost all cases.
445
439
  # Supported special attributes:
@@ -449,7 +443,6 @@ module Wx::PG
449
443
  # - {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
450
444
  #
451
445
  # ## wxBoolProperty
452
- #
453
446
  # Represents a boolean value. {Wx::Choice} is used as editor control, by the default. {Wx::PG::PG_BOOL_USE_CHECKBOX} attribute can be set to true in order to use check box instead.
454
447
  # Supported special attributes:
455
448
  #
@@ -457,7 +450,6 @@ module Wx::PG
457
450
  # - {Wx::PG::PG_BOOL_USE_DOUBLE_CLICK_CYCLING}: If set to true cycles combo box instead showing the list.
458
451
  #
459
452
  # ## wxLongStringProperty
460
- #
461
453
  # Like {Wx::PG::StringProperty}, but has a button that triggers a small text editor dialog. Note that in long string values, some control characters are escaped: tab is represented by "\t", line break by "\n", carriage return by "\r" and backslash character by "\\". If another character is preceded
462
454
  # by backslash, the backslash is skipped.
463
455
  # Note also that depending on the system (port), some sequences of special
@@ -597,7 +589,6 @@ module Wx::PG
597
589
  # - {Wx::PG::PG_FILE_INITIAL_PATH}: Sets the initial path of where to look for files.
598
590
  #
599
591
  # ## wxColourProperty
600
- #
601
592
  # <b>Useful alternate editor:</b> Choice.
602
593
  # Represents {Wx::Colour}. {Wx::Button} is used to trigger a colour picker dialog. There are various sub-classing opportunities with this class. See below in {Wx::PG::SystemColourProperty} section for details.
603
594
  # Supported special attributes:
@@ -605,14 +596,12 @@ module Wx::PG
605
596
  # - {Wx::PG::PG_COLOUR_HAS_ALPHA}: If set to true allows user to edit the alpha colour component.
606
597
  #
607
598
  # ## wxFontProperty
608
- #
609
599
  # Represents {Wx::Font}. Various sub-properties are used to edit individual subvalues.
610
600
  # Supported special attributes:
611
601
  #
612
602
  # - {Wx::PG::PG_DIALOG_TITLE}: Sets a specific title for the font dialog.
613
603
  #
614
604
  # ## wxSystemColourProperty
615
- #
616
605
  # Represents {Wx::Colour} and a system colour index. {Wx::Choice} is used to edit the value. Drop-down list has color images. Note that value type is {Wx::PG::ColourPropertyValue} instead of {Wx::Colour} (which {Wx::PG::ColourProperty} uses).
617
606
  #
618
607
  # In {Wx::PG::SystemColourProperty}, and its derived class {Wx::PG::ColourProperty}, there are various sub-classing features. To set a basic list of colour names, call {Wx::PG::PGProperty#set_choices}.
@@ -635,11 +624,9 @@ module Wx::PG
635
624
  # ```
636
625
  #
637
626
  # ## wxCursorProperty
638
- #
639
627
  # Represents a {Wx::Cursor}. {Wx::Choice} is used to edit the value. Drop-down list has cursor images under some (WXMSW) platforms.
640
628
  #
641
629
  # ## Creating Custom Properties
642
- #
643
630
  # New properties can be created by subclassing {Wx::PG::PGProperty} or one of the provided property classes, and (re)implementing necessary member functions. Below, each virtual member function has ample documentation about its purpose and any odd details which to keep in mind.
644
631
  # Here is a very simple 'template' code:
645
632
  #
@@ -15,7 +15,6 @@ module Wx::PG
15
15
  #
16
16
  #
17
17
  # ## wxPropertyGrid Window Styles
18
- #
19
18
  # SetWindowStyleFlag method can be used to modify some of these at run-time.
20
19
  #
21
20
  # @wxrb_require USE_PROPGRID
@@ -192,7 +191,6 @@ module Wx::PG
192
191
  #
193
192
  #
194
193
  # ## wxPropertyGrid Action Identifiers
195
- #
196
194
  # These are used with {Wx::PG::PropertyGrid#add_action_trigger} and {Wx::PG::PropertyGrid#clear_action_triggers}.
197
195
  #
198
196
  # @wxrb_require USE_PROPGRID
@@ -13,11 +13,9 @@ module Wx::PG
13
13
  # See also wxPropertyGrid Overview.
14
14
  #
15
15
  # ## Window Styles
16
- #
17
16
  # See wxPropertyGrid Window Styles.
18
17
  #
19
18
  # ## Event Handling
20
- #
21
19
  # Please see {Wx::PG::PropertyGridEvent} for the documentation of all event types you can use with {Wx::PG::PropertyGrid}.
22
20
  #
23
21
  # <div class="wxrb-remark">
@@ -47,7 +47,7 @@ module Wx::PG
47
47
 
48
48
  # @overload initialize(commandType=0, id=0)
49
49
  # Constructor.
50
- # @param commandType [Wx::StaticLine::EventType]
50
+ # @param commandType [Wx::Notebook::EventType]
51
51
  # @param id [Integer]
52
52
  # @return [Wx::PG::PropertyGridEvent]
53
53
  # @overload initialize(event)
@@ -655,12 +655,12 @@ module Wx::PG
655
655
  # @param src [String] String generated by SaveEditableState.
656
656
  # @param restoreStates [Integer] Which parts to restore from source string. See list of editable state flags.
657
657
  # @return [Boolean]
658
- def restore_editable_state(src, restoreStates=Wx::PG::PropertyGridManager::EditableStateFlags::AllStates) end
658
+ def restore_editable_state(src, restoreStates=Wx::PG::PropertyGridPage::EditableStateFlags::AllStates) end
659
659
 
660
660
  # Used to acquire user-editable state (selected property, expanded properties, scrolled position, splitter positions).
661
661
  # @param includedStates [Integer] Which parts of state to include. See list of editable state flags.
662
662
  # @return [String]
663
- def save_editable_state(includedStates=Wx::PG::PropertyGridManager::EditableStateFlags::AllStates) end
663
+ def save_editable_state(includedStates=Wx::PG::PropertyGridPage::EditableStateFlags::AllStates) end
664
664
 
665
665
  # Set proportion of an auto-stretchable column.
666
666
  #
@@ -49,11 +49,9 @@ module Wx::PG
49
49
  # ```
50
50
  #
51
51
  # ## Window Styles
52
- #
53
52
  # See wxPropertyGrid Window Styles.
54
53
  #
55
54
  # ## Event Handling
56
- #
57
55
  # See wxPropertyGrid Event Handling for more information.
58
56
  #
59
57
  # Category: {Wx::PG::PropertyGrid}
@@ -9,7 +9,6 @@ module Wx::PG
9
9
  #
10
10
  #
11
11
  # ## wxPropertyGridIterator Flags
12
- #
13
12
  # NOTES: At lower 16-bits, there are flags to check if item will be included. At higher 16-bits, there are same flags, but to instead check if children will be included.
14
13
  #
15
14
  # @wxrb_require USE_PROPGRID
@@ -76,7 +75,6 @@ module Wx::PG
76
75
  # Please note that most member functions are inherited and as such not documented on this page. This means you will probably also want to read {Wx::PG::PropertyGridInterface} class reference.
77
76
  #
78
77
  # ## Event Handling
79
- #
80
78
  # {Wx::PG::PropertyGridPage} receives events emitted by its {Wx::PG::PropertyGridManager}, but only those events that are specific to that page. If {Wx::PG::PropertyGridPage}:: IsHandlingAllEvents returns false, then unhandled events are sent to the manager's parent, as usual.
81
79
  # See wxPropertyGrid Event Handling for more information.
82
80
  #
@@ -121,7 +121,6 @@ module Wx::PG
121
121
  #
122
122
  #
123
123
  # ## wxPropertyGridHitTestResult
124
- #
125
124
  # A return value from {Wx::PG::PropertyGrid#hit_test}, contains all you need to know about an arbitrary location on the grid.
126
125
  #
127
126
  #
@@ -11,7 +11,6 @@ module Wx::PRT
11
11
  # See {Wx::DC} for descriptions of the member functions.
12
12
  #
13
13
  # ## Starting a document
14
- #
15
14
  # Document should be started with call to {Wx::PRT::PostScriptDC#start_doc} prior to calling any function to execute a drawing operation. However, some functions, like {Wx::PRT::PostScriptDC#set_font}, may be legitimately called even before {Wx::PRT::PostScriptDC#start_doc}.
16
15
  #
17
16
  # Category: Device Contexts
@@ -18,7 +18,7 @@ module Wx::RBN
18
18
  class RibbonBarEvent < NotifyEvent
19
19
 
20
20
  # Constructor.
21
- # @param command_type [Wx::StaticLine::EventType]
21
+ # @param command_type [Wx::Notebook::EventType]
22
22
  # @param win_id [Integer]
23
23
  # @param page [Wx::RBN::RibbonPage]
24
24
  # @return [Wx::RBN::RibbonBarEvent]
@@ -19,7 +19,7 @@ module Wx::RBN
19
19
  class RibbonButtonBarEvent < CommandEvent
20
20
 
21
21
  # Constructor.
22
- # @param command_type [Wx::StaticLine::EventType]
22
+ # @param command_type [Wx::Notebook::EventType]
23
23
  # @param win_id [Integer]
24
24
  # @param bar [Wx::RBN::RibbonButtonBar]
25
25
  # @param button [Integer]
@@ -16,7 +16,7 @@ module Wx::RBN
16
16
  class RibbonGalleryEvent < CommandEvent
17
17
 
18
18
  # Constructor.
19
- # @param command_type [Wx::StaticLine::EventType]
19
+ # @param command_type [Wx::Notebook::EventType]
20
20
  # @param win_id [Integer]
21
21
  # @param gallery [Wx::RBN::RibbonGallery]
22
22
  # @param item [Integer]
@@ -18,7 +18,7 @@ module Wx::RBN
18
18
  class RibbonPanelEvent < CommandEvent
19
19
 
20
20
  # Constructor.
21
- # @param command_type [Wx::StaticLine::EventType]
21
+ # @param command_type [Wx::Notebook::EventType]
22
22
  # @param win_id [Integer]
23
23
  # @param panel [Wx::RBN::RibbonPanel]
24
24
  # @return [Wx::RBN::RibbonPanelEvent]
@@ -13,7 +13,7 @@ module Wx::RBN
13
13
  # @wxrb_require USE_RIBBON
14
14
  class RibbonToolBarEvent < CommandEvent
15
15
 
16
- # @param command_type [Wx::StaticLine::EventType]
16
+ # @param command_type [Wx::Notebook::EventType]
17
17
  # @param win_id [Integer]
18
18
  # @param bar [Wx::RBN::RibbonToolBar]
19
19
  # @return [Wx::RBN::RibbonToolBarEvent]
@@ -58,7 +58,7 @@ module Wx::RTC
58
58
 
59
59
  # @overload initialize(commandType=Wx::EVT_NULL, winid=0)
60
60
  # Constructor.
61
- # @param commandType [Wx::StaticLine::EventType] The type of the event.
61
+ # @param commandType [Wx::Notebook::EventType] The type of the event.
62
62
  # @param winid [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
63
63
  # @return [Wx::RTC::RichTextEvent]
64
64
  # @overload initialize(event)
@@ -15,7 +15,6 @@ module Wx::RTC
15
15
  # You can call {Wx::RTC::RichTextHTMLHandler#get_temporary_image_locations} to get the array of temporary image names.
16
16
  #
17
17
  # ## Handler flags
18
- #
19
18
  # The following flags can be used with this handler, via the handler's {Wx::RTC::RichTextHTMLHandler#set_flags} function or the buffer or control's SetHandlerFlags() function:
20
19
  #
21
20
  # - {Wx::RTC::RICHTEXT_HANDLER_SAVE_IMAGES_TO_MEMORY} Images are saved to the memory filesystem: suitable for showing {Wx::HTML} windows.
@@ -304,6 +304,9 @@ module Wx::RTC
304
304
  # @return [void]
305
305
  def update_styles; end
306
306
 
307
+
308
+ protected
309
+
307
310
  end # RichTextStyleComboCtrl
308
311
 
309
312
 
@@ -11,7 +11,6 @@ module Wx::RTC
11
11
  # You can either add the handler to the buffer and load and save through the buffer or control API, or you can create an instance of the handler on the stack and call its functions directly.
12
12
  #
13
13
  # ## Handler flags
14
- #
15
14
  # The following flags can be used with this handler, via the handler's {Wx::RTC::RichTextXMLHandler#set_flags} function or the buffer or control's SetHandlerFlags() function:
16
15
  #
17
16
  # - {Wx::RTC::RICHTEXT_HANDLER_INCLUDE_STYLESHEET} Include the style sheet in loading and saving operations.
@@ -70,7 +70,6 @@ module Wx
70
70
  # - {Wx::EvtHandler#evt_command_scroll_changed}(meth = nil, &block): Process {Wx::EVT_SCROLL_CHANGED} end of scrolling events (MSW only).
71
71
  #
72
72
  # ## The difference between EVT_SCROLL_THUMBRELEASE and EVT_SCROLL_CHANGED
73
- #
74
73
  # The EVT_SCROLL_THUMBRELEASE event is only emitted when actually dragging the thumb using the mouse and releasing it (This EVT_SCROLL_THUMBRELEASE event is also followed by an EVT_SCROLL_CHANGED event).
75
74
  # The EVT_SCROLL_CHANGED event also occurs when using the keyboard to change the thumb position, and when clicking next to the thumb (In all these cases the EVT_SCROLL_THUMBRELEASE event does not happen).
76
75
  # In short, the EVT_SCROLL_CHANGED event is triggered when scrolling/moving has finished independently of the way it had started. Please see the Widgets Sample ("Slider" page) to see the difference between EVT_SCROLL_THUMBRELEASE and EVT_SCROLL_CHANGED in action.
@@ -36,7 +36,6 @@ module Wx
36
36
  # Please notice that sizers, like child windows, are owned by the library and will be deleted by it which implies that they must be allocated on the heap. However if you create a sizer and do not add it to another sizer or window, the library wouldn't be able to delete such an orphan sizer and in this, and only this, case it should be deleted explicitly.
37
37
  #
38
38
  # ## wxSizer flags
39
- #
40
39
  # The "flag" argument accepted by {Wx::SizerItem} constructors and other functions, e.g. {Wx::Sizer#add}, is an OR-combination of the following flags. Two main behaviours are defined using these flags. One is the border around a window: the border parameter determines the border width whereas the flags given here determine which side(s) of the item that the border will be added. The other flags determine how the sizer item behaves when the space allotted to the sizer changes, and is somewhat dependent on the specific kind of sizer used.
41
40
  #
42
41
  # {Wx::Direction::TOP}
@@ -132,7 +132,6 @@ module Wx
132
132
  # - {Wx::EvtHandler#evt_slider}(id, meth = nil, &block): Process {Wx::EVT_SLIDER} which is generated after any change of {Wx::Slider} position in addition to one of the events above. Notice that the handler of this event receives a {Wx::CommandEvent} as argument and not {Wx::ScrollEvent}, as all the other handlers.
133
133
  #
134
134
  # ## The difference between EVT_SCROLL_THUMBRELEASE and EVT_SCROLL_CHANGED
135
- #
136
135
  # The EVT_SCROLL_THUMBRELEASE event is only emitted when actually dragging the thumb using the mouse and releasing it (This EVT_SCROLL_THUMBRELEASE event is also followed by an EVT_SCROLL_CHANGED event).
137
136
  # The EVT_SCROLL_CHANGED event also occurs when using the keyboard to change the thumb position, and when clicking next to the thumb (In all these cases the EVT_SCROLL_THUMBRELEASE event does not happen). In short, the EVT_SCROLL_CHANGED event is triggered when scrolling/ moving has finished independently of the way it had started. Please see the Widgets Sample ("Slider" page) to see the difference between EVT_SCROLL_THUMBRELEASE and EVT_SCROLL_CHANGED in action.
138
137
  #
@@ -26,7 +26,7 @@ module Wx
26
26
  # The constructor.
27
27
  #
28
28
  # Not normally used by the user code.
29
- # @param commandType [Wx::StaticLine::EventType]
29
+ # @param commandType [Wx::Notebook::EventType]
30
30
  # @param winid [Integer]
31
31
  # @param value [Float]
32
32
  # @return [Wx::SpinDoubleEvent]
@@ -29,7 +29,7 @@ module Wx
29
29
  class SpinEvent < NotifyEvent
30
30
 
31
31
  # The constructor is not normally used by the user code.
32
- # @param commandType [Wx::StaticLine::EventType]
32
+ # @param commandType [Wx::Notebook::EventType]
33
33
  # @param id [Integer]
34
34
  # @return [Wx::SpinEvent]
35
35
  def initialize(commandType=Wx::EVT_NULL, id=0) end
@@ -64,7 +64,7 @@ module Wx
64
64
  # @return [Wx::SplashScreen]
65
65
  def initialize(bitmap, splashStyle, milliseconds, parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::Border::BORDER_SIMPLE|Wx::FRAME_NO_TASKBAR|Wx::STAY_ON_TOP)) end
66
66
 
67
- # Returns the splash style (see {splash_screen} for details).
67
+ # Returns the splash style (see {Wx::SplashScreen#initialize} for details).
68
68
  # @return [Integer]
69
69
  def get_splash_style; end
70
70
  alias_method :splash_style, :get_splash_style
@@ -33,7 +33,7 @@ module Wx
33
33
  # Constructor.
34
34
  #
35
35
  # Used internally by wxWidgets only.
36
- # @param eventType [Wx::StaticLine::EventType]
36
+ # @param eventType [Wx::Notebook::EventType]
37
37
  # @param splitter [Wx::SplitterWindow]
38
38
  # @return [Wx::SplitterEvent]
39
39
  def initialize(eventType=Wx::EVT_NULL, splitter=nil) end
@@ -14,7 +14,6 @@ module Wx::STC
14
14
  # Please see {Wx::STC::StyledTextEvent} for the documentation of all event types you can use with {Wx::STC::StyledTextCtrl}.
15
15
  #
16
16
  # ## Index of the member groups
17
- #
18
17
  # Links for quick access to the various categories of {Wx::STC::StyledTextCtrl} functions:
19
18
  #
20
19
  # - Constructors and related methods
@@ -6870,7 +6870,6 @@ module Wx::STC
6870
6870
  # Most of the Scintilla notifications are mapped to a similarly named {Wx::STC::StyledTextEvent}. However a few of the notifications would only offer information available in other wxWidgets event types, and in those cases a corresponding {Wx::STC::StyledTextEvent} is not defined. Currently, the {Wx::EVT_KEY_DOWN} event is used instead of the SCN_KEY notification. The regular wxWidgets drag and drop functionality can be used instead of the SCN_URIDROPPED notification. The {Wx::EVT_SET_FOCUS} event is used instead of the SCN_FOCUSIN notification. And the {Wx::EVT_KILL_FOCUS} event is used instead of the SCN_FOCUSOUT notification.
6871
6871
  #
6872
6872
  # ## Event Types
6873
- #
6874
6873
  # The following is a brief description of when the control generates these events and a list of which methods provide relevant information. Additional details can be found in the Scintilla documentation (http://www.scintilla.org/ScintillaDoc.html\#Notifications).
6875
6874
  # {Wx::STC::EVT_STC_AUTOCOMP_CANCELLED}
6876
6875
  #
@@ -7064,7 +7063,7 @@ module Wx::STC
7064
7063
 
7065
7064
  # @overload initialize(commandType=0, id=0)
7066
7065
  # Constructor.
7067
- # @param commandType [Wx::StaticLine::EventType]
7066
+ # @param commandType [Wx::Notebook::EventType]
7068
7067
  # @param id [Integer]
7069
7068
  # @return [Wx::STC::StyledTextEvent]
7070
7069
  # @overload initialize(event)
@@ -11,7 +11,6 @@ module Wx
11
11
  # A taskbar icon is an icon that appears in the 'system tray' and responds to mouse clicks, optionally with a tooltip above it to help provide information.
12
12
  #
13
13
  # ## X Window System Note
14
- #
15
14
  # Under X Window System, the window manager must support either the "System Tray Protocol" (see http://freedesktop.org/wiki/Specifications/systemtray-spec) by freedesktop.org (WMs used by modern desktop environments such as GNOME >= 2, KDE >= 3 and XFCE >= 4 all do) or the older methods used in GNOME 1.2 and KDE 1 and 2.
16
15
  # If it doesn't, the icon will appear as a toplevel window on user's desktop. Because not all window managers have system tray, there's no guarantee that {Wx::TaskBarIcon} will work correctly under X Window System and so the applications should use it only as an optional component of their user interface. The user should be required to explicitly enable the taskbar icon on Unix, it shouldn't be on by default.
17
16
  # ### Events emitted by this class
@@ -77,7 +77,7 @@ module Wx
77
77
  class TaskBarIconEvent < Event
78
78
 
79
79
  # Constructor.
80
- # @param evtType [Wx::StaticLine::EventType]
80
+ # @param evtType [Wx::Notebook::EventType]
81
81
  # @param tbIcon [Wx::TaskBarIcon]
82
82
  # @return [Wx::TaskBarIconEvent]
83
83
  def initialize(evtType, tbIcon) end
@@ -524,19 +524,16 @@ module Wx
524
524
  # Note that alignment styles ({Wx::TE_LEFT}, {Wx::TE_CENTRE} and {Wx::TE_RIGHT}) can be changed dynamically after control creation on WXMSW, WXGTK and WXOSX. {Wx::TE_READONLY}, {Wx::TE_PASSWORD} and wrapping styles can be dynamically changed under WXGTK but not WXMSW. The other styles can be only set during control creation.
525
525
  #
526
526
  # ## wxTextCtrl Text Format
527
- #
528
527
  # The multiline text controls always store the text as a sequence of lines separated by <code>'\n'</code> characters, i.e. in the Unix text format even on non-Unix platforms. This allows the user code to ignore the differences between the platforms but at a price: the indices in the control such as those returned by {Wx::TextCtrl#get_insertion_point} or {Wx::TextCtrl#get_selection} can <b>not</b> be used as indices into the string returned by {Wx::TextCtrl#get_value} as they're going to be slightly off for platforms using <code>"\\r\\n"</code> as separator (as Windows does).
529
528
  # Instead, if you need to obtain a substring between the 2 indices obtained from the control with the help of the functions mentioned above, you should use {Wx::TextCtrl#get_range}. And the indices themselves can only be passed to other methods, for example {Wx::TextCtrl#set_insertion_point} or {Wx::TextCtrl#set_selection}.
530
529
  # To summarize: never use the indices returned by (multiline) {Wx::TextCtrl} as indices into the string it contains, but only as arguments to be passed back to the other {Wx::TextCtrl} methods. This problem doesn't arise for single-line platforms however where the indices in the control do correspond to the positions in the value string.
531
530
  #
532
531
  # ## wxTextCtrl Positions and Coordinates
533
- #
534
532
  # It is possible to use either linear positions, i.e. roughly (but not always exactly, as explained in the previous section) the index of the character in the text contained in the control or X-Y coordinates, i.e. column and line of the character when working with this class and it provides the functions {Wx::TextCtrl#position_to_xy} and {Wx::TextCtrl#xy_to_position} to convert between the two.
535
533
  # Additionally, a position in the control can be converted to its coordinates in pixels using {Wx::TextCtrl#position_to_coords} which can be useful to e.g. show a popup menu near the given character. And, in the other direction, {Wx::TextCtrl#hit_test} can be used to find the character under, or near, the given pixel coordinates.
536
534
  # To be more precise, positions actually refer to the gaps between characters and not the characters themselves. Thus, position 0 is the one before the very first character in the control and so is a valid position even when the control is empty. And if the control contains a single character, it has two valid positions: 0 before this character and 1 after it. This, when the documentation of various functions mentions "invalid position", it doesn't consider the position just after the last character of the line to be invalid, only the positions beyond that one (e.g. 2 and greater in the single character example) are actually invalid.
537
535
  #
538
536
  # ## wxTextCtrl Styles.
539
- #
540
537
  # Multi-line text controls support styling, i.e. provide a possibility to set colours and font for individual characters in it (note that under Windows {Wx::TE_RICH} style is required for style support). To use the styles you can either call {Wx::TextCtrl#set_default_style} before inserting the text or call {Wx::TextCtrl#set_style} later to change the style of the text already in the control (the first solution is much more efficient).
541
538
  # In either case, if the style doesn't specify some of the attributes (for example you only want to set the text colour but without changing the font nor the text background), the values of the default style will be used for them. If there is no default style, the attributes of the text control itself are used.
542
539
  # So the following code correctly describes what it does: the second call to {Wx::TextCtrl#set_default_style} doesn't change the text foreground colour (which stays red) while the last one doesn't change the background colour (which stays grey):
@@ -551,7 +548,6 @@ module Wx
551
548
  # ```
552
549
  #
553
550
  # ## wxTextCtrl and C++ Streams
554
- #
555
551
  # This class multiply-inherits from std::streambuf (except for some really old compilers using non-standard iostream library), allowing code such as the following:
556
552
  #
557
553
  # ```
@@ -604,7 +600,6 @@ module Wx
604
600
  # See {Wx::StreamToTextRedirector} for more details.
605
601
  #
606
602
  # ## Event Handling.
607
- #
608
603
  # The following commands are processed by default event handlers in {Wx::TextCtrl}: {Wx::StandardID::ID_CUT}, {Wx::StandardID::ID_COPY}, {Wx::StandardID::ID_PASTE}, {Wx::StandardID::ID_UNDO}, {Wx::StandardID::ID_REDO}. The associated UI update events are also processed automatically, when the control has the focus.
609
604
  # ### Events emitted by this class
610
605
  #
@@ -371,8 +371,6 @@ module Wx
371
371
  # Custom completer objects used with {Wx::TextEntry#auto_complete} must derive from this class and implement its pure virtual method returning the completions. You would typically use a custom completer when the total number of completions is too big for performance to be acceptable if all of them need to be returned at once but if they can be generated hierarchically, i.e. only the first component initially, then the second one after the user finished entering the first one and so on.
372
372
  # When inheriting from this class you need to implement its two pure virtual methods. This allows returning the results incrementally and may or not be convenient depending on where do they come from. If you prefer to return all the completions at once, you should inherit from {Wx::TextCompleterSimple} instead.
373
373
  #
374
- #
375
- # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
376
374
  class TextCompleter < ::Object
377
375
 
378
376
  # Function called to start iteration over the completions for the given prefix.
@@ -420,8 +418,6 @@ module Wx
420
418
  # text_ctrl.auto_complete(MyTextCompleter.new)
421
419
  # ```
422
420
  #
423
- #
424
- # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
425
421
  class TextCompleterSimple < TextCompleter
426
422
 
427
423
  # Pure virtual method returning all possible completions for the given prefix.
@@ -235,13 +235,11 @@ module Wx
235
235
  # A similar control with a fully native implementation for GTK+ and macOS as well is {Wx::DataViewTreeCtrl}.
236
236
  #
237
237
  # ## Images in wxTreeCtrl
238
- #
239
238
  # {Wx::TreeCtrl} inherits from {Wx::WithImages} classes providing the functions for associating images with the control items. Each item refers to its image using an index, which can possibly by {Wx::WithImages::NO_IMAGE} to indicate that the item doesn't use any image at all, and the corresponding image is taken either from the vector passed to {Wx::WithImages#set_images} or from the image list passed to {Wx::WithImages#set_image_list} or {Wx::WithImages#assign_image_list} functions.
240
239
  # In addition to normal images, handled with the methods mentioned above, {Wx::TreeCtrl} also provides optional state images that may be used to indicate some additional state of the item, e.g. checked or unchecked status. These images can be set using {Wx::TreeCtrl#set_state_image_list} and {Wx::TreeCtrl#assign_state_image_list} functions that behave in the same way as the corresponding methods of {Wx::WithImages}.
241
240
  # Finally, in the generic version of this control ({Wx::GenericTreeCtrl}), also provides {Wx::TreeCtrl#set_buttons_image_list} and {Wx::TreeCtrl#assign_buttons_image_list}, which can be used to change the images used for the control buttons, used to expand or collapse its branches. These methods are not available in the native WXMSW and {Wx::Qt} implementations.
242
241
  #
243
242
  # ## Events
244
- #
245
243
  # To intercept events from a tree control, use the event table macros described in {Wx::TreeEvent}.
246
244
  # ### Styles
247
245
  #
@@ -64,7 +64,7 @@ module Wx
64
64
  class TreeEvent < NotifyEvent
65
65
 
66
66
  # Constructor, used by wxWidgets itself only.
67
- # @param commandType [Wx::StaticLine::EventType]
67
+ # @param commandType [Wx::Notebook::EventType]
68
68
  # @param tree [Wx::TreeCtrl]
69
69
  # @param item [Wx::TreeItemId]
70
70
  # @return [Wx::TreeEvent]
@@ -57,8 +57,6 @@ module Wx
57
57
  # <p>This function is categorized as a GUI one and so is not thread-safe.
58
58
  # </p>
59
59
  # </div>
60
- #
61
- # Include file: \#include <wx/utils.h>
62
60
  # @return [void]
63
61
  def self.bell; end
64
62
 
@@ -150,8 +148,6 @@ module Wx
150
148
  # <p>For some configurations of the running user, the application which is launched to open the given URL may be URL-dependent (e.g. a browser may be used for local URLs while another one may be used for remote URLs).
151
149
  # </p>
152
150
  # </div>
153
- #
154
- # Include file: \#include <wx/utils.h>
155
151
  # @see launch_default_application
156
152
  # @see execute
157
153
  # @param url [String]
@@ -171,8 +167,6 @@ module Wx
171
167
  # Copies the user's email address into the supplied buffer, by concatenating the values returned by {get_full_host_name} and {get_user_id}.
172
168
  #
173
169
  # true if successful, false otherwise.
174
- #
175
- # Include file: \#include <wx/utils.h>
176
170
  # @return [String]
177
171
  def self.get_email_address; end
178
172
 
@@ -192,8 +186,6 @@ module Wx
192
186
  #
193
187
  # Please note that the returned name is not fully qualified, i.e. it does not include the domain name.
194
188
  # The hostname if successful or an empty string otherwise.
195
- #
196
- # Include file: \#include <wx/utils.h>
197
189
  # @see get_full_host_name
198
190
  # @return [String]
199
191
  def self.get_host_name; end
@@ -217,8 +209,6 @@ module Wx
217
209
  #
218
210
  # something like "jsmith"). It uniquely identifies the current user (on this system). Under Windows or NT, this function first looks in the environment variables USER and LOGNAME; if neither of these is found, the entry <b>UserId</b> in the <b>wxWidgets</b> section of the WIN.INI file is tried.
219
211
  # The login name if successful or an empty string otherwise.
220
- #
221
- # Include file: \#include <wx/utils.h>
222
212
  # @see get_user_name
223
213
  # @return [String]
224
214
  def self.get_user_id; end
@@ -227,8 +217,6 @@ module Wx
227
217
  #
228
218
  # Under Windows or NT, this function looks for the entry UserName in the wxWidgets section of the WIN.INI file. If PenWindows is running, the entry Current in the section User of the PENWIN.INI file is used.
229
219
  # The full user name if successful or an empty string otherwise.
230
- #
231
- # Include file: \#include <wx/utils.h>
232
220
  # @see get_user_id
233
221
  # @return [String]
234
222
  def self.get_user_name; end
@@ -260,8 +248,6 @@ module Wx
260
248
  # <p>This function is not 100% reliable on some systems given the fact that there isn't always a standard way to do a reliable check on the OS bitness.
261
249
  # </p>
262
250
  # </div>
263
- #
264
- # Include file: \#include <wx/utils.h>
265
251
  # @return [Boolean]
266
252
  def self.is_platform64bit; end
267
253
 
@@ -303,8 +289,6 @@ module Wx
303
289
  # </div>
304
290
  #
305
291
  # true on success, false if an error occurred.
306
- #
307
- # Include file: \#include <wx/utils.h>
308
292
  # @param flags [Integer] One of {Wx::SHUTDOWN_POWEROFF}, {Wx::SHUTDOWN_REBOOT} or {Wx::SHUTDOWN_LOGOFF} (currently implemented only for MSW) possibly combined with {Wx::SHUTDOWN_FORCE} which forces shutdown under MSW by forcefully terminating all the applications. As doing this can result in a data loss, this flag shouldn't be used unless really necessary.
309
293
  # @return [Boolean]
310
294
  def self.shutdown(flags=Wx::SHUTDOWN_POWEROFF) end
@@ -12,7 +12,6 @@ module Wx
12
12
  # To use this class, you need to derive from it and implement the {Wx::VScrolledWindow#on_get_row_height} pure virtual method. You also must call {Wx::VScrolledWindow#set_row_count} to let the base class know how many rows it should display, but from that moment on the scrolling is handled entirely by {Wx::VScrolledWindow}. You only need to draw the visible part of contents in your <code>OnPaint()</code> method as usual. You should use {Wx::VScrolledWindow#get_visible_rows_begin} and {Wx::VScrolledWindow#get_visible_rows_end} to select the lines to display. Note that the device context origin is not shifted so the first visible row always appears at the point (0, 0) in physical as well as logical coordinates.
13
13
  #
14
14
  # ## wxWidgets 2.8 Compatibility Functions
15
- #
16
15
  # The following functions provide backwards compatibility for applications originally built using {Wx::VScrolledWindow} in 2.6 or 2.8. Originally, {Wx::VScrolledWindow} referred to scrolling "lines". We now use "units" in {Wx::VarScrollHelperBase} to avoid implying any orientation (since the functions are used for both horizontal and vertical scrolling in derived classes). And in the new {Wx::VScrolledWindow} and {Wx::HScrolledWindow} classes, we refer to them as "rows" and "columns", respectively. This is to help clear some confusion in not only those classes, but also in {Wx::HVScrolledWindow} where functions are inherited from both.
17
16
  # You are encouraged to update any existing code using these function to use the new replacements mentioned below, and avoid using these functions for any new code as they are deprecated.
18
17
  #
@@ -33,7 +33,6 @@ module Wx
33
33
  # - {Wx::EvtHandler#evt_wizard_finished}(id, meth = nil, &block): The wizard finished button was pressed.
34
34
  #
35
35
  # ## Extended styles
36
- #
37
36
  # Use the {Wx::Window#set_extra_style} function to set the following style. You will need to use two-step construction (use the default constructor, call {Wx::Wizard#set_extra_style}, then call Create).
38
37
  #
39
38
  # ### Extra Styles
@@ -90,7 +90,7 @@ module Wx
90
90
  # Constructor.
91
91
  #
92
92
  # It is not normally used by the user code as the objects of this type are constructed by {Wx::Wizard}.
93
- # @param type [Wx::StaticLine::EventType]
93
+ # @param type [Wx::Notebook::EventType]
94
94
  # @param id [Integer]
95
95
  # @param direction [Boolean]
96
96
  # @param page [Wx::WizardPage]
@@ -12,7 +12,6 @@ module Wx
12
12
  # This class allows the programmer to decide the order of pages in the wizard dynamically (during run-time) and so provides maximal flexibility. Usually, however, the order of pages is known in advance in which case {Wx::WizardPageSimple} class is enough and it is simpler to use.
13
13
  #
14
14
  # ## Virtual functions to override
15
- #
16
15
  # To use this class, you must override {Wx::WizardPage#get_prev} and {Wx::WizardPage#get_next} pure virtual functions (or you may use {Wx::WizardPageSimple} instead). {Wx::WizardPage#get_bitmap} can also be overridden, but this should be very rarely needed.
17
16
  #
18
17
  # Category: Miscellaneous Windows
@@ -7,7 +7,11 @@
7
7
 
8
8
  module Wx
9
9
 
10
- class OwnerDrawnComboBox
10
+ class OwnerDrawnComboBox < ComboCtrl
11
+
12
+ alias :get_item_data :get_client_object
13
+
14
+ alias :set_item_data :set_client_object
11
15
 
12
16
  # Returns the label of the selected item or an empty string if no item is selected.
13
17
  #