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);