similar to: Printing Support

Displaying 20 results from an estimated 3000 matches similar to: "Printing Support"

2005 Aug 17
1
enums
See the attached patch to typedefs.i. I added the enums included from CalendarCtrl.i. The calendar sample won''t work correctly without this patch but I''m wondering if there''s a better way, such as moving the declarations into RubyConstants.i instead. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I also expanded the bigdemo window a little bit. I really think we should go larger but I suppose there might be some people at 800x600 still. Note that creating your own art provider still doesn''t quite work correctly. I didn''t have time to get into that. The RubyConstants.i.patch file looks weird. Not
2006 Mar 30
4
RubyConstants.i patch
This patch fixes the problem with the undefined constants. Apologies to Alex as I didn''t apply his patches yet. The fix is to just removed the _C from the end of the ones that won''t compile anymore. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 13
2
RubyConstants.i.patch
This patch fixes up two problems with ArtProvider constants and fixes a small typo. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Sep 13
2
Patches I forgot to send last night, pt. 1
Patch for RubyConstants.i to add ImageList constants _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Oct 17
0
[685] trunk/wxruby2/swig: Add Printing constants and typedefs, add two missing methods (Roy
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Dec 30
8
WxRuby newbie Mac OS 10.4 install questions
Hi. Forgive me if I am asking questions that have already been answered a million times, but there doesn''t seem to be an easy way to search the wxruby-users archives, so... I tried to install wxruby for the Mac by downloading the latest Mac package installer from rubyforge.org/frs/download.php/1985/wxruby-0.6.0-osx-panther.dmg and tried to run some of the wxruby-0.6.0/samples from the
2006 Mar 28
3
ListItem patches
Hi Attached, patches to implement ListItem. This class, in wxruby 0.6.0, allows styling of individual items in a ListCtrl, via a particularly clunky API. In disambiguating the overloaded ListCtrl#set_item method it introduces one non backwards-compatible change. I''ve followed the WxPython convention as described in the Wx class ref, renaming set_item(index, col, string, imageid) to
2005 Aug 30
2
Re: new RubyConstants.i
Here is a small patch to apply the above RubyConstants.i, it makes it so all the samples run. Run the patch in the same directory as the RubyConstants.i Sean On 8/30/05, Sean Long <sean.m.long@gmail.com> wrote: > I went through RubyConstants.i and updated it so everything matches > wx2.6.1, I also did some rearranging so it is easy to see which files > the different constants came
2006 Mar 25
1
Help with File.set_permissions port
I''ve got a (broken) version of File.set_permissions in CVS, and I need some help finishing it off please. Heesob, can you take a look? Thanks, Dan
2004 Nov 19
3
Adding to wxRuby (Now I fired up)
Nick, Curt, Kevin, Now that I have dabbled ever so slightly in adding to wxRuby on a source level (and it wasn''t perfect, Nick had to fix some of my code!), I feel all fired up. Any areas specific that need to be added that I could test my luck with again, or can I just go pick and choose? This gets funner every day... (yes, i constitute "funner" as a word), Zach
2008 Mar 04
1
enum arguments not recognized
Ok, I''ve found a minor problem that I was able to fix, but I''m not sure if this is the right way to handle it, being new to swig and all. Basically, in wxDC.h, there''s a function declaration: void GradientFillLinear(const wxRect& rect, const wxColour& initialColour, const wxColour& destColour, wxDirection nDirection = wxEAST); The problem is
2006 Sep 15
2
wxCursor files
This implements the wxCursor demo and includes a patch to RubyConstants.i needed to make the cursors work right. pointy.png goes into the icons directory Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 May 26
13
win32-dir, unicode
Hi, I''ve got a preliminary version of the pure Ruby version of win32-dir in CVS. However, I was hoping to work out the Unicode issue. Run this: from = "C:\\test" to = "?????" Dir.mkdir(from) unless File.exists?(from) Dir.create_junction(to, from) It works, but my explorer (and dos) window shows the name garbled. I don''t think it''s a font
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note the new %directorargout typemap I added to fix wxWindows calling into SWIG. I don''t know if this can fix all such problems or not. Let me know what you think. I also rubified the sample a little bit more. Also, note that I fix the << operator so the function can be called. I hope I did this right. Roy
2008 May 06
4
DeviceIoControl + IOCTL_DISK_GET_DRIVE_GEOMETRY problem
Hi all, Ok, what am I doing wrong here? require ''windows/device_io'' require ''windows/handle'' require ''windows/error'' include Windows::DeviceIO include Windows::Handle include Windows::Error fh = File.open(''test.txt'') # Assume you have this handle = get_osfhandle(fh.fileno) if handle == INVALID_HANDLE_VALUE puts
2008 Jul 08
12
Some more win32-security: SID.create
Hi all, How does this look as a general approach to a SID.create method: # Creates and initializes def self.create(authority, *sub_authorities) if sub_authorities.length > 8 raise ArgumentError, ''maximum of 8 subauthorities allowed'' end authorities = Array.new(8, 0) authorities.replace(sub_authorities) count = authorities.select{ |e| e > 0 }.size
2006 Aug 10
5
Ampersand Heartburn
Greetings all. I''m using the Microsoft "NorthWind Traders" database "orders" table as test data for the Rico LiveGrid JavaScript. The problem I''m noticing is that some of the records in the "ShipName" field contain ampersands -- which for some reason are not being escaped by Rails. Rails does in fact automatically escape all of the other
2006 Mar 20
5
Need some ACL help for win32-file
Hi folks, I''ve got most everything done for the pure Ruby version of win32-file. The last thing left (since I''ll be moving the IO methods to a different package eventually) is the file security stuff. Here''s what I''ve got so far for the get_permissions method. However, I''m stuck at GetAce(). If someone could help me finish up this method, I
2008 May 17
2
Problem reading log with win32-eventlog - buffer too small
Hi all, A user recently ran into an issue with win32-eventlog and the EventLog#read method when reading a saved log file. It seems that there''s an issue. After some experimentation I found that the problem seems to be that the initial buffer to ReadEventLog() in line 558 is too small, so it tries a second call to ReadEventLog() with a larger buffer. The problem is that, after I