]> git.saurik.com Git - wxWidgets.git/commitdiff
adding comments for debugging visibility differences between native and wx state
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 23 Feb 2008 09:53:42 +0000 (09:53 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 23 Feb 2008 09:53:42 +0000 (09:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/window.cpp

index 220960871acaadb4714dcf58559d056b39d93a86..d8de6e9f5544df0b0a27dfc226f80bb03b96caad 100644 (file)
@@ -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;
         }