All the Window and GDI (pen, bitmap, etc.) classes and also many
toplevel functions will now check that a wx.App object has already been created and will raise a wx.PyNoAppError exception if not. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user