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:
@@ -65,6 +65,8 @@ converted to a wx.Bitmap, so any image file format supported by
|
||||
");
|
||||
|
||||
|
||||
MustHaveApp(wxBitmap);
|
||||
|
||||
class wxBitmap : public wxGDIObject
|
||||
{
|
||||
public:
|
||||
@@ -306,6 +308,8 @@ A mask may be associated with a `wx.Bitmap`. It is used in
|
||||
`wx.MemoryDC` with a `wx.Bitmap` selected into it that contains a
|
||||
mask.", "");
|
||||
|
||||
MustHaveApp(wxMask);
|
||||
|
||||
class wxMask : public wxObject {
|
||||
public:
|
||||
|
||||
|
Reference in New Issue
Block a user