#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:
@@ -265,6 +265,18 @@
|
|||||||
}
|
}
|
||||||
#endif // LoadIcon
|
#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
|
// LoadLibrary
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user