+
+
+ DocStr(wxBitmap(const wxSize& size, int depth=-1),
+ "Creates a new bitmap of the given size. A depth of -1 indicates
+the depth of the current screen or visual. Some platforms only
+support 1 for monochrome and -1 for the current colour setting.");
+
+ %nokwargs wxBitmap(int width, int height, int depth=-1);
+ %nokwargs wxBitmap(const wxSize& size, int depth=-1);
+ %name(EmptyBitmap)wxBitmap(int width, int height, int depth=-1) {
+ return new wxBitmap(width, height, depth);
+ }
+ %name(EmptyBitmap)wxBitmap(const wxSize& size, int depth=-1) {
+ return new wxBitmap(size.x, size.y, depth);
+ }