Ticket #14917 (closed defect: fixed)
Custom background doesn't work for wxScrolledWindow in wxMSW
| Reported by: | vadz | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9.5 |
| Component: | wxMSW | Version: | |
| Keywords: | background erase | Cc: | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
Erase sample shows several problems under Windows 7:
- With the default wxBG_STYLE_ERASE (i.e. after startup) scrolling doesn't work at all, display can be not updated or partially updated or worse.
- Scrolling works fine with wxBG_STYLE_SYSTEM but if a background bitmap is set too, then it's not redrawn correctly when scrolling.
- With wxBG_STYLE_PAINT and "Erase background in EVT_PAINT" option on, the custom background is not shown at all in the main window, of course, but it still shows through wxStaticText and wxStaticBitmap and is still corrupted when scrolling.
It would be great to fix at least the first problem as it's probably a regression. Any help with finding the change that broke it would be very welcome.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

