X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dea7e44a76e4e886f2bc60b0e82322a71b1f1f4f..08dd04d0829cd2c4defe5233f061221d534dee0d:/contrib/src/mmedia/sndwin.cpp diff --git a/contrib/src/mmedia/sndwin.cpp b/contrib/src/mmedia/sndwin.cpp index b058747e4a..6943339688 100644 --- a/contrib/src/mmedia/sndwin.cpp +++ b/contrib/src/mmedia/sndwin.cpp @@ -4,6 +4,7 @@ // Date: 08/11/1999 // Author: Guilhem Lavaux (C) 1999, 2000 // CVSID: $Id$ +// wxWindows licence // -------------------------------------------------------------------------- #ifdef __GNUG__ #pragma implementation "sndwin.cpp" @@ -50,7 +51,7 @@ wxList *wxSoundHandleList = NULL; static inline wxSoundStreamWin *wxFindSoundFromHandle(WXHWND hWnd) { - wxNode *node = wxSoundHandleList->Find((long)hWnd); + wxObjectList::compatibility_iterator node = wxSoundHandleList->Find((long)hWnd); if (!node) return NULL; return (wxSoundStreamWin *)node->GetData(); @@ -381,7 +382,7 @@ wxSoundInfoHeader *wxSoundStreamWin::AllocHeader(int mode) // AllocHeaders() allocates WXSOUND_MAX_QUEUE (= 128) blocks for an operation // queue. It uses AllocHeader() for each element. // -// Once it has allocated all blocks, it returns true and if an error occured +// Once it has allocated all blocks, it returns true and if an error occurred // it returns false. // ------------------------------------------------------------------------- bool wxSoundStreamWin::AllocHeaders(int mode)