X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d07d2bc9d05408c58b76c53a0a291915b88e5064..588066b7a39629e44bb39f1ab436b80f38c13f33:/wxPython/src/_bitmap.i diff --git a/wxPython/src/_bitmap.i b/wxPython/src/_bitmap.i index 241c9ceada..a89b83b968 100644 --- a/wxPython/src/_bitmap.i +++ b/wxPython/src/_bitmap.i @@ -65,6 +65,8 @@ converted to a wx.Bitmap, so any image file format supported by "); +MustHaveApp(wxBitmap); + class wxBitmap : public wxGDIObject { public: @@ -287,8 +289,8 @@ the ``type`` parameter.", ""); %pythoncode { def __nonzero__(self): return self.Ok() } %extend { - bool __eq__(const wxBitmap* other) { return other ? (*self == *other) : False; } - bool __ne__(const wxBitmap* other) { return other ? (*self != *other) : True; } + bool __eq__(const wxBitmap* other) { return other ? (*self == *other) : false; } + bool __ne__(const wxBitmap* other) { return other ? (*self != *other) : true; } } }; @@ -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: