X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b225f65995e9eccefe9b502568b1b8e40629cd1a..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/msw/winundef.h diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index 87c9c72f53..e83f34baa6 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -74,6 +74,23 @@ #endif #endif +// PlaySound + +#ifdef PlaySound + #undef PlaySound + #ifdef _UNICODE + inline BOOL PlaySound(LPCWSTR pszSound, HMODULE hMod, DWORD fdwSound) + { + return PlaySoundW(pszSound, hMod, fdwSound); + } + #else + inline BOOL PlaySound(LPCSTR pszSound, HMODULE hMod, DWORD fdwSound) + { + return PlaySoundA(pszSound, hMod, fdwSound); + } + #endif +#endif + // GetClassName #ifdef GetClassName @@ -291,6 +308,11 @@ } #endif + +#ifdef Yield + #undef Yield +#endif + // GetWindowProc //ifdef GetWindowProc // #undef GetWindowProc