Make wxRenderer::DrawItemSelectionRect() draw a focus outline of wxCONTROL_CURRENT and wxCONTROL_FOCUSED is given, blind patch for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -619,7 +619,7 @@ wxRendererGTK::DrawItemSelectionRect(wxWindow *win,
|
||||
state = GTK_STATE_NORMAL;
|
||||
}
|
||||
|
||||
if (flags & wxCONTROL_CURRENT)
|
||||
if ((flags & wxCONTROL_CURRENT) && (flags & wxCONTROL_FOCUSED))
|
||||
{
|
||||
gtk_paint_focus( win->m_widget->style,
|
||||
gdk_window,
|
||||
|
||||
Reference in New Issue
Block a user