X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18d01215a100236f8ca0209d1662295c6d09f576..d5af92fdd98f2e50a620a20e04a98592333ab3ec:/src/mac/carbon/window.cpp?ds=sidebyside diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 220960871a..d8de6e9f55 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -3210,6 +3210,12 @@ bool wxWindowMac::IsShownOnScreen() const bool wxVis = wxWindowBase::IsShownOnScreen(); if( peerVis != wxVis ) { + // CS : put a breakpoint here to investigate differences + // between native an wx visibilities + // the only place where I've encountered them until now + // are the hiding/showing sequences where the vis-changed event is + // first sent to the innermost control, while wx does things + // from the outmost control wxVis = wxWindowBase::IsShownOnScreen(); return wxVis; }