Printing error with highlighter

Bug #786604 reported by Steven Sproat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Whyteboard
Fix Committed
High
Steven Sproat

Bug Description

Whyteboard 0.41.1
Operating System: Windows NT 6.1 (build 7600)
Screen Resolution: 1366x768
Python Version: 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
wxPython Version: 2.8.10.1 (msw-unicode)
wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on, SWIG-1.3.29)
Python Encoding: Default=ascii File=mbcs
wxPython Encoding: utf-8
System Architecture: 32bit x86
Byte order: little
Frozen: windows_exe

 File \"whyteboard\\gui\\printing.pyo\", line 150, in OnPrintPage
 File \"whyteboard\\gui\\canvas.pyo\", line 338, in redraw_all
 File \"whyteboard\\tools.pyo\", line 622, in draw
 File \"wx\\_gdi.pyo\", line 5597, in Create
TypeError: in method \'GraphicsContext_Create\', expected argument 1 of type \'wxWindow *\'

I don't think I've tested printing with a highlighter tool created.
Yup, it's the cause of it.

Tags: printing

Related branches

Revision history for this message
Steven Sproat (sproaty) wrote :

Hmmm....

Comment from a core wx developer, at - http://trac.wxwidgets.org/ticket/11761

"It looks like support for printer DC has already been added to 2.9, but it will not be possible to do it in the 2.8 series." - Robin Dunn

So I'll either need wx 2.9 at a minimum (may be worth looking into at some point) or just not to support printing highlighters.

Changed in whyteboard:
status: Confirmed → Opinion
Steven Sproat (sproaty)
Changed in whyteboard:
status: Opinion → Confirmed
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.