#ifdef __WXMAC_CLASSIC__ #error "wxPopupWindow is not supported under this platform." #else #include "wx/mac/carbon/popupwin.h" #endif