#undef LoadIcon() too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-01-05 22:11:24 +00:00
parent f1872c18e6
commit 8b39c006d8

View File

@ -252,6 +252,20 @@
}
#endif
// LoadIcon
#ifdef LoadIcon
#undef LoadIcon
inline HINSTANCE LoadIcon(HINSTANCE hInstance, LPCTSTR lpIconName)
{
#ifdef _UNICODE
return LoadIconW(hInstance, lpIconName);
#else // ANSI
return LoadIconA(hInstance, lpIconName);
#endif // Unicode/ANSI
}
#endif // LoadIcon
// LoadLibrary
#ifdef LoadLibrary