X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c180caf1bd8fed8fb93852e3c011c630fd2d32a..6c4fc6a8e3bea19621a328e66b3857ab01a5c15a:/docs/latex/wx/paintevt.tex diff --git a/docs/latex/wx/paintevt.tex b/docs/latex/wx/paintevt.tex index cae225e95e..b2f9598bd4 100644 --- a/docs/latex/wx/paintevt.tex +++ b/docs/latex/wx/paintevt.tex @@ -2,6 +2,11 @@ A paint event is sent when a window's contents needs to be repainted. +Please notice that in general it is impossible to change the drawing of a +standard control (such as \helpref{wxButton}{wxbutton}) and so you shouldn't +attempt to handle paint events for them as even if it might work on some +platforms, this is inherently not portable and won't work everywhere. + \wxheading{Derived from} \helpref{wxEvent}{wxevent}\\ @@ -88,7 +93,7 @@ void MyWindow::OnPaint(wxPaintEvent& event) \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxPaintEvent::wxPaintEvent} +\membersection{wxPaintEvent::wxPaintEvent}\label{wxpainteventctor} \func{}{wxPaintEvent}{\param{int }{id = 0}}