X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/884360bc11fe926bf91b23215bae719b562df91b..8962e1d9383d615ea48979cd76bd53d5aa5b3026:/docs/latex/wx/eraseevt.tex diff --git a/docs/latex/wx/eraseevt.tex b/docs/latex/wx/eraseevt.tex index 2c4a559780..0eee070ab1 100644 --- a/docs/latex/wx/eraseevt.tex +++ b/docs/latex/wx/eraseevt.tex @@ -7,6 +7,10 @@ An erase event is sent when a window's background needs to be repainted. \helpref{wxEvent}{wxevent}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Event table macros} To process an erase event, use this event handler macro to direct input to a member @@ -19,7 +23,8 @@ function that takes a wxEraseEvent argument. \wxheading{Remarks} -If the {\bf m\_DC} member is non-NULL, draw into this device context. +Use the {\bf m\_DC} device context to draw into, don't create wxPaintDC in +the event handler. \wxheading{See also} @@ -37,12 +42,11 @@ Constructor. \member{wxDC*}{m\_dc} -The device context associated with the erase event (may be NULL). +The device context associated with the erase event. \membersection{wxEraseEvent::GetDC}\label{wxeraseeventgetdc} \constfunc{wxDC*}{GetDC}{\void} -Returns the device context to draw into. If this is non-NULL, you should draw -into it to perform the erase operation. +Returns the device context to draw into.