]> git.saurik.com Git - wxWidgets.git/commitdiff
Add @onlyfor tag for wxSound::IsPlaying() documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Feb 2012 21:56:22 +0000 (21:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Feb 2012 21:56:22 +0000 (21:56 +0000)
This is not totally precise as the method is available in all Unix-based ports
but currently there doesn't seem to be any way to specify this so just mention
its availability in wxGTK which is what counts.

Closes #14002.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/sound.h

index 5f2c78300b90a22180a5ab3794a00ba8ca2da621..36502095e2000ce94ab8ccd7bb1b5a3156277a20 100644 (file)
@@ -72,7 +72,12 @@ public:
 
     /**
         Returns @true if a sound is played at the moment.
-        This method is currently not implemented under Windows.
+
+        This method is currently not available under Windows and may not be
+        always implemented in Unix ports depending on the compilation options
+        used (in this case it just always returns @false).
+
+        @onlyfor{wxgtk,wxosx}
     */
     static bool IsPlaying();