#include "wx/window.h"
#if wxUSE_POPUPWIN
-
// ----------------------------------------------------------------------------
// wxPopupWindow: a special kind of top level window used for popup menus,
// combobox popups and such.
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__
public:
// ctors
wxPopupTransientWindow() { Init(); }
- wxPopupTransientWindow(wxWindow *parent);
+ wxPopupTransientWindow(wxWindow *parent, int style = wxBORDER_NONE);
virtual ~wxPopupTransientWindow();
friend class wxPopupWindowHandler;
friend class wxPopupFocusHandler;
+
+ DECLARE_DYNAMIC_CLASS(wxPopupTransientWindow)
};
#if wxUSE_COMBOBOX && defined(__WXUNIVERSAL__)
// the parent combobox
wxComboControl *m_combo;
+
+ DECLARE_DYNAMIC_CLASS(wxPopupComboWindow)
};
#endif // wxUSE_COMBOBOX && defined(__WXUNIVERSAL__)