Don't show focus rectangle if wxNO_BORDER specified

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-07-17 21:41:35 +00:00
parent c68d5f40d5
commit 7b8373b34f

View File

@@ -2511,7 +2511,7 @@ bool wxMacMLTEHIViewControl::HasFocus() const
bool wxMacMLTEHIViewControl::NeedsFocusRect() const
{
return true ;
return m_windowStyle & wxNO_BORDER ? false : true;
}
#endif