X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..015fd9ef4833ec3d8b0043a1c7e448c8be4f734a:/wxPython/src/_popupwin.i?ds=inline 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: