search for: wxwin16x16

Displaying 5 results from an estimated 5 matches for "wxwin16x16".

2007 Jun 25
0
[1065] trunk/wxruby2/samples/bigdemo/wxTreeCtrl.rbw: Fix an icon file path issue
...(bm) </span><span class="cx"> bm.copy_from_icon(Wx::ArtProvider::get_icon(Wx::ART_FILE_OPEN, Wx::ART_OTHER, isz)) </span><span class="cx"> fileidx = il.add(bm) </span><del>- smileidx = il.add(Wx::Bitmap.new("./icons/wxwin16x16.xpm")) </del><ins>+ bmp_file = File.join(File.dirname(__FILE__), ''icons'', ''wxwin16x16.xpm'') + smileidx = il.add(Wx::Bitmap.new(bmp_file)) </ins><span class="cx"> </span><span class="cx&qu...
2007 Jun 05
0
[1048] trunk/wxruby2/samples/bigdemo/wxListCtrl_virtual.rbw: Fix broken path to Bitmap file for item image
...17,7 +17,9 @@ </span><span class="cx"> @log = log </span><span class="cx"> </span><span class="cx"> @il = Wx::ImageList.new(16,16) </span><del>- @idx1 = @il.add(Wx::Bitmap.new("./icons/wxwin16x16.xpm")) </del><ins>+ bmp_file = File.join(File.dirname(__FILE__), "icons/wxwin16x16.xpm") + + @idx1 = @il.add(Wx::Bitmap.new(bmp_file)) </ins><span class="cx"> set_image_list(@il, Wx::IMAGE_LIST_SMALL) </span><sp...
2007 Jan 05
0
[829] trunk/wxruby2/samples/bigdemo/wxNotebook.rbw: Fix icon path for notebook tab (was crashing linux bug 6632)
...# Show how to put an image on one of the notebook tabs, </span><span class="cx"> # first make the image list: </span><span class="cx"> il = Wx::ImageList.new(16,16) </span><del>- il.add_icon(Wx::Icon.new("./icons/wxwin16x16.xpm")) </del><ins>+ ic_file = File.join(File.dirname(__FILE__),''icons'',''wxwin16x16.xpm'') + il.add_icon( Wx::Icon.new(ic_file) ) + </ins><span class="cx"> assign_image_list(il) </span><span clas...
2007 Jan 30
2
error finding library when running test program
...Wx::DEFAULT_SIZE, iconNames, 1, Wx::RA_SPECIFY_COLS) evt_radiobox(ID_ICON) {|event| on_change_icon(event)} if Wx::RUBY_PLATFORM == "WXMSW" set_icon(Wx::Icon.new("./icons/wxwin.ico")) else set_icon(Wx::Icon.new("./icons/wxwin16x16.xpm")) end show(true) #true is the default value, so it may be left off end def on_change_icon(event) if Wx::RUBY_PLATFORM == "WXMSW" case event.get_int when 0 set_icon(Wx::Icon.new("./icons/wxwin...
2007 Jun 05
0
[1053] trunk/wxruby2/samples: Change references to assign_image_list methods to set_image_list in samples
...p&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-06-05 22:29:54 UTC (rev 1053) </span><span class="lines">@@ -47,7 +47,7 @@ </span><span class="cx"> ic_file = File.join(File.dirname(__FILE__),''icons'',''wxwin16x16.xpm'') </span><span class="cx"> il.add_icon( Wx::Icon.new(ic_file) ) </span><span class="cx"> </span><del>- assign_image_list(il) </del><ins>+ set_image_list(il) </ins><span class="cx&qu...