Implemented CopyFromBitmap, CopyFromIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1044,6 +1044,9 @@ wxImage wxBitmap::ConvertToImage() const
|
||||
|
||||
bool wxBitmap::CopyFromIcon(const wxIcon& icon)
|
||||
{
|
||||
// TODO
|
||||
return FALSE;
|
||||
wxBitmap* bitmap = (wxBitmap*) & icon;
|
||||
|
||||
*this = *bitmap;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user