X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba950d4418679af6832b2ace1c60046d8682e376..8383e673b1d839548b7336947a61fa699eeb6621:/src/osx/window_osx.cpp?ds=inline diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index a7f6a93160..5e8dc24763 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -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;