]> git.saurik.com Git - wxWidgets.git/commitdiff
using dc Create for bitmap, for retina support
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Jun 2013 14:57:14 +0000 (14:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Jun 2013 14:57:14 +0000 (14:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/auibook.cpp

index caa36cbb33316434d9e3e1e382ac1dbda57c2db5..fb3d540a8488c6aba6c308db25942dd7e9c65a9e 100644 (file)
@@ -423,7 +423,7 @@ void wxAuiTabContainer::Render(wxDC* raw_dc, wxWindow* wnd)
     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())