[gnue] r9530 - trunk/gnue-forms/src/uidrivers/wx26/widgets

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-04-26 08:29:20 -0500 (Thu, 26 Apr 2007)
New Revision: 9530

Modified:
   trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
Log:
also take the x offset into account


Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py	2007-04-26 13:22:45 UTC (rev 9529)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py	2007-04-26 13:29:20 UTC (rev 9530)
@@ -581,7 +581,7 @@
         bitmap = wx.EmptyBitmap(w, h)
         form_dc = wx.MemoryDC()
         form_dc.SelectObject(bitmap)
-        form_dc.Blit(0,0, w, h, window_dc, 0, offsy)
+        form_dc.Blit(0,0, w, h, window_dc, offsx, offsy)
 
         printout = _Printout(title, subtitle, user, bitmap)
         wx.Printer().Print(self.main_window, printout)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.