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