#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:
parent
f1872c18e6
commit
8b39c006d8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user