wxruby 1.9.5-universal-darwin-9 → 1.9.6-universal-darwin-9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. data/lib/wx/classes/acceleratortable.rb +28 -0
  2. data/lib/wx/classes/animation.rb +18 -0
  3. data/lib/wx/classes/bitmap.rb +5 -0
  4. data/lib/wx/classes/busycursor.rb +12 -0
  5. data/lib/wx/classes/evthandler.rb +36 -21
  6. data/lib/wx/classes/functions.rb +44 -0
  7. data/lib/wx/classes/grid.rb +16 -7
  8. data/lib/wx/classes/htmlwindow.rb +8 -0
  9. data/lib/wx/classes/icon.rb +7 -0
  10. data/lib/wx/classes/iconbundle.rb +3 -0
  11. data/lib/wx/classes/image.rb +17 -0
  12. data/lib/wx/classes/imagelist.rb +3 -0
  13. data/lib/wx/classes/toolbartool.rb +4 -0
  14. data/lib/wx/classes/xmlresource.rb +21 -0
  15. data/lib/wx/keyword_ctors.rb +9 -6
  16. data/lib/wx/keyword_defs.rb +7 -0
  17. data/lib/wx/version.rb +1 -1
  18. data/lib/wxruby2.bundle +0 -0
  19. data/samples/aui/aui.rb +6 -10
  20. data/samples/bigdemo/About.rbw +0 -0
  21. data/samples/bigdemo/ColorPanel.rbw +7 -9
  22. data/samples/bigdemo/GridSimple.rbw +7 -9
  23. data/samples/bigdemo/MDIDemo.rbw +7 -9
  24. data/samples/bigdemo/PopupMenu.rbw +7 -9
  25. data/samples/bigdemo/ShapedWindow.rbw +6 -10
  26. data/samples/bigdemo/Sizers.rbw +7 -9
  27. data/samples/bigdemo/bigdemo.rb +24 -25
  28. data/samples/bigdemo/demoTemplate.rbw +6 -10
  29. data/samples/bigdemo/run.rb +6 -10
  30. data/samples/bigdemo/utils.rb +0 -0
  31. data/samples/bigdemo/wxArtProvider.rbw +6 -10
  32. data/samples/bigdemo/wxBitmapButton.rbw +42 -41
  33. data/samples/bigdemo/wxButton.rbw +7 -9
  34. data/samples/bigdemo/wxCalendarCtrl.rbw +41 -53
  35. data/samples/bigdemo/wxCheckBox.rbw +7 -9
  36. data/samples/bigdemo/wxCheckListBox.rbw +7 -9
  37. data/samples/bigdemo/wxChoice.rbw +7 -9
  38. data/samples/bigdemo/wxChoicebook.rbw +7 -9
  39. data/samples/bigdemo/wxColourDialog.rbw +7 -10
  40. data/samples/bigdemo/wxComboBox.rbw +7 -9
  41. data/samples/bigdemo/wxCursor.rbw +6 -10
  42. data/samples/bigdemo/wxDialog.rbw +7 -9
  43. data/samples/bigdemo/wxDirDialog.rbw +7 -10
  44. data/samples/bigdemo/wxDragImage.rbw +6 -10
  45. data/samples/bigdemo/wxFileDialog.rbw +7 -9
  46. data/samples/bigdemo/wxFileDialog_Save.rbw +7 -10
  47. data/samples/bigdemo/wxFindReplaceDialog.rbw +7 -10
  48. data/samples/bigdemo/wxFontDialog.rbw +7 -10
  49. data/samples/bigdemo/wxFrame.rbw +7 -9
  50. data/samples/bigdemo/wxGauge.rbw +7 -9
  51. data/samples/bigdemo/wxGenericDirCtrl.rbw +6 -10
  52. data/samples/bigdemo/wxGrid.rbw +7 -9
  53. data/samples/bigdemo/wxHtmlHelpController.rbw +6 -11
  54. data/samples/bigdemo/wxListBox.rbw +7 -9
  55. data/samples/bigdemo/wxListCtrl_virtual.rbw +7 -9
  56. data/samples/bigdemo/wxMDIWindows.rbw +7 -9
  57. data/samples/bigdemo/wxMenu.rbw +7 -9
  58. data/samples/bigdemo/wxMessageDialog.rbw +7 -10
  59. data/samples/bigdemo/wxMiniFrame.rbw +6 -10
  60. data/samples/bigdemo/wxMultipleChoiceDialog.rbw +7 -9
  61. data/samples/bigdemo/wxNotebook.rbw +7 -9
  62. data/samples/bigdemo/wxProgressDialog.rbw +7 -9
  63. data/samples/bigdemo/wxRadioBox.rbw +7 -9
  64. data/samples/bigdemo/wxRadioButton.rbw +7 -9
  65. data/samples/bigdemo/wxSashWindow.rbw +6 -10
  66. data/samples/bigdemo/wxScrolledMessageDialog.rbw +7 -9
  67. data/samples/bigdemo/wxScrolledWindow.rbw +7 -9
  68. data/samples/bigdemo/wxSingleChoiceDialog.rbw +7 -9
  69. data/samples/bigdemo/wxSlider.rbw +7 -9
  70. data/samples/bigdemo/wxSpinButton.rbw +7 -9
  71. data/samples/bigdemo/wxSpinCtrl.rbw +7 -9
  72. data/samples/bigdemo/wxSplitterWindow.rbw +7 -9
  73. data/samples/bigdemo/wxStaticBitmap.rbw +7 -9
  74. data/samples/bigdemo/wxStaticText.rbw +7 -9
  75. data/samples/bigdemo/wxStatusBar.rbw +7 -9
  76. data/samples/bigdemo/wxTextCtrl.rbw +7 -9
  77. data/samples/bigdemo/wxTextEntryDialog.rbw +7 -10
  78. data/samples/bigdemo/wxToggleButton.rbw +7 -9
  79. data/samples/bigdemo/wxToolBar.rbw +7 -9
  80. data/samples/bigdemo/wxTreeCtrl.rbw +7 -9
  81. data/samples/calendar/calendar.rb +6 -10
  82. data/samples/caret/caret.rb +6 -10
  83. data/samples/controls/controls.rb +6 -10
  84. data/samples/controls/get_item_sample.rb +0 -0
  85. data/samples/dialogs/dialogs.rb +10 -11
  86. data/samples/drawing/graphics_drawing.rb +6 -7
  87. data/samples/drawing/images.rb +5 -10
  88. data/samples/drawing/paperclip.png +0 -0
  89. data/samples/etc/activation.rb +4 -10
  90. data/samples/etc/choice.rb +5 -10
  91. data/samples/etc/miniframe.rb +5 -10
  92. data/samples/etc/sash.rb +5 -10
  93. data/samples/etc/scrollwin.rb +4 -10
  94. data/samples/etc/system_settings.rb +4 -10
  95. data/samples/etc/threaded.rb +4 -10
  96. data/samples/etc/wizard.rb +5 -10
  97. data/samples/event/event.rb +3 -5
  98. data/samples/grid/grid.rb +5 -9
  99. data/samples/grid/gridtablebase.rb +134 -0
  100. data/samples/html/html.rb +4 -10
  101. data/samples/listbook/listbook.rb +4 -11
  102. data/samples/mdi/mdi.rb +5 -10
  103. data/samples/media/mediactrl.rb +4 -10
  104. data/samples/minimal/minimal.rb +18 -26
  105. data/samples/minimal/nothing.rb +5 -10
  106. data/samples/opengl/cube.rb +8 -14
  107. data/samples/printing/mondrian.ico +0 -0
  108. data/samples/printing/mondrian.xpm +0 -0
  109. data/samples/printing/printing.rb +5 -179
  110. data/samples/text/mondrian.ico +0 -0
  111. data/samples/text/mondrian.xpm +0 -0
  112. data/samples/text/scintilla.rb +5 -10
  113. data/samples/text/textctrl.rb +27 -38
  114. data/samples/text/unicode.rb +6 -2
  115. data/samples/treectrl/treectrl.rb +4 -10
  116. data/samples/xrc/xrc_sample.rb +6 -17
  117. metadata +11 -3
@@ -1,6 +1,10 @@
1
- # wxRuby2 Sample Code. Copyright (c) 2004-2006 Kevin B. Smith
1
+ #!/usr/bin/env ruby
2
+ # wxRuby2 Sample Code. Copyright (c) 2004-2008 wxRuby development team
2
3
  # Freely reusable code: see SAMPLES-LICENSE.TXT for details
3
-
4
+ begin
5
+ require 'rubygems'
6
+ rescue LoadError
7
+ end
4
8
  # Tell ruby this script is written in UTF-8 encoded text.
5
9
  $KCODE = 'u'
6
10
 
@@ -1,17 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
- # wxRuby2 Sample Code. Copyright (c) 2004-2006 Kevin B. Smith
2
+ # wxRuby2 Sample Code. Copyright (c) 2004-2008 wxRuby development team
3
3
  # Freely reusable code: see SAMPLES-LICENSE.TXT for details
4
-
5
4
  begin
6
- require 'wx'
7
- rescue LoadError => no_wx_err
8
- begin
9
- require 'rubygems'
10
- require 'wx'
11
- rescue LoadError
12
- raise no_wx_err
13
- end
5
+ require 'rubygems'
6
+ rescue LoadError
14
7
  end
8
+ require 'wx'
15
9
 
16
10
  # This sample shows off the features of the TreeCtrl widget. The actual
17
11
  # features vary somewhat across platforms; for example, the button
@@ -1,17 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
- # wxRuby2 Sample Code. Copyright (c) 2004-2006 Kevin B. Smith
2
+ # wxRuby2 Sample Code. Copyright (c) 2004-2008 wxRuby development team
3
3
  # Freely reusable code: see SAMPLES-LICENSE.TXT for details
4
-
5
4
  begin
6
- require 'wx'
7
- rescue LoadError => no_wx_err
8
- begin
9
- require 'rubygems'
10
- require 'wx'
11
- rescue LoadError
12
- raise no_wx_err
13
- end
5
+ require 'rubygems'
6
+ rescue LoadError
14
7
  end
8
+ require 'wx'
15
9
 
16
10
  # Basic Frame Class. This creates the dialog window
17
11
  class SimpleFrame < Wx::Frame
@@ -88,14 +82,9 @@ end
88
82
  class XrcApp < Wx::App
89
83
 
90
84
  def on_init
91
- # Create a resource handler
92
- $xml = Wx::XmlResource.get();
93
- $xml.init_all_handlers();
94
-
95
-
96
- # Load a resource file
85
+ # Get a new resources object
97
86
  xrc_file = File.join( File.dirname(__FILE__), 'samples.xrc' )
98
- $xml.load(xrc_file)
87
+ $xml = Wx::XmlResource.new(xrc_file)
99
88
 
100
89
  # Show the main frame.
101
90
  main = SimpleFrame.new()
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wxruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.5
4
+ version: 1.9.6
5
5
  platform: universal-darwin-9
6
6
  authors:
7
7
  - wxRuby development team
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-03-07 00:00:00 -08:00
12
+ date: 2008-05-01 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -25,9 +25,12 @@ files:
25
25
  - lib/wx
26
26
  - lib/wx/accessors.rb
27
27
  - lib/wx/classes
28
+ - lib/wx/classes/acceleratortable.rb
29
+ - lib/wx/classes/animation.rb
28
30
  - lib/wx/classes/app.rb
29
31
  - lib/wx/classes/artprovider.rb
30
32
  - lib/wx/classes/bitmap.rb
33
+ - lib/wx/classes/busycursor.rb
31
34
  - lib/wx/classes/checklistbox.rb
32
35
  - lib/wx/classes/choice.rb
33
36
  - lib/wx/classes/clientdc.rb
@@ -40,13 +43,16 @@ files:
40
43
  - lib/wx/classes/event.rb
41
44
  - lib/wx/classes/evthandler.rb
42
45
  - lib/wx/classes/font.rb
46
+ - lib/wx/classes/functions.rb
43
47
  - lib/wx/classes/gauge.rb
44
48
  - lib/wx/classes/grid.rb
45
49
  - lib/wx/classes/helpcontroller.rb
46
50
  - lib/wx/classes/htmlhelpcontroller.rb
47
51
  - lib/wx/classes/htmlwindow.rb
48
52
  - lib/wx/classes/icon.rb
53
+ - lib/wx/classes/iconbundle.rb
49
54
  - lib/wx/classes/image.rb
55
+ - lib/wx/classes/imagelist.rb
50
56
  - lib/wx/classes/listbox.rb
51
57
  - lib/wx/classes/listctrl.rb
52
58
  - lib/wx/classes/locale.rb
@@ -64,6 +70,7 @@ files:
64
70
  - lib/wx/classes/textctrl.rb
65
71
  - lib/wx/classes/texturlevent.rb
66
72
  - lib/wx/classes/timer.rb
73
+ - lib/wx/classes/toolbartool.rb
67
74
  - lib/wx/classes/treectrl.rb
68
75
  - lib/wx/classes/window.rb
69
76
  - lib/wx/classes/xmlresource.rb
@@ -227,6 +234,7 @@ files:
227
234
  - samples/event/event.rb
228
235
  - samples/grid
229
236
  - samples/grid/grid.rb
237
+ - samples/grid/gridtablebase.rb
230
238
  - samples/html
231
239
  - samples/html/html.rb
232
240
  - samples/listbook
@@ -297,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
297
305
  requirements: []
298
306
 
299
307
  rubyforge_project: wxruby
300
- rubygems_version: 1.0.1
308
+ rubygems_version: 1.1.1
301
309
  signing_key:
302
310
  specification_version: 2
303
311
  summary: Ruby interface to the wxWidgets GUI library