X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef53a8e81460709c871aec9d1693c2f4770592d8..6cef0db28018fd2644ee4e38af715872e5242459:/src/mac/carbon/window.cpp?ds=inline diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 220960871a..a568f33d28 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -885,9 +885,6 @@ void wxWindowMac::Init() m_macIsUserPane = true; m_clipChildren = false ; m_cachedClippedRectValid = false ; - - // we need a valid font for the encodings - wxWindowBase::SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); } wxWindowMac::~wxWindowMac() @@ -3210,6 +3207,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; }