popupwin for mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-06-14 23:04:35 +00:00
parent fa887f51c1
commit ea3bf30068

View File

@@ -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