From: Stefan Csomor Date: Sat, 23 Feb 2008 09:46:26 +0000 (+0000) Subject: Use native visibility information at this point, as it might trigger during a sequenc... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/18d01215a100236f8ca0209d1662295c6d09f576 Use native visibility information at this point, as it might trigger during a sequence of hiding/showing events git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index 2d443c09b2..d696159d48 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -486,7 +486,7 @@ void wxTextCtrl::MacSuperChangedPosition() void wxTextCtrl::MacVisibilityChanged() { - GetPeer()->VisibilityChanged( IsShownOnScreen() ) ; + GetPeer()->VisibilityChanged( GetPeer()->IsVisible() ); } void wxTextCtrl::MacCheckSpelling(bool check)