Displaying 2 results from an estimated 2 matches for "treectrlicon_xxx".
2007 Jan 05
0
[832] trunk/wxruby2/samples: Fix samples for TreeItemIds as integers, fix image size in treectrl sample
...an><span class="cx"> # Make an image list containing small icons
</span><del>- images = Wx::ImageList.new(16, 16, true)
</del><ins>+ images = Wx::ImageList.new(32, 32, true)
</ins><span class="cx"> # should correspond to TreeCtrlIcon_xxx enum
</span><span class="cx"> Wx::BusyCursor.busy do
</span><span class="cx"> icons = (1 .. 5).map do | i |
</span><span class="lines">@@ -157,7 +157,7 @@
</span><span class="cx">
</span><spa...
2006 Dec 26
0
[806] trunk/wxruby2/samples/treectrl: Restored demonstration of use of icons and fonts within TreeCtrl
...<span class="cx"> # Make an image list containing small icons
</span><del>- images = Wx::ImageList.new(size, size, true)
-
</del><ins>+ images = Wx::ImageList.new(16, 16, true)
</ins><span class="cx"> # should correspond to TreeCtrlIcon_xxx enum
</span><del>- Wx::BusyCursor.busy do |x|
- icons = [
- Wx::Icon.new("icon1.xpm"),
- Wx::Icon.new("icon2.xpm"),
- Wx::Icon.new("icon3.xpm"),
- Wx::Icon.new("icon4.xpm"),
- Wx::Icon.new("icon5.xpm...