[wx 2.8.0, XP,
MSVC6] Bug in wxBufferedPaintDC with wxBUFFER_VIRTUAL_AREA style ?
Sébastien Gallou
sebastien.gallou at gmail.com
Wed Feb 28 23:32:18 PST 2007
Dear wx-user,
I have found everything that seems strange to me.
When using wxBufferedPaintDC with wxScrolledWindow, I must set the
wxBUFFER_VIRTUAL_AREA style, which make prepare the DC by the constructor of
wxBufferedPaintDC, and set the size for this dc. Here is the problem : the
size come from the window client size, by a call to GetClientSize()
independently if wxBUFFER_VIRTUAL_AREA style is used or not. I think in the
case where wxBUFFER_VIRTUAL_AREA style is used, the size whould come from
GetVirtualSize, isn't it ?
Or maybe I don't have correctly undestand how to redraw a scrolled window...
Thanks
S=E9bastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070301/138=
0d92b/attachment.htm
More information about the wx-users
mailing list