X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39b61aa3eb950489f880fbe2024d3b5bc82a11f5..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/sound.h diff --git a/include/wx/sound.h b/include/wx/sound.h index a0c780488f..d60d7f3d69 100644 --- a/include/wx/sound.h +++ b/include/wx/sound.h @@ -40,7 +40,7 @@ public: { wxASSERT_MSG( (flags & wxSOUND_LOOP) == 0 || (flags & wxSOUND_ASYNC) != 0, - _T("sound can only be looped asynchronously") ); + wxT("sound can only be looped asynchronously") ); return DoPlay(flags); } @@ -55,12 +55,12 @@ protected: // wxSound class implementation // ---------------------------------------------------------------------------- -#if defined(__WXMSW__) +#if defined(__WINDOWS__) #include "wx/msw/sound.h" #elif defined(__WXCOCOA__) #include "wx/cocoa/sound.h" #elif defined(__WXMAC__) - #include "wx/mac/sound.h" + #include "wx/osx/sound.h" #elif defined(__WXPM__) #include "wx/os2/sound.h" #elif defined(__UNIX__)