From: Vadim Zeitlin Date: Mon, 18 Aug 2003 23:54:19 +0000 (+0000) Subject: commented out annoying wxLogDebug X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/17f8d2a701c9d0321a3b37c3c0b1d2ddc9ec91d1 commented out annoying wxLogDebug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 7fc8dc68c3..a6a9882aea 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -957,7 +957,8 @@ void wxTopLevelWindowMac::MacDelayedDeactivation(long timestamp) void wxTopLevelWindowMac::MacActivate( long timestamp , bool inIsActivating ) { - wxLogDebug(wxT("TopLevel=%p::MacActivate"),this); + // wxLogDebug(wxT("TopLevel=%p::MacActivate"),this); + if(s_macDeactivateWindow==this) s_macDeactivateWindow=NULL; MacDelayedDeactivation(timestamp); diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index 7fc8dc68c3..a6a9882aea 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -957,7 +957,8 @@ void wxTopLevelWindowMac::MacDelayedDeactivation(long timestamp) void wxTopLevelWindowMac::MacActivate( long timestamp , bool inIsActivating ) { - wxLogDebug(wxT("TopLevel=%p::MacActivate"),this); + // wxLogDebug(wxT("TopLevel=%p::MacActivate"),this); + if(s_macDeactivateWindow==this) s_macDeactivateWindow=NULL; MacDelayedDeactivation(timestamp);