]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sound.h
Define WXBUILDING in Xcode projects.
[wxWidgets.git] / include / wx / sound.h
index 380baf2f1d7055427f87dbb955ff0400e639e12f..d60d7f3d69c1001eb6383f1b07bfaa99e5dfa647 100644 (file)
@@ -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,7 +55,7 @@ protected:
 // wxSound class implementation
 // ----------------------------------------------------------------------------
 
-#if defined(__WXMSW__)
+#if defined(__WINDOWS__)
     #include "wx/msw/sound.h"
 #elif defined(__WXCOCOA__)
     #include "wx/cocoa/sound.h"