#define _WX_POPUPWIN_H_BASE_
#ifdef __GNUG__
- #pragma interface "popupwin.h"
+ #pragma interface "popupwinbase.h"
#endif
#include "wx/window.h"
{
public:
wxPopupWindowBase() { }
+#ifdef __DARWIN__
+ virtual ~wxPopupWindowBase() { }
+#endif
// create the popup window
//
// include the real class declaration
#ifdef __WXMSW__
#include "wx/msw/popupwin.h"
+#elif __WXGTK__
+ #include "wx/gtk/popupwin.h"
#else
#error "wxPopupWindow is not supported under this platform."
#endif
friend class wxPopupFocusHandler;
};
-#if wxUSE_COMBOBOX
+#if wxUSE_COMBOBOX && defined(__WXUNIVERSAL__)
// ----------------------------------------------------------------------------
// wxPopupComboWindow: wxPopupTransientWindow used by wxComboBox
wxComboControl *m_combo;
};
-#endif // wxUSE_COMBOBOX
+#endif // wxUSE_COMBOBOX && defined(__WXUNIVERSAL__)
#endif // wxUSE_POPUPWIN