X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0419fee9c3f0acc5cc0712796b2818f4f434d70e..d0260bd894ec5ef95c960e45cdaff3e6ebae019d:/include/wx/popupwin.h diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index 4f451a644e..a4438261d4 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -134,7 +134,7 @@ protected: // wxOSX/Carbon doesn't generate mouse capture loss events currently so // poll for the capture loss ourselves. -#if wxOSX_USE_CARBON +#if defined(__WXMAC__) && wxOSX_USE_CARBON // check if the mouse needs captured or released void OnIdle(wxIdleEvent& event); #endif