adding constructor from CGImageRef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1011,6 +1011,11 @@ wxBitmap::wxBitmap(const wxString& filename, wxBitmapType type)
|
|||||||
LoadFile(filename, type);
|
LoadFile(filename, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxBitmap::wxBitmap(CGImageRef image)
|
||||||
|
{
|
||||||
|
(void) Create(image);
|
||||||
|
}
|
||||||
|
|
||||||
wxGDIRefData* wxBitmap::CreateGDIRefData() const
|
wxGDIRefData* wxBitmap::CreateGDIRefData() const
|
||||||
{
|
{
|
||||||
return new wxBitmapRefData;
|
return new wxBitmapRefData;
|
||||||
|
Reference in New Issue
Block a user