update for digital mars - resolve externals in shell and winsock libs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2003-05-07 13:18:45 +00:00
parent 44e8cf38f1
commit 05d3cd45e5
11 changed files with 26 additions and 92 deletions

View File

@@ -366,16 +366,9 @@ bool wxFileTypeImpl::GetIcon(wxIcon *icon,
wxString strExpPath = wxExpandEnvVars(strFullPath);
// here we need C based counting!
int nIndex = wxAtoi(strIndex);
#ifdef __DIGITALMARS__
//FIXME __DIGITALMARS__ April 2003 CE
// why no ExtractIcon in library
wxLogTrace(_T("wxFileTypeImpl::GetIcon"),
_T("Returning false from wxFileTypeImpl::GetIcon because of DigitalMars compiler bug"));
HICON hIcon = 0 ;
#else
HICON hIcon = ExtractIcon(GetModuleHandle(NULL), strExpPath, nIndex);
#endif
switch ( (int)hIcon ) {
case 0: // means no icons were found
case 1: // means no such file or it wasn't a DLL/EXE/OCX/ICO/...