From 5e2411ab49b01f0dbbc1a5f42f1914c85e476d73 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Jan 2003 22:46:53 +0000 Subject: [PATCH] fixed the return type of LoadIcon() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/winundef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);