adding comments for debugging visibility differences between native and wx state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3210,6 +3210,12 @@ bool wxWindowMac::IsShownOnScreen() const
|
|||||||
bool wxVis = wxWindowBase::IsShownOnScreen();
|
bool wxVis = wxWindowBase::IsShownOnScreen();
|
||||||
if( peerVis != wxVis )
|
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();
|
wxVis = wxWindowBase::IsShownOnScreen();
|
||||||
return wxVis;
|
return wxVis;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user