#include "wx/window.h"
#if wxUSE_POPUPWIN
-
// ----------------------------------------------------------------------------
// wxPopupWindow: a special kind of top level window used for popup menus,
// combobox popups and such.
{
public:
wxPopupWindowBase() { }
+#ifdef __DARWIN__
+ virtual ~wxPopupWindowBase() { }
+#endif
// create the popup window
//
const wxSize& size);
};
+
// include the real class declaration
#ifdef __WXMSW__
#include "wx/msw/popupwin.h"
+#elif __WXPM__
+ #include "wx/os2/popupwin.h"
#elif __WXGTK__
#include "wx/gtk/popupwin.h"
+#elif __WXMGL__
+ #include "wx/mgl/popupwin.h"
#else
#error "wxPopupWindow is not supported under this platform."
#endif
public:
// ctors
wxPopupTransientWindow() { Init(); }
- wxPopupTransientWindow(wxWindow *parent);
+ wxPopupTransientWindow(wxWindow *parent, int style = wxBORDER_NONE);
virtual ~wxPopupTransientWindow();
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