update to make digitalmars compile

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2003-04-19 18:15:17 +00:00
parent e668651137
commit 4ce1efe123
15 changed files with 97 additions and 56 deletions

View File

@@ -373,6 +373,14 @@ bool wxICOFileHandler::LoadIcon(wxIcon *icon,
long WXUNUSED(flags),
int desiredWidth, int desiredHeight)
{
#ifdef __DIGITALMARS__
//FIXME __DIGITALMARS__ April 2003 CE
// why no ExtractIcon in library
wxLogTrace(_T("iconload"),
_T("Returning false from wxICOFileHandler::Load because of DigitalMars compiler bug"));
return false;
#else
icon->UnRef();
// actual size
@@ -475,6 +483,7 @@ bool wxICOFileHandler::LoadIcon(wxIcon *icon,
icon->SetSize(size.x, size.y);
return icon->Ok();
#endif // Digitalmars
}
bool wxICOResourceHandler::LoadIcon(wxIcon *icon,