Attempted to fix splittree problem by not pushing event handler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-12-01 12:26:27 +00:00
parent 38058a49c6
commit 13ff9344d6
9 changed files with 112 additions and 65 deletions

View File

@@ -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