From: Julian Smart Date: Mon, 6 Mar 2000 17:34:25 +0000 (+0000) Subject: Corrections X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/59917a749bd36124c3f1c941bed51be322d3f264?ds=inline Corrections git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/include/wx/mmedia/sndwin.h b/contrib/include/wx/mmedia/sndwin.h index fed5126066..e630ee4543 100644 --- a/contrib/include/wx/mmedia/sndwin.h +++ b/contrib/include/wx/mmedia/sndwin.h @@ -14,7 +14,7 @@ typedef struct _wxSoundInternal wxSoundInternal; typedef struct _wxSoundInfoHeader wxSoundInfoHeader; -class wxSoundInternal; +// class WXDLLEXPORT wxSoundInternal; class WXDLLEXPORT wxSoundStreamWin : public wxSoundStream { public: wxSoundStreamWin(); diff --git a/contrib/src/mmedia/sndmsad.cpp b/contrib/src/mmedia/sndmsad.cpp index 8e9c73ff81..2ef21554ee 100644 --- a/contrib/src/mmedia/sndmsad.cpp +++ b/contrib/src/mmedia/sndmsad.cpp @@ -10,10 +10,10 @@ #endif #include -#include "sndbase.h" -#include "sndfile.h" -#include "sndpcm.h" -#include "sndmsad.h" +#include "wx/mmedia/sndbase.h" +#include "wx/mmedia/sndfile.h" +#include "wx/mmedia/sndpcm.h" +#include "wx/mmedia/sndmsad.h" // -------------------------------------------------------------------------- // wxSoundFormatMSAdpcm diff --git a/contrib/src/mmedia/sndwin.cpp b/contrib/src/mmedia/sndwin.cpp index c2776d9438..185f1bfb5e 100644 --- a/contrib/src/mmedia/sndwin.cpp +++ b/contrib/src/mmedia/sndwin.cpp @@ -16,11 +16,12 @@ #ifndef WX_PRECOMP #include "wx/defs.h" #include "wx/app.h" - #include "wx/module.h" - #include "wx/msw/private.h" #include "wx/string.h" #endif +#include "wx/module.h" +#include "wx/msw/private.h" + // ------------------------------------------------------------------------- // MMedia headers // ------------------------------------------------------------------------- @@ -117,7 +118,13 @@ wxSoundStreamWin::~wxSoundStreamWin() // ----------------------------------------------------------------------- // _wxSoundHandlerWndProc: Window callback to handle buffer completion // ----------------------------------------------------------------------- -LRESULT APIENTRY _EXPORT _wxSoundHandlerWndProc(HWND hWnd, UINT message, +/* +LRESULT APIENTRY _EXPORT +*/ + +LRESULT WXDLLEXPORT APIENTRY _EXPORT + + _wxSoundHandlerWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { wxSoundStreamWin *sndwin; @@ -307,7 +314,7 @@ wxSoundInfoHeader *wxSoundStreamWin::AllocHeader(int mode) info->m_h_header = GlobalAlloc(GMEM_MOVEABLE | GMEM_SHARE, sizeof(WAVEHDR)); if (!info->m_h_data || !info->m_h_header) { delete info; - m_snderror = wxSOUND_MEMERR; + m_snderror = wxSOUND_MEMERROR; return NULL; }