From: Stefan Csomor Date: Mon, 3 Jun 2013 09:40:50 +0000 (+0000) Subject: deal with Cocoa as we do with Carbon, see #15008 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c34cd96a337d3ffb75cd39e5d3f620b9a24a2acb deal with Cocoa as we do with Carbon, see #15008 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index 84474fa8eb..3a16fa1b1a 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -130,7 +130,7 @@ protected: // get alerted when child gets deleted from under us void OnDestroy(wxWindowDestroyEvent& event); -#if defined(__WXMSW__) ||(defined(__WXMAC__) && wxOSX_USE_CARBON) +#if defined(__WXMSW__) ||(defined(__WXMAC__) && wxOSX_USE_COCOA_OR_CARBON) // Check if the mouse needs to be captured or released: we must release // when it's inside our window if we want the embedded controls to work. void OnIdle(wxIdleEvent& event);