X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72625b36b6fdaea839a5132e8f5d52dea7155bec..7ddb15416407390de67cc26b04e91ea99a521f57:/include/wx/osx/bitmap.h diff --git a/include/wx/osx/bitmap.h b/include/wx/osx/bitmap.h index eba46c6a1c..736e325376 100644 --- a/include/wx/osx/bitmap.h +++ b/include/wx/osx/bitmap.h @@ -107,6 +107,9 @@ public: wxBitmap(CGImageRef image); wxBitmap(WX_NSImage image); + // Create a bitmap compatible with the given DC + wxBitmap(int width, int height, const wxDC& dc); + // If depth is omitted, will create a bitmap compatible with the display wxBitmap(int width, int height, int depth = -1) { (void)Create(width, height, depth); } wxBitmap(const wxSize& sz, int depth = -1) { (void)Create(sz, depth); }