]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't show focus rectangle if wxNO_BORDER specified
authorJulian Smart <julian@anthemion.co.uk>
Sat, 17 Jul 2004 21:41:35 +0000 (21:41 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 17 Jul 2004 21:41:35 +0000 (21:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index 599dc75b6b228923e7a46841fb5468cedc73c4d1..645667a69bcc3a6addc525e2fce35eaa4f40df83 100644 (file)
@@ -2511,7 +2511,7 @@ bool wxMacMLTEHIViewControl::HasFocus() const
 
 bool wxMacMLTEHIViewControl::NeedsFocusRect() const 
 {
-    return true ;
+    return m_windowStyle & wxNO_BORDER ? false : true;
 }
 
 #endif