- virtual bool Create(int width, int height, int depth = -1);
- virtual bool Create(NSImage* cocoaNSImage);
- virtual bool Create(NSBitmapImageRep* cocoaNSBitmapImageRep);
+ virtual bool Create(int width, int height, int depth = wxBITMAP_SCREEN_DEPTH);
+ virtual bool Create(const wxSize& sz, int depth = wxBITMAP_SCREEN_DEPTH)
+ { return Create(sz.GetWidth(), sz.GetHeight(), depth); }
+
+ bool Create(NSImage* cocoaNSImage);
+ bool Create(NSBitmapImageRep* cocoaNSBitmapImageRep);