X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8e4a2a4d4ef3347d296ad2ddf576fc3677f4cea..8da2ab99009877d864c19b1ad90a9c0d02c61e2e:/wxPython/src/_sound.i diff --git a/wxPython/src/_sound.i b/wxPython/src/_sound.i index c91c6a91eb..8e938e3824 100644 --- a/wxPython/src/_sound.i +++ b/wxPython/src/_sound.i @@ -96,6 +96,7 @@ public: PyErr_SetString(PyExc_NotImplementedError, "Create from data is not available on this platform."); wxPyEndBlockThreads(); + return False; } } #endif @@ -112,7 +113,8 @@ public: static void Stop(); #else %extend { - static void Stop() {} + static void Stop() + { wxPyRaiseNotImplemented(); } } #endif