diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index e33370b924..f2ca8c251c 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -127,7 +127,7 @@ protected: // get alerted when child gets deleted from under us void OnDestroy(wxWindowDestroyEvent& event); -#ifdef __WXMSW__ +#if defined( __WXMSW__ ) || defined( __WXMAC__ ) // check if the mouse needs captured or released void OnIdle(wxIdleEvent& event); #endif