[wx 2.8.0, WinXP, VC 6.0] Refresh pb in a wxScrolledWindow containing transparent sub-window

Vadim Zeitlin vadim at wxwindows.org
Wed Jan 31 16:11:58 PST 2007


On Wed, 31 Jan 2007 13:14:53 +0100 Sébastien Gallou <sebastien.gallou at gmail.com> wrote:

SG> Please consider the wxWidgets's simple scroll sample, modified like that :
SG> - In MySimpleCanvas ctor, I instanciate a wxWindow with wxTRANSPARENT_WINDOW
SG> flag in ctor, which is at 0,0.

 It doesn't directly answer your question but I would advise against using
this style anyhow. It's Windows-only and was overridden by wxTopLevelWindow::
SetTransparent() method which does work in the other ports for top level
windows.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list