+// wxPopupWindow: a special kind of top level window used for popup menus,
+// combobox popups and such.
+class wxPopupWindow : public wxWindow {
+public:
+ wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE);
+ %name(wxPrePopupWindow)wxPopupWindow();
+
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPrePopupWindow:val._setOORInfo(self)"
+
+ bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
+
+ void Position(const wxPoint& ptOrigin,
+ const wxSize& size);
+};
+
+
+%{
+class wxPyPopupTransientWindow : public wxPopupTransientWindow
+{
+public:
+ wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
+ wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
+ : wxPopupTransientWindow(parent, style) {}
+
+ DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
+ PYPRIVATE;
+};
+
+IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
+
+%}
+