added missing methods/removed duplicated base methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-08-12 15:43:02 +00:00
parent a99c96b0ff
commit d062e17fca
7 changed files with 26 additions and 31 deletions

View File

@@ -69,6 +69,12 @@ bool wxIcon::LoadFile(const wxString& filename, long type,
return FALSE;
}
void wxIcon::CopyFromBitmap(const wxBitmap& bmp)
{
wxIcon *icon = (wxIcon*)(&bmp);
*this = *icon;
}
IMPLEMENT_DYNAMIC_CLASS(wxICONResourceHandler, wxBitmapHandler)
bool wxICONResourceHandler::LoadFile(wxBitmap *bitmap, const wxString& name, long flags,