X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/13ff9344d600ab38ad5ad4088d4a4797184405d2..dc0bedff0c90235ee845936035db5218a0b68a3e:/include/wx/msw/winundef.h diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index e83f34baa6..2a63c4864b 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -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