summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
659d10c)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74290
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
size_t button_count = m_buttons.GetCount();
// create off-screen bitmap
size_t button_count = m_buttons.GetCount();
// create off-screen bitmap
- bmp.Create(m_rect.GetWidth(), m_rect.GetHeight());
+ bmp.Create(m_rect.GetWidth(), m_rect.GetHeight(),*raw_dc);
dc.SelectObject(bmp);
if (!dc.IsOk())
dc.SelectObject(bmp);
if (!dc.IsOk())