X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a42b93aaade954a1ae5aea72153865a862a1d9d2..53adbc34a2e20614c9bb6cd1ef826d3e53544e35:/docs/latex/wx/window.tex diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index d1f4b13fac..424cc23d72 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -528,12 +528,6 @@ implements the following methods:\par Returns a pointer to the window's layout constraints, or NULL if there are none. -\membersection{wxWindow::GetDefaultItem}\label{wxwindowgetdefaultitem} - -\constfunc{wxButton*}{GetDefaultItem}{\void} - -Returns a pointer to the button which is the default for this window, or NULL. - \membersection{wxWindow::GetDropTarget}\label{wxwindowgetdroptarget} \constfunc{wxDropTarget*}{GetDropTarget}{\void} @@ -1409,9 +1403,12 @@ Sent to the event handler when the window must be refreshed. \wxheading{Remarks} + + Use the EVT\_PAINT macro in an event table definition to intercept paint events. -In a paint event handler, the application should always create a \helpref{wxPaintDC}{wxpaintdc} object. +Note that In a paint event handler, the application must {\it always} create a \helpref{wxPaintDC}{wxpaintdc} object, +even if you do not use it. Otherwise, under MS Windows, refreshing for this and other windows will go wrong. For example: