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:
@@ -2511,7 +2511,7 @@ bool wxMacMLTEHIViewControl::HasFocus() const
|
||||
|
||||
bool wxMacMLTEHIViewControl::NeedsFocusRect() const
|
||||
{
|
||||
return true ;
|
||||
return m_windowStyle & wxNO_BORDER ? false : true;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user