From ea3bf30068e0fd8b09eacfe3e753f2408983c461 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 14 Jun 2007 23:04:35 +0000 Subject: [PATCH] popupwin for mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/popupcmn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index 57ba86c0a0..5d382ed16e 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -301,7 +301,7 @@ bool wxPopupTransientWindow::Show( bool show ) } #endif -#ifdef __WXMSW__ +#if defined( __WXMSW__ ) || defined( __WMAC__ ) if (!show && m_child && m_child->HasCapture()) { m_child->ReleaseMouse(); @@ -343,7 +343,7 @@ bool wxPopupTransientWindow::Show( bool show ) } #endif -#ifdef __WXMSW__ +#if defined( __WXMSW__ ) || defined( __WMAC__ ) if (show && m_child) { // Assume that the mouse is outside the popup to begin with