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:
Vadim Zeitlin
2000-09-05 19:21:57 +00:00
parent f85b3ee981
commit d0b9653f6c
5 changed files with 69 additions and 30 deletions

View File

@@ -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)