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
This commit is contained in:
Stefan Csomor
2008-02-23 09:46:26 +00:00
parent ef53a8e814
commit 18d01215a1

View File

@@ -486,7 +486,7 @@ void wxTextCtrl::MacSuperChangedPosition()
void wxTextCtrl::MacVisibilityChanged() void wxTextCtrl::MacVisibilityChanged()
{ {
GetPeer()->VisibilityChanged( IsShownOnScreen() ) ; GetPeer()->VisibilityChanged( GetPeer()->IsVisible() );
} }
void wxTextCtrl::MacCheckSpelling(bool check) void wxTextCtrl::MacCheckSpelling(bool check)