[wx-dev] #9595: WM_PRINT messages are not being handled (properly).

wxTrac noreply at wxsite.net
Mon Jun 16 12:21:12 PDT 2008


Ticket URL: <http://trac.wxwidgets.org/ticket/9595>

#9595: WM_PRINT messages are not being handled (properly).
-----------------------------------------------------------+----------------
 Reporter:  jeffreyforan                                   |       Owner:         
     Type:  defect                                         |      Status:  new    
 Priority:  normal                                         |   Milestone:         
Component:  wxMSW                                          |     Version:  2.8.7.1
 Keywords:  Windows WM_PRINT device context printer print  |   Blockedby:         
    Patch:  0                                              |    Blocking:         
-----------------------------------------------------------+----------------
 Looked at the source code, and you are not properly handling WM_PRINT.
 This message should draw the window with the passed in device context.
 This is not happening.

 I have some wx windows that I need printing (on windows minimally, but
 eventually on all platforms).  Some of the (windows common) controls work
 and handle this message appropritately (wxNotebook, wxToolBars, wxFrames),
 but the rest of (non-windows-common) controls do not.  This should be an
 easy fix, as, in general, all that needs to be done is to handle the
 WM_PRINT message the same as the WM_PAINT message, except to use the
 passed in device context.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/9595>


More information about the wx-dev mailing list