X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dea7e44a76e4e886f2bc60b0e82322a71b1f1f4f..b9bae707bbf7ca87f0efdbf3c5a656a4d1f134e3:/contrib/src/mmedia/sndwin.cpp diff --git a/contrib/src/mmedia/sndwin.cpp b/contrib/src/mmedia/sndwin.cpp index b058747e4a..1085231a41 100644 --- a/contrib/src/mmedia/sndwin.cpp +++ b/contrib/src/mmedia/sndwin.cpp @@ -4,10 +4,8 @@ // Date: 08/11/1999 // Author: Guilhem Lavaux (C) 1999, 2000 // CVSID: $Id$ +// wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndwin.cpp" -#endif #include "wx/wxprec.h" @@ -50,7 +48,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 +379,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)