X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0470b1e6fe7a49bb87756006ef9fc232e3dbaaf8..1fb4de3138151a34ea2653107c08386e3a1236bf:/include/wx/msw/winundef.h?ds=sidebyside diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index 04ab36ae4d..e580f24650 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -187,6 +187,19 @@ } #endif +// FindResource +#ifdef FindResource + #undef FindResource + inline HRSRC FindResource(HMODULE hModule, LPCTSTR lpName, LPCTSTR lpType) + { + #ifdef _UNICODE + return FindResourceW(hModule, lpName, lpType); + #else + return FindResourceA(hModule, lpName, lpType); + #endif + } +#endif + // IsMaximized #ifdef IsMaximized