the wx part knows better whether it has the focus (may be the embedded NSView, not the m_peer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
52112306b0
commit
d5bda0b2bd
@ -1482,7 +1482,7 @@ void wxWindowMac::MacPaintBorders( int WXUNUSED(leftOrigin) , int WXUNUSED(right
|
||||
if ( IsTopLevel() )
|
||||
return ;
|
||||
|
||||
bool hasFocus = m_peer->NeedsFocusRect() && m_peer->HasFocus() ;
|
||||
bool hasFocus = m_peer->NeedsFocusRect() && HasFocus();
|
||||
|
||||
// back to the surrounding frame rectangle
|
||||
int tx,ty,tw,th;
|
||||
|
Loading…
Reference in New Issue
Block a user