From 17f8d2a701c9d0321a3b37c3c0b1d2ddc9ec91d1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 18 Aug 2003 23:54:19 +0000 Subject: [PATCH] commented out annoying wxLogDebug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toplevel.cpp | 3 ++- src/mac/toplevel.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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);