using dc Create for bitmap, for retina support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -423,7 +423,7 @@ void wxAuiTabContainer::Render(wxDC* raw_dc, wxWindow* wnd)
|
||||
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())
|
||||
|
Reference in New Issue
Block a user