X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526ddb13e289be62ee1926c265138c0dea36fa56..6a94433573bab16bcfe85985333323523e4b8517:/utils/wxMMedia2/lib/cdwin.cpp diff --git a/utils/wxMMedia2/lib/cdwin.cpp b/utils/wxMMedia2/lib/cdwin.cpp index 12439116a8..8ac8c3a243 100644 --- a/utils/wxMMedia2/lib/cdwin.cpp +++ b/utils/wxMMedia2/lib/cdwin.cpp @@ -14,11 +14,7 @@ #include #include #include -#ifdef WX_PRECOMP #include "wx/wxprec.h" -#else -#include "wx/wx.h" -#endif #define WXMMEDIA_INTERNAL #include "cdbase.h" #include "cdwin.h" @@ -69,7 +65,6 @@ wxCDAudioWin::~wxCDAudioWin(void) void wxCDAudioWin::PrepareToc(void) { MCI_STATUS_PARMS status_struct; - MCI_SET_PARMS set_struct; wxUint16 i, nb_m_trksize; wxCDtime total_time, *trk; DWORD ret, tmem; @@ -201,7 +196,7 @@ wxCDtime wxCDAudioWin::GetTime(void) return cd_time; } -wxCDAudio::CDtoc& wxCDAudioWin::GetToc(void) +const wxCDAudio::CDtoc& wxCDAudioWin::GetToc(void) { return *m_toc; }