git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60531
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+ if (stat & wxODHasFocus)
+ wxRendererNative::Get().DrawFocusRect(m_pParent, dc, rc);
+
// draw the item
bool wxOwnerDrawn::OnDrawItem(wxDC& dc,
const wxRect& rc,
// draw the item
bool wxOwnerDrawn::OnDrawItem(wxDC& dc,
const wxRect& rc,
- // we do nothing on focus change
- if ( act == wxODFocusChanged )
- return true;
-
-
// this flag determines whether or not an edge will
// be drawn around the bitmap. In most "windows classic"
// applications, a 1-pixel highlight edge is drawn around
// this flag determines whether or not an edge will
// be drawn around the bitmap. In most "windows classic"
// applications, a 1-pixel highlight edge is drawn around