X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c208c5759da71a637f0f0f5b7d3dc3eda09c02..156194e1d525407e90c21552f8f7aa05756e0ddc:/include/wx/msw/wave.h diff --git a/include/wx/msw/wave.h b/include/wx/msw/wave.h index d95560bc6f..af07fc412c 100644 --- a/include/wx/msw/wave.h +++ b/include/wx/msw/wave.h @@ -12,13 +12,15 @@ #ifndef _WX_WAVE_H_ #define _WX_WAVE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "wave.h" #endif +#if wxUSE_WAVE + #include "wx/object.h" -class WXDLLEXPORT wxWave : public wxObject +class WXDLLIMPEXP_ADV wxWave : public wxObject { public: wxWave(); @@ -42,7 +44,9 @@ private: wxByte* m_waveData; int m_waveLength; bool m_isResource; -}; + DECLARE_NO_COPY_CLASS(wxWave) +}; +#endif #endif