attempts to fix GTK refresh - completely fruitless so far
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -376,8 +376,13 @@ void wxControlRenderer::DrawButtonBorder()
|
||||
|
||||
m_renderer->DrawButtonBorder(m_dc, m_rect, flags, &m_rect);
|
||||
|
||||
m_renderer->DrawBackground(m_dc, m_window->GetBackgroundColour(),
|
||||
m_rect, flags);
|
||||
wxColour colBg;
|
||||
if ( !(flags & wxCONTROL_CURRENT) )
|
||||
{
|
||||
colBg = m_window->GetBackgroundColour();
|
||||
}
|
||||
|
||||
m_renderer->DrawBackground(m_dc, colBg, m_rect, flags);
|
||||
}
|
||||
|
||||
void wxControlRenderer::DrawBitmap(const wxBitmap& bitmap)
|
||||
|
Reference in New Issue
Block a user