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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user