fixed the return type of LoadIcon()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-01-06 22:46:53 +00:00
parent b447a1a7bc
commit 5e2411ab49

View File

@ -255,7 +255,7 @@
// LoadIcon // LoadIcon
#ifdef LoadIcon #ifdef LoadIcon
#undef LoadIcon #undef LoadIcon
inline HINSTANCE LoadIcon(HINSTANCE hInstance, LPCTSTR lpIconName) inline HICON LoadIcon(HINSTANCE hInstance, LPCTSTR lpIconName)
{ {
#ifdef _UNICODE #ifdef _UNICODE
return LoadIconW(hInstance, lpIconName); return LoadIconW(hInstance, lpIconName);