#undef LoadBitmap() too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-01-08 12:27:28 +00:00
parent d11cd571c9
commit 381adb7449

View File

@@ -265,6 +265,18 @@
}
#endif // LoadIcon
// LoadBitmap
#ifdef LoadBitmap
#undef LoadBitmap
inline HBITMAP LoadBitmap(HINSTANCE hInstance, LPCTSTR lpBitmapName)
{
#ifdef _UNICODE
return LoadBitmapW(hInstance, lpBitmapName);
#else // ANSI
return LoadBitmapA(hInstance, lpBitmapName);
#endif // Unicode/ANSI
}
#endif // LoadBitmap
// LoadLibrary