From: Vadim Zeitlin Date: Mon, 6 Jan 2003 22:46:53 +0000 (+0000) Subject: fixed the return type of LoadIcon() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5e2411ab49b01f0dbbc1a5f42f1914c85e476d73 fixed the return type of LoadIcon() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index d9eb7c339d..a3f6a6c99d 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -255,7 +255,7 @@ // LoadIcon #ifdef LoadIcon #undef LoadIcon - inline HINSTANCE LoadIcon(HINSTANCE hInstance, LPCTSTR lpIconName) + inline HICON LoadIcon(HINSTANCE hInstance, LPCTSTR lpIconName) { #ifdef _UNICODE return LoadIconW(hInstance, lpIconName);