diff --git a/wxPython/src/gtk/_misc_wrap.cpp b/wxPython/src/gtk/_misc_wrap.cpp index f6f5cd0ef3..9585884e6c 100644 --- a/wxPython/src/gtk/_misc_wrap.cpp +++ b/wxPython/src/gtk/_misc_wrap.cpp @@ -3284,7 +3284,15 @@ public: #if !wxUSE_SOUND -// A C++ stub class for wxWave for platforms that don't have it. +// A C++ stub class for wxSound for platforms that don't have it. + +enum wxSoundFlags +{ + wxSOUND_SYNC, + wxSOUND_ASYNC, + wxSOUND_LOOP +}; + class wxSound : public wxObject { public: diff --git a/wxPython/src/mac/_misc_wrap.cpp b/wxPython/src/mac/_misc_wrap.cpp index 7c87ef54e2..f2a6d56731 100644 --- a/wxPython/src/mac/_misc_wrap.cpp +++ b/wxPython/src/mac/_misc_wrap.cpp @@ -3278,7 +3278,15 @@ public: #if !wxUSE_SOUND -// A C++ stub class for wxWave for platforms that don't have it. +// A C++ stub class for wxSound for platforms that don't have it. + +enum wxSoundFlags +{ + wxSOUND_SYNC, + wxSOUND_ASYNC, + wxSOUND_LOOP +}; + class wxSound : public wxObject { public: diff --git a/wxPython/src/msw/_misc_wrap.cpp b/wxPython/src/msw/_misc_wrap.cpp index 7198689d17..cb595509ba 100644 --- a/wxPython/src/msw/_misc_wrap.cpp +++ b/wxPython/src/msw/_misc_wrap.cpp @@ -3278,7 +3278,15 @@ public: #if !wxUSE_SOUND -// A C++ stub class for wxWave for platforms that don't have it. +// A C++ stub class for wxSound for platforms that don't have it. + +enum wxSoundFlags +{ + wxSOUND_SYNC, + wxSOUND_ASYNC, + wxSOUND_LOOP +}; + class wxSound : public wxObject { public: