]> git.saurik.com Git - wxWidgets.git/commitdiff
Use native visibility information at this point, as it might trigger during a sequenc...
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 23 Feb 2008 09:46:26 +0000 (09:46 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 23 Feb 2008 09:46:26 +0000 (09:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index 2d443c09b29309aca16f3ceca172c9d054fc3bb2..d696159d4889029d67851c82c021ceed01dcfa8b 100644 (file)
@@ -486,7 +486,7 @@ void wxTextCtrl::MacSuperChangedPosition()
 
 void wxTextCtrl::MacVisibilityChanged()
 {
-    GetPeer()->VisibilityChanged( IsShownOnScreen() ) ;
+    GetPeer()->VisibilityChanged( GetPeer()->IsVisible() );
 }
 
 void wxTextCtrl::MacCheckSpelling(bool check)