undef LoadMenu() (patch #521743)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a341e32e10
commit
731db70980
@ -43,6 +43,21 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
// LoadMenu
|
||||
|
||||
#ifdef LoadMenu
|
||||
#undef LoadMenu
|
||||
|
||||
inline HMENU LoadMenu(HINSTANCE instance, LPCTSTR name)
|
||||
{
|
||||
#ifdef _UNICODE
|
||||
return LoadMenuW(instance, name);
|
||||
#else
|
||||
return LoadMenuA(instance, name);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
// GetCharWidth
|
||||
|
||||
#ifdef GetCharWidth
|
||||
|
Loading…
Reference in New Issue
Block a user