From de9a407728e5f47ed416365da9c07798ad0b0b26 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 22 Sep 2005 09:59:57 +0000 Subject: [PATCH] warning about standard controls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/paintevt.tex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/latex/wx/paintevt.tex b/docs/latex/wx/paintevt.tex index 9facc650ca..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}\\ -- 2.45.2