]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed a compile warning
authorRobin Dunn <robin@alldunn.com>
Wed, 18 Feb 2004 02:23:01 +0000 (02:23 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 18 Feb 2004 02:23:01 +0000 (02:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_sound.i
wxPython/src/mac/misc_wrap.cpp

index c91c6a91eb6a2d2e0832fc1d21fc79d3abf7f630..f00622cb770a16437b8f901d995fd6ec33f633c0 100644 (file)
@@ -96,6 +96,7 @@ public:
             PyErr_SetString(PyExc_NotImplementedError,
                             "Create from data  is not available on this platform.");
             wxPyEndBlockThreads();
+            return False;
         }
     }
 #endif
index bf5a8c27be4d913d9ecb6edc55319c1dd7f408fe..2df44bb2a9a66e3a028b55e8447b71bb8572649f 100644 (file)
@@ -717,6 +717,7 @@ bool wxSound_Create__SWIG_1(wxSound *self,int size,wxByte const *data){
             PyErr_SetString(PyExc_NotImplementedError,
                             "Create from data  is not available on this platform.");
             wxPyEndBlockThreads();
+            return False;
         }
 void Sound_Stop(){}