X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..ad3fca675f77c2903cafd096bbda8baa2e7689ff:/wxPython/src/_popupwin.i diff --git a/wxPython/src/_popupwin.i b/wxPython/src/_popupwin.i index 38ae99eda9..706fbccab0 100644 --- a/wxPython/src/_popupwin.i +++ b/wxPython/src/_popupwin.i @@ -23,9 +23,12 @@ #ifndef __WXMAC__ %newgroup; +MustHaveApp(wxPopupWindow); // wxPopupWindow: a special kind of top level window used for popup menus, // combobox popups and such. +MustHaveApp(wxPopupWindow); + class wxPopupWindow : public wxWindow { public: %pythonAppend wxPopupWindow "self._setOORInfo(self)" @@ -73,9 +76,11 @@ IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismis %} +MustHaveApp(wxPyPopupTransientWindow); // wxPopupTransientWindow: a wxPopupWindow which disappears automatically // when the user clicks mouse outside it or if it loses focus in any other way + %name(PopupTransientWindow) class wxPyPopupTransientWindow : public wxPopupWindow { public: