search for: wxmsw

Displaying 20 results from an estimated 25 matches for "wxmsw".

2007 Jun 17
2
Wx::TextCtrl and wxMSW
Hey Alex, Found a solution to the problem that was occuring with wxMSW and the Wx::TextCtrl, have yet to verify that this will work in linux, but my little trick to the matter, was simple, thanks to the things that are provided with both Wx::TextCtrl, and Wx::Window classes. I''m providing this bit of information for thoes who may have trouble with dealing wi...
2007 Oct 24
2
MediaCtrl?
...way to play media files from within ruby (cross platform and especially on windows). Or is it just that nobody have had any need for it yet? Until now I have only used the binary releases of wxruby, but will try to set up a build environment to try to wrap it myself. Should MSVC 2005, latest swig, wxMSW-2.8.6 and ruby 1.8.6 be compatible with the one-click installer? If I do succeed - don''t hold your breath - are you interested in patches? Thanks, Albin Holmgren _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mai...
2007 Jul 18
0
[ wxruby-Bugs-12360 ] TreeCtrl#on_compare_items not working on MSW
...ems not working on MSW Initial Comment: If a TreeCtrl defines a custom on_compare_items method, this is not called when the tree is sorted on MSW. This works correctly on OS X and Linux. The following note in the wxWidgets headers may indicate the source of the problem: // NB: due to an ugly wxMSW hack you _must_ use DECLARE_DYNAMIC_CLASS() // if you want your overloaded OnCompareItems() to be called. // OTOH, if you don''t want it you may omit the next line - this will // make default (alphabetical) sorting much faster under wxMSW. --------------------------...
2003 Nov 13
7
modified classes
-- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ -------------- next part -------------- A non-text attachment was scrubbed... Name:
2007 Jan 30
2
error finding library when running test program
...uot;smiley"] icons = Wx::RadioBox.new(panel, ID_ICON, "&Icons", Wx::Point.new (20,5), 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_P...
2007 Feb 12
0
[871] trunk/wxruby2/samples/printing/printing.rb: Enable sample to be run from other directories
...&nbsp2007-02-12 19:55:19 UTC (rev 871) </span><span class="lines">@@ -101,9 +101,11 @@ </span><span class="cx"> </span><span class="cx"> # Load icon </span><span class="cx"> if Wx::PLATFORM == "WXMSW" </span><del>- my_icon = Wx::Icon.new("mondrian.ico",Wx::BITMAP_TYPE_ICO) </del><ins>+ icon_file = File.join(File.dirname(__FILE__), ''mondrian.ico'') + my_icon = Wx::Icon.new(icon_file, Wx::BITMAP_TYPE_ICO) </ins><span...
2006 Sep 17
11
ShapedWindow.rbw
These patches implement wxRegion and the ShapedWindow sample. I stole the ruby image from ruby-lang.org. Shamelessly. Maybe someone has a better image we can use for the shaped window. It didn''t seem to make sense to use the Python image. I''d like something even bigger than what I stol^h^h^h^hmade, preferably. Image goes in icons. I had to %ignore one function in wxRegion.
2006 Sep 21
9
problem with TextCtrl#get_insertion_point
I''m trying to un-ignore TextCtrl#get_selection. The typemaps work fine, but in the process it breaks get_insertion_point. This is because (on Mac, tho not GTK), get_insertion_point calls get_selection internally and simply returns the first value. I think the return value is being converted from a long to a ruby int twice, because when get_selection is wrapped, it works fine but the
2008 Jan 24
0
Win32 Compile
Hey Alex, I know I proabbly asked you this in the past, but what environment are you using to compile wxRuby and wxMSW in? Is it VC6? I want to know, so I can see about setting up this environment for myself, to do some compiles of SVN wxRuby on Windows. Let me know, and l8ers, -- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxri...
2007 Jun 08
0
[ wxruby-Bugs-11446 ] Wx::TextCtrl behaves wrong when scrolling
...buffer, as text is appended with AutoScroll enabled, it flashes the text incoming past the bounds of the control, to the top, you can scroll up, and have the text reset, but once more text is added, it''ll flash it, and put the new text at the top as before. This has only been observed on wxMSW Version of v0.0.40 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=11446&group_id=35
2007 Mar 30
1
wxWidgets 2.8.3
...right away? The changes are: All: - Shut down the sockets gracefully (Sergio Aguayo) - Fix extra indentation in wxHTML_ALIGN_JUSTIFY display (Chacal) wxMac - Corrected top border size for wxStaticBox with empty label (nusi). - Fixed wxFont, wxPen and wxBrush accessor bugs introduced in 2.8.2. wxMSW: - Fixed wxFileName::GetSize() for large files. - Fixed wxFont and wxPen accessor bugs introduced in 2.8.2. My vote is to switch because it only looks like minor fixes (which a 2.8.x release should be). Sean
2006 Oct 17
0
Printing fix
> The sample doesn''t work on Windows as it is now. RUBY_PLATFORM is never > equal to WXMSW. I need to fix all our samples that have something > similar. Oddly, many samples work fine on Windows with icons that are > xpm (since obviously the test always fails). This example does not. The sample runs the same on Windows for me as it does on OS X. > Print does bring up the pri...
2006 Oct 20
1
include Wx in samples?
Alex Fenton wrote: > Just for reference, it should be Wx::PLATFORM now (from > swig/RubyConstants). If scripts are referring to RUBY_PLATFORM, they are > referring to Ruby''s constant in the main namespace (eg i686-mswin) not > our WXMSW. I find the const confusion one reason not to ''include Wx'' in > samples, but appreciate it''s a matter of taste. Yes. I prefer not to include Wx because of various possible namespace collisions. However, we should probably have at least one sample (maybe minimal.rb)...
2004 Jun 28
0
Problems with VC++.NET
wxruby CVS HEAD MSVC++.NET 2003 wxMSW-2.4.2 HEAD I''ve been having some issues with wxruby when I use the latest and greatest VC++ where not all of the class initializers seem to run. The library will load fine, but Point or Colour won''t exist. I *think* I''ve tracked it to the number of duplicate classes n...
2003 Aug 22
1
README.mingw32
...ruby library you need: * MinGW package available on: http://www.mingw.org/download.shtml (I use MinGW-3.0.0-rc4.exe) * MSYS package available on http://www.mingw.org/download.shtml (I use MSYS-1.0.9.exe package) * wxWindows from Windows package available on http://www.wxwindows.org (I use wxMSW-2.4.1-setup.zip archive * Ruby (I built my own version from the ruby-1.8.0.tar.gz archive) * wxruby package available on _________ (pls. add URL!!!) Procedure ========== 1) Installing MinGW & MSYS If you already have MinGW & MSYS installed, then skip to the step 2). Download and insta...
2005 Jul 24
11
Official name change to wxruby2
The CVS module has been renamed from wxruby-swig to wxruby2, and I have checked in the related changes to reflect the name change. Anyone with a CVS tree will need to re-checkout from CVS because of the module name change. There is now a wx.rb in the lib/ directory, which loads the wxruby2 shared library that gets built. I have tagged this as 0.0.22. Next steps: - Apply Choice.i patch from
2010 Jan 17
3
Does wxRuby include Gizmos controls?
Hi, I''m starting to use wxRuby for personal projects. Originally, I used wxPython in my company because they don''t want to install the Ruby environment just for me... But at home, I still prefer the Ruby language... So, wxWidgets is a great library, but wxPythons add some intersting stuff. I''m specially interested by the TreeListCtrl. it seems that this control
2006 Oct 17
0
[681] trunk/wxruby2/samples/treectrl/treectrl.rb: wxMAC does not like menu id''s of 0 so I fixed that also made set_item_text_colour
...,cookie) </span><span class="cx"> id,cookie = get_next_child(root_id,cookie) </span><del>- set_item_text_colour(id, Wx::RED) - # Not supported on OS X - set_item_background_colour(id, Wx::LIGHT_GREY) </del><ins>+ if Wx::PLATFORM == "WXMSW" + set_item_text_colour(id, Wx::RED) + set_item_background_colour(id, Wx::LIGHT_GREY) + end </ins><span class="cx"> end </span><span class="cx"> </span><span class="cx"> def get_items_recursively(parent_i...
2006 Aug 14
6
Patches to rake files
rakewx.rb: - Added a $debug_build variable so when we do eventually we can also release non debug builds. I did not make this a constant on purpose so in the package tasks we can change it to false if we want to always make non debug builds by default. - Changed wx_config to use the $debug_build variable rakemswin.rb: - Updated the copyright year. - removed the $DEBUG const and make use of
2007 Jan 05
0
[832] trunk/wxruby2/samples: Fix samples for TreeItemIds as integers, fix image size in treectrl sample
...del>- if @item.is_ok </del><ins>+ if @item.nonzero? </ins><span class="cx"> @log.write_text("on_sel_changed: " + @tree.get_item_text(@item)) </span><span class="cx"> # if Wx::PLATFORM == "WXMSW" </span><span class="cx"> #@log.write_text("BoundingRect: " + @tree.get_bounding_rect(@item)) </span></span></pre></div> <a id="trunkwxruby2samplestreectrltreectrlrb"></a> <div class="modfile&...